Skip to main content

Project Logo

biodumpy: A Comprehensive Biological Data Downloader

PyPI - Version PyPI - Status PyPI - License PyPI - Downloads

Overview

biodumpy is a powerful and versatile Python package designed to simplify the process of retrieving biological information from several public databases. With biodumpy, researchers can easily download and manage data from multiple sources, ensuring access to the most up to date and comprehensive biological information available.

Note: This package is currently under development.

Key Features

biodumpy offers dedicated modules for each supported database, with each module featuring functions specifically designed for retrieving information from its respective source. The modules implemented so far are:

  • AVONET (AVONET)
  • Barcode of life data system (BOLD)
  • Catalogue of life (COL)
  • Crossref
  • Global biodiversity information facility (GBIF)
  • iNaturalist
  • International union for the conservation of nature (IUCN)
  • National center for biotechnology information (NCBI)
  • Ocean biodiversity information system (OBIS)
  • World register of marine species (WoRMS)
  • ZooBank

This list can be expanded, thus suggestions and feedback are greatly appreciated.

Main functionalities and workflow

Before using biodumpy, users need to install the package in their Python environment with the following command:

pip install biodumpy

Usage

To simplify the use of biodumpy, we create a general structure common among the modules:

  1. Load the package. Import biodumpy into your Python environment.
  2. Load the desired modules. Import one or more specific modules needed to retrieve the data.
  3. Set up the configuration of one or more modules. Configure the biodumpy function/s with the required parameters.
  4. Start the download. Execute the function to begin retrieving the data.

Here, we provide two examples illustrating the general structure of a biodumpy script:

In detail, we described:

  • Single Module Example: This example demonstrates how to use a single biodumpy module (for example, GBIF).
  • Multiple Modules Example: This example shows how to use multiple biodumpy modules (for example, GBIF and IUCN).

Example N.1

# Import biodumpy package
from biodumpy import Biodumpy

# Import GBIF module
from biodumpy.inputs import GBIF

# Create a list of taxa
taxa = ["Alytes muletensis (Sanchíz & Adrover, 1979)", "Bufotes viridis (Laurenti, 1768)", "Hyla meridionalis Boettger, 1874", "Anax imperator Leach, 1815"]

# Set the Biodumpy function with the specific parameters
bdp = Biodumpy([GBIF(sleep=3, bulk=False, accepted_only=True)])

# Start the download
bdp.start(taxa, output_path="./downloads/{date}/{module}/{name}")

Example N.2

# Import biodumpy package
from biodumpy import Biodumpy

# Import GBIF and IUCN modules
from biodumpy.inputs import GBIF, IUCN

api_key = "YOUR_IUCN_API_KEY"

# Create a list of taxa
taxa = ["Alytes muletensis", "Bufotes viridis", "Hyla meridionalis", "Anax imperator"]

# Set the Biodumpy functions with the specific parameters
bdp = Biodumpy([GBIF(bulk=False, accepted_only=True), IUCN(api_key=api_key, bulk=True, region=["Global"])])

# Start the download
bdp.start(taxa, output_path="./downloads/{date}/{module}/{name}")

Documentation and Support

For detailed documentation and tutorials, please visit the biodumpy Read the Docs documentation.

Contribution

biodumpy is an open-source project, and contributions are welcome! If you have ideas for new features, bug fixes, or improvements, please submit an issue or pull request in our GitHub repository or contact with the support team ✉️ here.

License

biodumpy is licensed under the MIT License for its software components. Additionally, any creative works associated with this project—such as documentation, visual assets, or other non-code materials—are licensed under the Creative Commons Attribution (CC BY 4.0) license. See the LICENSE file for full details.

Acknowledgments

The project is developed by the "Centre Balear de Biodiversitat" (CBB) at the University of the Balearic Islands, with support from MCIN and funding from the European Union—NextGenerationEU (PRTR-C17.I1), as well as the Government of the Balearic Islands.


logo_cbb

Metadata

Release files for biodumpy 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for biodumpy 0.2.0
File Size Uploaded Provenance Actions
biodumpy-0.2.0.tar.gz 38.5 kB Without provenance Details for biodumpy-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for biodumpy 0.2.0
File Interpreter ABI Platform Actions
biodumpy-0.2.0-py3-none-any.whl Python 3 none any Details for biodumpy-0.2.0-py3-none-any.whl

Total release size: 85.3 kB

Release files / biodumpy-0.2.0.tar.gz

Download URL biodumpy-0.2.0.tar.gz
Size 38.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8b75eb581e7cb900a4f1deabb0de6be98ad71ad2def286ee5e21396672590cde
BLAKE2b-256 checksum
How to use checksums
029fa45c45fccdd520bdc19c0aee173bbd0f8385c1d59e1f97a4854c7baa7d2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / biodumpy-0.2.0-py3-none-any.whl

Download URL biodumpy-0.2.0-py3-none-any.whl
Size 46.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c25b63133d39040a0372da1535903de0273957364276db4796ddc4292f66904a
BLAKE2b-256 checksum
How to use checksums
7c2c5b76ae02f7e93ca267bdb1e54c8b75a87dfc6acf359d064f390cd26117bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for biodumpy 0.2.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page