
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
biomage-programmatic-interface
Advanced tools
\n# biomage-programmatic-interface
This python package provides an easy way to create projects and upload samples into Biomage.
To install the package execute the following line:
pip install biomage-programmatic-interface
In order to use the package you first need to create an account in Biomage (https://scp.biomage.net/) if you don't have one yet.
Then the package is used in the following way:
import biomage_programmatic_interface as bpi
# 1. Authenticate user and create a connection tunnel with the api
# Default instance-url: https://api.scp.biomage.net/
connection = bpi.Connection('email', 'password', 'instance_url')
# 2. Create an experiment
experiment = connection.create_experiment('experiment name')
# 3. Upload samples associated with the experiment
experiment.upload_samples('local/path/to/samples')
Once the upload is complete you can navigate to Biomage and process your project there.
Connection
classThe object accepts 3 parameters:
email
- Biomage emailpassword
- Biomage passwordinstance_url
- Biomage instance urlhttps://
scp.biomage.net
If you cloned the repository and want to try using your local version, do the following:
cd programmatic_interface
make install
import biomage_programmatic_interface as bpi
NOTE: There is NO need to run make install
every time you make changes to the package. When the local changes have been saved the changes will be automatically reflected.
When creating the connection
object set the instance_url
to local
. Now the programmatic interface will use your local api (https://localhost:3000)
import biomage_programmatic_interface as bpi
conn = bpi.Connection(<YOUR EMAIL>, <YOUR PASSWORD>, 'local')
...
Set the full path of the instance url (e.g. https://api-{ENVIRONMENT NAME}.scp-staging.biomage.net/
)
import biomage_programmatic_interface as bpi
conn = bpi.Connection(<YOUR EMAIL>, <YOUR PASSWORD>, 'https://api-{ENVIRONMENT NAME}.scp-staging.biomage.net/')
...
NOTE: the url is that of the api (i.e. api-
) and not that of the ui
FAQs
For programmatic upload of files to Cellencis
We found that biomage-programmatic-interface demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.