diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 04:48:50 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 04:48:50 +0000 |
commit | aa3bfdaa0b4bd1c1d7c0e1312f12d4b3a1803abf (patch) | |
tree | 3d35b1e5fe23d9c0e3746e6ceaccc5b9e858aae2 | |
parent | fe5a2188ed93e1b56eb48780245f6730d0dc8232 (diff) |
automatic import of python-dvc-ccopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-dvc-cc.spec | 304 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 306 insertions, 0 deletions
@@ -0,0 +1 @@ +/dvc-cc-0.10.30.tar.gz diff --git a/python-dvc-cc.spec b/python-dvc-cc.spec new file mode 100644 index 0000000..fedd52d --- /dev/null +++ b/python-dvc-cc.spec @@ -0,0 +1,304 @@ +%global _empty_manifest_terminate_build 0 +Name: python-dvc-cc +Version: 0.10.30 +Release: 1 +Summary: This connector is used to combine the work of CC (www.curious-containers.cc) and DVC (Open-source Version Control System for Machine Learning Projects). +License: AGPL-3.0 +URL: https://github.com/mastaer/dvc-cc.git +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/02/b8/aaab78e0633411315cdf74a208a1d39557a54a351fd9e71946ffaf240a1d/dvc-cc-0.10.30.tar.gz +BuildArch: noarch + +Requires: python3-keyring +Requires: python3-dvc +Requires: python3-paramiko +Requires: python3-numpy +Requires: python3-cc-faice +Requires: python3-gitlab +Requires: python3-pyyaml +Requires: python3-nbconvert +Requires: python3-pandas +Requires: python3-matplotlib +Requires: python3-seaborn +Requires: python3-pyrsistent +Requires: python3-pexpect + +%description + + +DVC-CC is a wrapper for using the tool [**D**ata **V**ersion **C**ontrol (DVC)](www.dvc.org) to make it possible to +use DVC to run your script in a cloud. To make this idea possible, we wrote a script that is part of a docker image +that can: + +1. download a git repository, +2. download all required files with your DVC storage server, +3. execute your script, and +4. push the results to GIT and to your DVC storage server. + +To assign the right hardware for your need in the cloud, we use +[**C**urious **C**ontainers (CC)](https://www.curious-containers.cc/). This Software runs on our cloud and manages the + cloud. + + + +## Installation of DVC-CC + +DVC-CC is written in python so you can easily install DVC-CC by using pip. +We recommend that you install DVC-CC in a conda environment. +You can use [anaconda](https://www.anaconda.com/distribution/) or miniconda. +<del>For windows user We recommend +[this website](https://www.earthdatascience.org/workshops/setup-earth-analytics-python/setup-git-bash-conda/) +to install miniconda.</del> Currently DVC-CC does not work under Windows! + +You can create, and activate an environment with the following lines: + +```bash +conda create --name dvc_cc python pip +conda activate dvc_cc +``` + +If `conda activate dvc_cc` does not work, try `source activate dvc_cc`. + +### Installation with pip +The following script will install the client on your computer: + +```bash +pip install --upgrade dvc-cc +``` + +If you have problems on windows with "win32file", you need to install pywin32 with `conda install -c anaconda pywin32`. + +### Installation from source + +If you want to install the latest version from source you can install it with [poetry](https://poetry.eustace.io/). + +```bash +git clone https://github.com/deep-projects/dvc-cc.git +cd dvc-cc/dvc-cc +poetry build +pip install dvc_cc-?????.whl # replace ????? with the current version that you build in the previous step. +``` + +## Get started +Install DVC-CC and take a look at [this tutorial](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/Get_Started.md). + +### Tutorials +- [Working with jupyter notebooks](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/_working_with_jupyter_notebook.md) +- [working with sshfs](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/_working_with_sshfs.md) +- [DVC-CC Settings](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/_settings.md) +- [Working with pure DVC syntax](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/_only_dvc.md) +- [Using live output](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/_live_output.md) +- <del>[An old tutorial](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/SimpleStart.md)</del> + +## Structure of this repository + + +## Acknowledgements +The DVC-CC software is developed at CBMI (HTW Berlin - University of Applied Sciences). The work is supported by the +German Federal Ministry of Education and Research (project deep.TEACHING, grant number 01IS17056 and project +deep.HEALTH, grant number 13FH770IX6). + + +%package -n python3-dvc-cc +Summary: This connector is used to combine the work of CC (www.curious-containers.cc) and DVC (Open-source Version Control System for Machine Learning Projects). +Provides: python-dvc-cc +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-dvc-cc + + +DVC-CC is a wrapper for using the tool [**D**ata **V**ersion **C**ontrol (DVC)](www.dvc.org) to make it possible to +use DVC to run your script in a cloud. To make this idea possible, we wrote a script that is part of a docker image +that can: + +1. download a git repository, +2. download all required files with your DVC storage server, +3. execute your script, and +4. push the results to GIT and to your DVC storage server. + +To assign the right hardware for your need in the cloud, we use +[**C**urious **C**ontainers (CC)](https://www.curious-containers.cc/). This Software runs on our cloud and manages the + cloud. + + + +## Installation of DVC-CC + +DVC-CC is written in python so you can easily install DVC-CC by using pip. +We recommend that you install DVC-CC in a conda environment. +You can use [anaconda](https://www.anaconda.com/distribution/) or miniconda. +<del>For windows user We recommend +[this website](https://www.earthdatascience.org/workshops/setup-earth-analytics-python/setup-git-bash-conda/) +to install miniconda.</del> Currently DVC-CC does not work under Windows! + +You can create, and activate an environment with the following lines: + +```bash +conda create --name dvc_cc python pip +conda activate dvc_cc +``` + +If `conda activate dvc_cc` does not work, try `source activate dvc_cc`. + +### Installation with pip +The following script will install the client on your computer: + +```bash +pip install --upgrade dvc-cc +``` + +If you have problems on windows with "win32file", you need to install pywin32 with `conda install -c anaconda pywin32`. + +### Installation from source + +If you want to install the latest version from source you can install it with [poetry](https://poetry.eustace.io/). + +```bash +git clone https://github.com/deep-projects/dvc-cc.git +cd dvc-cc/dvc-cc +poetry build +pip install dvc_cc-?????.whl # replace ????? with the current version that you build in the previous step. +``` + +## Get started +Install DVC-CC and take a look at [this tutorial](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/Get_Started.md). + +### Tutorials +- [Working with jupyter notebooks](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/_working_with_jupyter_notebook.md) +- [working with sshfs](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/_working_with_sshfs.md) +- [DVC-CC Settings](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/_settings.md) +- [Working with pure DVC syntax](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/_only_dvc.md) +- [Using live output](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/_live_output.md) +- <del>[An old tutorial](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/SimpleStart.md)</del> + +## Structure of this repository + + +## Acknowledgements +The DVC-CC software is developed at CBMI (HTW Berlin - University of Applied Sciences). The work is supported by the +German Federal Ministry of Education and Research (project deep.TEACHING, grant number 01IS17056 and project +deep.HEALTH, grant number 13FH770IX6). + + +%package help +Summary: Development documents and examples for dvc-cc +Provides: python3-dvc-cc-doc +%description help + + +DVC-CC is a wrapper for using the tool [**D**ata **V**ersion **C**ontrol (DVC)](www.dvc.org) to make it possible to +use DVC to run your script in a cloud. To make this idea possible, we wrote a script that is part of a docker image +that can: + +1. download a git repository, +2. download all required files with your DVC storage server, +3. execute your script, and +4. push the results to GIT and to your DVC storage server. + +To assign the right hardware for your need in the cloud, we use +[**C**urious **C**ontainers (CC)](https://www.curious-containers.cc/). This Software runs on our cloud and manages the + cloud. + + + +## Installation of DVC-CC + +DVC-CC is written in python so you can easily install DVC-CC by using pip. +We recommend that you install DVC-CC in a conda environment. +You can use [anaconda](https://www.anaconda.com/distribution/) or miniconda. +<del>For windows user We recommend +[this website](https://www.earthdatascience.org/workshops/setup-earth-analytics-python/setup-git-bash-conda/) +to install miniconda.</del> Currently DVC-CC does not work under Windows! + +You can create, and activate an environment with the following lines: + +```bash +conda create --name dvc_cc python pip +conda activate dvc_cc +``` + +If `conda activate dvc_cc` does not work, try `source activate dvc_cc`. + +### Installation with pip +The following script will install the client on your computer: + +```bash +pip install --upgrade dvc-cc +``` + +If you have problems on windows with "win32file", you need to install pywin32 with `conda install -c anaconda pywin32`. + +### Installation from source + +If you want to install the latest version from source you can install it with [poetry](https://poetry.eustace.io/). + +```bash +git clone https://github.com/deep-projects/dvc-cc.git +cd dvc-cc/dvc-cc +poetry build +pip install dvc_cc-?????.whl # replace ????? with the current version that you build in the previous step. +``` + +## Get started +Install DVC-CC and take a look at [this tutorial](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/Get_Started.md). + +### Tutorials +- [Working with jupyter notebooks](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/_working_with_jupyter_notebook.md) +- [working with sshfs](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/_working_with_sshfs.md) +- [DVC-CC Settings](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/_settings.md) +- [Working with pure DVC syntax](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/_only_dvc.md) +- [Using live output](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/_live_output.md) +- <del>[An old tutorial](https://github.com/deep-projects/dvc-cc/blob/master/dvc-cc/tutorial/SimpleStart.md)</del> + +## Structure of this repository + + +## Acknowledgements +The DVC-CC software is developed at CBMI (HTW Berlin - University of Applied Sciences). The work is supported by the +German Federal Ministry of Education and Research (project deep.TEACHING, grant number 01IS17056 and project +deep.HEALTH, grant number 13FH770IX6). + + +%prep +%autosetup -n dvc-cc-0.10.30 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-dvc-cc -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.10.30-1 +- Package Spec generated @@ -0,0 +1 @@ +573dc65a5844c7581ba99586c5a18697 dvc-cc-0.10.30.tar.gz |