Python API for NeuronBridge
Project description
neuronbridge-python
A Python API for the NeuronBridge neuron similarity search service.
See this notebook for usage examples.
Development Notes
Create a conda env with all the dependencies including Jupyter:
conda env create -f environment.yml
conda activate neuronbridge-python
Install for development
You can install the module for development like this:
conda create --name neuronbridge-python python=3.8
conda activate neuronbridge-python
python setup.py develop
Useful shell commands
To update conda_requirements.txt:
conda env export --from-history --file conda_requirements.txt
To update requirements.txt:
pipreqs --savepath=requirements.txt && pip-compile
Regenerate the JSON schemas:
python neuronbridge/generate_schemas.py
Run the unit tests:
pytest tests
Publishing a new release
-
Update the version in setup.py
-
Push all changes and tag a release in GitHub
-
Build PyPI distribution:
python setup.py sdist bdist_wheel
-
Upload to PyPI:
twine upload dist/*
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
Close
Hashes for neuronbridge-python-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e19ff1dce75120d64ec62bb2b0fff629bbe2086d30a40fc449c8159ea18a9bc4 |
|
MD5 | fc2d1ee2294f22041ac29f43f8ad647c |
|
BLAKE2b-256 | 59be5a9bb8872a2ea18706413494eea501937b734772f72f6b79e64e87b560b7 |
Close
Hashes for neuronbridge_python-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6741518882325887e2a74339e8aea084be4225d3e60ca465f5f36b71452f94dd |
|
MD5 | 3db6fa09830c32151f0a22b378ca3c77 |
|
BLAKE2b-256 | 0ef31d475398d07e9163e250185fd7e24de1d3e07b01b645316dc22e3609d853 |