A Comprehensive Biological Data Downloader.
Project description
biodumpy: A Comprehensive Biological Data Downloader
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:
- Load the package. Import
biodumpyinto your Python environment. - Load the desired modules. Import one or more specific modules needed to retrieve the data.
- Set up the configuration of one or more modules. Configure the
biodumpyfunction/s with the required parameters. - 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
biodumpymodule (for example, GBIF). - Multiple Modules Example: This example shows how to use multiple
biodumpymodules (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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file biodumpy-0.1.5.tar.gz.
File metadata
- Download URL: biodumpy-0.1.5.tar.gz
- Upload date:
- Size: 36.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
588b8a59d3c8f4cb495bec893930d82d4aed7877bb21436c55afc214b360036c
|
|
| MD5 |
f9424291d28da9f5fec2960a2a318e64
|
|
| BLAKE2b-256 |
a18e53f6a418a2f07c5fc0dbe3e0b2bac0f946cbef083c974276ac407a479280
|
File details
Details for the file biodumpy-0.1.5-py3-none-any.whl.
File metadata
- Download URL: biodumpy-0.1.5-py3-none-any.whl
- Upload date:
- Size: 49.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c83f3032c4260f982c021d53150a8dab84587a867e77bb8c146ebd93d2d7d44
|
|
| MD5 |
64f1493133dbfe49cd31313c033c4698
|
|
| BLAKE2b-256 |
b89f8d859a4e086cc769defa281bca12e35dc87e7d25a4e848137c2880e0b52f
|