For programmatic upload of files to Cellencis
Project description
cellenics-api
About
This python package provides an easy way to create projects and upload samples into Cellenics.
Installation
To install the package execute the following line:
pip install cellenics_api
Usage
In order to use the package you first need to create an account in Cellenics (https://scp.biomage.net/) if you don't have one yet.
Then the package is used in the following way:
import cellenics_api
# 1. Authenticate user and create a connection tunnel with the api
connection = cellenics_api.Connection('email', 'password')
# 2. Create an experiment
experiment_id = connection.create_experiment()
# 3. Upload samples associated with the experiment
connection.upload_samples(experiment_id, 'local/path/to/samples')
Once the upload is complete you can navigate to Cellenics and process your project there.
Troubleshooting
Max retries exceeded with url: / (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))
- Navigate to your project in Cellenics and manually delete the failed sample
- Run step #3 again
This will be fixed when error handling is introduced
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cellenics_api-0.0.4.tar.gz.
File metadata
- Download URL: cellenics_api-0.0.4.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3fe18f89dcefd00eba260790b80be651d895584e2edc537e9de491f9d4a9b0c
|
|
| MD5 |
80cb90115ba7051594dbd5b85d8efa2c
|
|
| BLAKE2b-256 |
04400eec445636e0cf0469d7f51baacce238c320ac1e848ebd8752dfcff76f68
|
File details
Details for the file cellenics_api-0.0.4-py3-none-any.whl.
File metadata
- Download URL: cellenics_api-0.0.4-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8aa62970cea61d51e36bb234d2c3b170b8790f785fbb572061e9c047892b0eca
|
|
| MD5 |
f092a635608c8a75b57643d43216c226
|
|
| BLAKE2b-256 |
e4717d2b7164d882add045698361d7598c998fd3498547d7bd7eb4ba540b8e35
|