Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
.. image:: https://img.shields.io/pypi/v/biocode_fims.svg :target: https://pypi.python.org/pypi/biocode_fims
.. image:: https://img.shields.io/travis/MikeTrizna/biocode_fims.svg :target: https://travis-ci.org/MikeTrizna/biocode_fims
.. image:: https://readthedocs.org/projects/biocode-fims/badge/?version=latest :target: https://biocode-fims.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
.. image:: https://pyup.io/repos/github/MikeTrizna/biocode_fims/shield.svg :target: https://pyup.io/repos/github/MikeTrizna/biocode_fims/ :alt: Updates
A Python client for accessing data from the Biocode FIMS <http://www.biscicol.org/>
_ database.
.. code-block:: python
pip install biocode_fims
Returning a list of all public Projects in the Biocode FIMS.
.. code-block:: python
>>> 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).
.. code-block:: python
>>> 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".
.. code-block:: python
>>> 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.
This package was created with Cookiecutter_ and the audreyr/cookiecutter-pypackage
_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _audreyr/cookiecutter-pypackage
: https://github.com/audreyr/cookiecutter-pypackage
FAQs
A Python client for accessing data from the Biocode FIMS database.
We found that biocode_fims demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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 initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.