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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a679ce14ce5615867c652e1052113c26b5078e81018907fcfcc686a797ad2f2 |
|
MD5 | 0008c2283a465c456261fd854472e02a |
|
BLAKE2b-256 | ddfdf11197d83482d5b6c853304a65659a6ec18f9f495e3d7b7f2794e565d400 |
Hashes for biomage_programmatic_interface-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3215e010c21aea1ce1dabe4fd79ae4f73e18f40dd4ea3ac1853b0275026d715 |
|
MD5 | 7bdd63cd937444a9c9233a1a74242bd1 |
|
BLAKE2b-256 | e9637eaad9f6408fcd697cedc7aff5caa3dfb2de1ece0e03281d2ee6186f04f2 |