Skip to main content

OHBA Software Library

Project description

OHBA Software Library (OSL)

Install from Source Code

The recommended installation depends on your operating system. OSL can be installed from source using:

git clone https://github.com/OHBA-analysis/osl.git
cd osl
conda env create -f envs/<os>.yml
conda activate osl
pip install -e .

where the environment file <os>.yml can be:

  • linux.yml for a generic linux machine.
  • m1_mac.yml if you are using a modern Mac computer.
  • hbaws.yml if you are using an OHBA workstation at Oxford.
  • bmrc.yml if you are using the BMRC at Oxford.

Note, all of the above environments come with Jupyter Notebook installed. The hbaws.yml and m1_mac.yml environments also comes with Spyder installed.

Deleting osl

If you installed osl using the instructions above then to completely remove it simply delete the conda environment and delete the repo on your local machine:

conda env remove -n osl
rm -rf osl

For Developers

Run tests:

cd osl
pytest tests

or to run a specific test:

cd osl/tests
pytest test_file_handling.py

Build documentation:

python setup.py build_sphinx

Compiled docs can be found in doc/build/html/index.html.

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

osl-0.5.0.tar.gz (10.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

osl-0.5.0-py2.py3-none-any.whl (10.2 MB view details)

Uploaded Python 2Python 3

File details

Details for the file osl-0.5.0.tar.gz.

File metadata

  • Download URL: osl-0.5.0.tar.gz
  • Upload date:
  • Size: 10.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.0

File hashes

Hashes for osl-0.5.0.tar.gz
Algorithm Hash digest
SHA256 3b977a72ed3311e3827bc7fc716ee29223d15a6126a3b3e3f7c27c4f56767969
MD5 78c7856ca1dba4eea719ed46622aa362
BLAKE2b-256 5a25f23b9c6e2aa56ad3e4854b854e35f428103ef5c6d9cb7aad6ad9dc4aca69

See more details on using hashes here.

File details

Details for the file osl-0.5.0-py2.py3-none-any.whl.

File metadata

  • Download URL: osl-0.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.2 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.0

File hashes

Hashes for osl-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 de6bdc2a1d01107481c3dd6b82fbbe4cbaecb4a14c8fa84b71ccc99f2102c279
MD5 a7c614efbe35d1681f9479fe6cf98fd5
BLAKE2b-256 920608a5ffd3c6011fe7b73058c7811902bebc86c0d228995f234e027622f4c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page