Biocode FIMS
A Python client for accessing data from the Biocode FIMS database.
Free software: MIT license
Documentation: https://biocode-fims.readthedocs.io.
Installation
pip install biocode_fims
Basic Usage
Returning a list of all public Projects in the Biocode FIMS.
>>> import biocode_fims
>>> all_projects = biocode_fims.list_projects()
>>> print(all_projects)
{
"Barcode of Wildlife Nigeria": 10,
"Amphibian Disease": 26,
"SI Barcoding CBOL": 12,
"Hawaii Dimensions": 3,
"University and Jepson Herbaria": 22,
"Barcode of Wildlife Nepal": 23,
"Barcode of Wildlife Kenya": 8,
"New York Botanical Garden": 28,
"Barcode of Wildlife Proficiency Testing": 24,
"Barcode of Wildlife Mexico": 9,
"Barcode of Wildlife South Africa": 11,
"Barcode of Wildlife Training": 5
}
Return the first 4 datasets in the “SI Barcoding CBOL” project (project id: 12).
>>> import biocode_fims
>>> all_sibn_datasets = biocode_fims.list_datasets(12)
>>> print(all_sibn_datasets[:4])
['Brazil_Ants_A', 'Brazil_Ants_B', 'Brazil_Ants_C', 'Brazil_Ants_D']
Grab the contents of the dataset “DJBirds_P01”.
>>> import biocode_fims
>>> contents = biocode_fims.dataset_contents(12,['DJBirds_P01'])
>>> print(len(contents))
83
To do something useful with the dataset contents, it’s best of load them into a Pandas DataFrame.
TODO
Get testing implemented correctly
Expand to API endpoints behind OAuth
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.2.0 (2017-06-29)
Changed dataset_contents function to filter out empty fields by default
Got documentation running on RTD, and continuous integration running on TravisCI
0.1.0 (2017-06-21)
Initial release on PyPI.
Metadata
Release files for biocode_fims 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| biocode_fims-0.2.4.tar.gz | 14.6 kB | Without provenance | Details for biocode_fims-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| biocode_fims-0.2.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for biocode_fims-0.2.4-py2.py3-none-any.whl |
Total release size: 21.0 kB
Release files / biocode_fims-0.2.4.tar.gz
| Download URL | biocode_fims-0.2.4.tar.gz |
|---|---|
| Size | 14.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90422bb412c3b764ec54ce640a0579243d86dc7a0d157bc3e0a7f6b25d63f76e
|
|
BLAKE2b-256 checksum How to use checksums |
d9f8c4036c86b5e4f3c0931e12c94f81baec5553734733d16b14b53833379d31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / biocode_fims-0.2.4-py2.py3-none-any.whl
| Download URL | biocode_fims-0.2.4-py2.py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e01cb39055b22fde42891506a5eb8036390b2ec4c5e7447ecbec3ff21452f411
|
|
BLAKE2b-256 checksum How to use checksums |
8b17e140f45973a81dd61904c9f6293c6d9abac3039a8dd9d5ba4557ba089db4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for biocode_fims 0.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.