Skip to main content

A Comprehensive Biological Data Downloader.

Project description

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:

  • Barcode of life data system v4 (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

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

biodumpy-0.1.6.tar.gz (35.9 kB view details)

Uploaded Source

Built Distribution

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

biodumpy-0.1.6-py3-none-any.whl (49.2 kB view details)

Uploaded Python 3

File details

Details for the file biodumpy-0.1.6.tar.gz.

File metadata

  • Download URL: biodumpy-0.1.6.tar.gz
  • Upload date:
  • Size: 35.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for biodumpy-0.1.6.tar.gz
Algorithm Hash digest
SHA256 1d572a65ec9b6c9c4f14981cc96cb33ff854056103062587c3858d25f9dbd5d8
MD5 de0ee72accf1665580e84df991b2ca10
BLAKE2b-256 ddb73fff2dfee65e9534e449ab10b7059c669450581e09b57b60a067db327d33

See more details on using hashes here.

File details

Details for the file biodumpy-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: biodumpy-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 49.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for biodumpy-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 bd2e3bc62654c586ad9b36302d1d76e7550e8bfda20950ef08b4c625f052472e
MD5 545163a6db9c5b5e5a2c3ebcefea2018
BLAKE2b-256 042cce5d6a3f265013b62a2335cc0228987fd7f36e00b88384f770cc9e7e5137

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