Convenience tools/functions for challenges and benchmarking on Synapse.org
Project description
📖 Documentation: https://sage-bionetworks-challenges.github.io/cnb-tools
👾 Source code: https://github.com/Sage-Bionetworks-Challenges/cnb-tools
cnb-tools is a set of tools and commands that provides an interface for managing crowd-sourced challenges hosted on Synapse.org, including but not limited to, DREAM Challenges.
Requirements
To fully utilize cnb-tools, you must have a Synapse account and
provide your credentials to the tool. To do so, create a .synapseConfig
file in your home directory, and enter the following:
[authentication]
authtoken = "YOUR PAT"
Generate a new Synapse Personal Access Token (PAT) with all token
permissions enabled, then copy-paste it into authtoken
. Save the file.
For security, we recommend updating its permissions so that other users on your machine do not have read access to your credentials, e.g.
chmod 600 ~/.synapseConfig
Installation
For best practice, use a Python environment to install cnb-tools rather than directly into your base env. In our docs, we will be using miniconda, but you can use miniforge, venv, pyenv, etc.
# Create a new env and activate it
conda create -n cnb-tools python=3.12 -y
conda activate cnb-tools
# Install cnb-tools using pip
pip install cnb-tools
ⓘ NOTE
cnb-tools builds off of the Synapse Python Client — by installing cnb-tools, you will also be installing synapseclient.
Verify the installation with:
cnb-tools
License
cnb-tools is released under the Apache 2.0 license.
Project details
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
File details
Details for the file cnb_tools-0.2.0.tar.gz
.
File metadata
- Download URL: cnb_tools-0.2.0.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da237778ceb90069ce659d56c45542d13cf57ef7e94694c5a572148ffa17853f |
|
MD5 | cb6f50944a183385204e79a9f0c3ae5d |
|
BLAKE2b-256 | ebe1c86c30a87f769a7a6a560df2de4f61beecdd6c0e725ec533db2bf1213588 |
File details
Details for the file cnb_tools-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: cnb_tools-0.2.0-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e5dd00919297a45079f9d2d1e5597cba8a8d1cbece36410bdf4ed4262075c20 |
|
MD5 | 0fac98cf92fa34591c49c7216f9a4e14 |
|
BLAKE2b-256 | 3f0aea6d73d184c68bbd6d046958a42583130e33fb32d154ee53df4a9e47af1a |