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
Hashes for biomage_programmatic_interface-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2251cb6560f7dce50efd23689b32c38d7d4e534273b0765b883f49cd753336f0 |
|
MD5 | 60dfb5f64a5e85b10a443d0b1a98c108 |
|
BLAKE2b-256 | 156b90ae2411a38ea8c1bf6a9167218d7a1c1e249cca0ac7dd5bf035c528b551 |
Hashes for biomage_programmatic_interface-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30040e0ad9992f9cf48d2b6b1469a8c15ce8319a7a92834681ca6ad60bb742f3 |
|
MD5 | 097642c9e8d7b686165d02adcb81a2cd |
|
BLAKE2b-256 | 9083ac248b595b6cbab6be594b354ad498f15a19e0c11ffdacd0f13b3de9a10e |