diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 12:06:28 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 12:06:28 +0000 |
| commit | f03bedeeecf3f8095c9b4c52631234e45c895a1e (patch) | |
| tree | d0777dec086dbf14383ae6424fb231dfb4d65658 /python-picsellia.spec | |
| parent | 0ea96a010b04ddabd8e2a636988d4ff06a5af550 (diff) | |
automatic import of python-picselliaopeneuler20.03
Diffstat (limited to 'python-picsellia.spec')
| -rw-r--r-- | python-picsellia.spec | 205 |
1 files changed, 205 insertions, 0 deletions
diff --git a/python-picsellia.spec b/python-picsellia.spec new file mode 100644 index 0000000..0abc68d --- /dev/null +++ b/python-picsellia.spec @@ -0,0 +1,205 @@ +%global _empty_manifest_terminate_build 0 +Name: python-picsellia +Version: 6.6.0 +Release: 1 +Summary: Python SDK package for Picsellia MLOps platform +License: MIT +URL: https://www.picsellia.com/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5d/12/12ca715d2b0cd990635d493c889bf273652afaf4d2970dd622c6c58135d2/picsellia-6.6.0.tar.gz +BuildArch: noarch + +Requires: python3-requests +Requires: python3-pydantic +Requires: python3-tdqm +Requires: python3-picsellia-annotations +Requires: python3-orjson +Requires: python3-Pillow +Requires: python3-beartype +Requires: python3-picsellia-connexion-services +Requires: python3-deprecation +Requires: python3-pyyaml + +%description +# Picsellia SDK + +Picsellia Python SDK is a python library that allows connecting to Picsellia platform. + +## Documentation + +Reference of the SDK can be found at [reference](https://documentation.picsellia.com/reference/client) + +## Getting started +Documentation can be found at [docs](https://documentation.picsellia.com/docs/getting-started). +Start by installing the Picsellia python package in your environment. +``` +pip install picsellia +``` + +Then, initialize a client +```python +from picsellia import Client +client = Client(api_token=<your api token>) +``` + +Now, use it to upload data and create a dataset ! +```python +lake = client.get_datalake() +uploaded_data = lake.upload_data(filepaths=["pics/twingo.png", "pics/ferrari.png"], tags=["tag_car"]) + +dataset = client.create_dataset("cars").create_version("first") +dataset.add_data(uploaded_data) +``` + +## What is Picsellia ? + +Our mission is to give you all the necessary tools to relieve the burden of AI projects off of your shoulders. As a data scientist / ML engineer / Researcher, you shouldn't have to worry about the following topics : + +- [💾 Data Management](https://documentation.picsellia.com/docs/data-management) +- [📈 Experiment Tracking](https://documentation.picsellia.com/docs/experiment-tracking) +- [📘 Model Management](https://documentation.picsellia.com/docs/export-an-experiment) +- [🚀 Model Deployment](https://documentation.picsellia.com/docs/serverless) +- [👀 Model Monitoring](https://documentation.picsellia.com/docs/monitor-model) + +Picsellia is the one-stop place for all the life-cycle of your Computer Vision projects, from ideation to production in a single platform 🚀. + + +%package -n python3-picsellia +Summary: Python SDK package for Picsellia MLOps platform +Provides: python-picsellia +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-picsellia +# Picsellia SDK + +Picsellia Python SDK is a python library that allows connecting to Picsellia platform. + +## Documentation + +Reference of the SDK can be found at [reference](https://documentation.picsellia.com/reference/client) + +## Getting started +Documentation can be found at [docs](https://documentation.picsellia.com/docs/getting-started). +Start by installing the Picsellia python package in your environment. +``` +pip install picsellia +``` + +Then, initialize a client +```python +from picsellia import Client +client = Client(api_token=<your api token>) +``` + +Now, use it to upload data and create a dataset ! +```python +lake = client.get_datalake() +uploaded_data = lake.upload_data(filepaths=["pics/twingo.png", "pics/ferrari.png"], tags=["tag_car"]) + +dataset = client.create_dataset("cars").create_version("first") +dataset.add_data(uploaded_data) +``` + +## What is Picsellia ? + +Our mission is to give you all the necessary tools to relieve the burden of AI projects off of your shoulders. As a data scientist / ML engineer / Researcher, you shouldn't have to worry about the following topics : + +- [💾 Data Management](https://documentation.picsellia.com/docs/data-management) +- [📈 Experiment Tracking](https://documentation.picsellia.com/docs/experiment-tracking) +- [📘 Model Management](https://documentation.picsellia.com/docs/export-an-experiment) +- [🚀 Model Deployment](https://documentation.picsellia.com/docs/serverless) +- [👀 Model Monitoring](https://documentation.picsellia.com/docs/monitor-model) + +Picsellia is the one-stop place for all the life-cycle of your Computer Vision projects, from ideation to production in a single platform 🚀. + + +%package help +Summary: Development documents and examples for picsellia +Provides: python3-picsellia-doc +%description help +# Picsellia SDK + +Picsellia Python SDK is a python library that allows connecting to Picsellia platform. + +## Documentation + +Reference of the SDK can be found at [reference](https://documentation.picsellia.com/reference/client) + +## Getting started +Documentation can be found at [docs](https://documentation.picsellia.com/docs/getting-started). +Start by installing the Picsellia python package in your environment. +``` +pip install picsellia +``` + +Then, initialize a client +```python +from picsellia import Client +client = Client(api_token=<your api token>) +``` + +Now, use it to upload data and create a dataset ! +```python +lake = client.get_datalake() +uploaded_data = lake.upload_data(filepaths=["pics/twingo.png", "pics/ferrari.png"], tags=["tag_car"]) + +dataset = client.create_dataset("cars").create_version("first") +dataset.add_data(uploaded_data) +``` + +## What is Picsellia ? + +Our mission is to give you all the necessary tools to relieve the burden of AI projects off of your shoulders. As a data scientist / ML engineer / Researcher, you shouldn't have to worry about the following topics : + +- [💾 Data Management](https://documentation.picsellia.com/docs/data-management) +- [📈 Experiment Tracking](https://documentation.picsellia.com/docs/experiment-tracking) +- [📘 Model Management](https://documentation.picsellia.com/docs/export-an-experiment) +- [🚀 Model Deployment](https://documentation.picsellia.com/docs/serverless) +- [👀 Model Monitoring](https://documentation.picsellia.com/docs/monitor-model) + +Picsellia is the one-stop place for all the life-cycle of your Computer Vision projects, from ideation to production in a single platform 🚀. + + +%prep +%autosetup -n picsellia-6.6.0 + +%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-picsellia -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 6.6.0-1 +- Package Spec generated |
