<img src="https://raw.githubusercontent.com/centrebalearbiodiversitat/biodumpy/refs/heads/master/docs/source/static/Biodumpy_logo.png" alt="Project Logo" width="200">
# biodumpy: A Comprehensive Biological Data Downloader
![PyPI - Version](https://img.shields.io/pypi/v/biodumpy)
![PyPI - Status](https://img.shields.io/pypi/status/biodumpy)
![PyPI - License](https://img.shields.io/pypi/l/biodumpy)
![PyPI - Downloads](https://img.shields.io/pypi/dm/biodumpy)
## 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:
- BOLD
- COL
- GBIF
- iNaturalist
- IUCN
- NCBI
- OBIS
- 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**
``` python
# 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(bulk=False, accepted_only=True)])
# Start the download
bdp.start(taxa, output_path='YOUR_OUTPUT_PATH/downloads/{date}/{module}/{name}')
```
**Example N.2**
``` python
# 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 at [t.cancellario@uib.eu](mailto:t.cancellario@uib.eu).
## License
``biodumpy`` is licensed under the GNU GENERAL PUBLIC LICENSE. See the LICENSE file for more details.
## Acknowledgments
The project was supported by MCIN with funding from the European Union—NextGenerationEU (PRTR-C17.I1) and
the Government of the Balearic Islands.
<hr>
<div style="display: flex; justify-content: center">
<img src='https://raw.githubusercontent.com/centrebalearbiodiversitat/biodumpy/refs/heads/master/docs/source/static/logo_cbb.png' alt='logo_cbb' width='200'>
</div>
Raw data
{
"_id": null,
"home_page": "https://github.com/centrebalearbiodiversitat/biodumpy",
"name": "biodumpy",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "biodiversity, data, ecology, science, genetics, download, wrapper, bibliography",
"author": "Cancellario, T.; Golomb, T.; Rold\u00e1n, A; Far, T.",
"author_email": "t.cancellario@uib.eu",
"download_url": "https://files.pythonhosted.org/packages/fb/9a/5dd50af30d3bd29d7590bc3b1ca4c213c93371a2a80834a6344a31559e7b/biodumpy-0.1.3.tar.gz",
"platform": null,
"description": "<img src=\"https://raw.githubusercontent.com/centrebalearbiodiversitat/biodumpy/refs/heads/master/docs/source/static/Biodumpy_logo.png\" alt=\"Project Logo\" width=\"200\">\n\n# biodumpy: A Comprehensive Biological Data Downloader\n\n![PyPI - Version](https://img.shields.io/pypi/v/biodumpy)\n![PyPI - Status](https://img.shields.io/pypi/status/biodumpy)\n![PyPI - License](https://img.shields.io/pypi/l/biodumpy)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/biodumpy)\n\n\n\n## Overview\n``biodumpy`` is a powerful and versatile Python package designed to simplify the process of retrieving biological information \nfrom several public databases. \nWith ``biodumpy``, researchers can easily download and manage data from multiple sources, ensuring access to the most \nup to date and comprehensive biological information available.\n\n> **Note:** This package is currently under development.\n\n\n## Key Features\n``biodumpy`` offers dedicated modules for each supported database, with each module featuring functions specifically \ndesigned for retrieving information from its respective source. The modules implemented so far are:\n\n- BOLD\n- COL\n- GBIF\n- iNaturalist\n- IUCN\n- NCBI\n- OBIS\n- ZooBank\n\nThis list can be expanded, thus suggestions and feedback are greatly appreciated.\n\n\n## Main functionalities and workflow\nBefore using ``biodumpy``, users need to install the package in their Python environment with the following command:\n\n```\npip install biodumpy\n```\n\n### Usage\nTo simplify the use of ``biodumpy``, we create a general structure common among the modules:\n\n1) **Load the package.** Import ``biodumpy`` into your Python environment.\n2) **Load the desired modules.** Import one or more specific modules needed to retrieve the data.\n3) **Set up the configuration of one or more modules.** Configure the ``biodumpy`` function/s with the required parameters.\n4) **Start the download.** Execute the function to begin retrieving the data.\n\nHere, we provide two examples illustrating the general structure of a ``biodumpy`` script:\n\nIn detail, we described:\n- **Single Module Example**: This example demonstrates how to use a single ``biodumpy`` module (for example, GBIF).\n- **Multiple Modules Example**: This example shows how to use multiple ``biodumpy`` modules (for example, GBIF and IUCN).\n\n**Example N.1**\n\n``` python\n\n # Import biodumpy package\n from biodumpy import Biodumpy\n\n # Import GBIF module\n from biodumpy.inputs import GBIF\n\n # Create a list of taxa\n taxa = [\n 'Alytes muletensis (Sanch\u00edz & Adrover, 1979)', \n 'Bufotes viridis (Laurenti, 1768)',\n 'Hyla meridionalis Boettger, 1874', \n 'Anax imperator Leach, 1815'\n ]\n\n # Set the Biodumpy function with the specific parameters\n bdp = Biodumpy([GBIF(bulk=False, accepted_only=True)])\n\n # Start the download\n bdp.start(taxa, output_path='YOUR_OUTPUT_PATH/downloads/{date}/{module}/{name}')\n```\n\n**Example N.2**\n\n``` python\n\n # Import biodumpy package\n from biodumpy import Biodumpy\n\n # Import GBIF and IUCN modules\n from biodumpy.inputs import GBIF, IUCN\n\n api_key = 'YOUR_IUCN_API_KEY'\n\n # Create a list of taxa\n taxa = [\n 'Alytes muletensis', \n 'Bufotes viridis', \n 'Hyla meridionalis', \n 'Anax imperator'\n ]\n\n # Set the Biodumpy functions with the specific parameters\n bdp = Biodumpy([GBIF(bulk=False, accepted_only=True),\n IUCN(api_key=api_key, bulk=True, region=['global'])])\n\n # Start the download\n bdp.start(taxa, output_path='./downloads/{date}/{module}/{name}')\n```\n\n## Documentation and Support\nFor detailed documentation and tutorials, please visit the ``biodumpy`` Read the Docs documentation.\n\n\n## Contribution\n``biodumpy`` is an open-source project, and contributions are welcome! \nIf you have ideas for new features, bug fixes, or improvements, please submit an issue or pull request in our GitHub \nrepository or contact with the support team at [t.cancellario@uib.eu](mailto:t.cancellario@uib.eu).\n\n\n## License\n``biodumpy`` is licensed under the GNU GENERAL PUBLIC LICENSE. See the LICENSE file for more details.\n\n\n## Acknowledgments\nThe project was supported by MCIN with funding from the European Union\u2014NextGenerationEU (PRTR-C17.I1) and \nthe Government of the Balearic Islands.\n\n\n\n<hr>\n<div style=\"display: flex; justify-content: center\">\n<img src='https://raw.githubusercontent.com/centrebalearbiodiversitat/biodumpy/refs/heads/master/docs/source/static/logo_cbb.png' alt='logo_cbb' width='200'>\n</div>\n\n\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "A Comprehensive Biological Data Downloader from authoritative public databases like NCBI, Catalogue Of Life (COL), GBIF, BOLD, and more for any taxa.",
"version": "0.1.3",
"project_urls": {
"Documentation": "https://biodumpy.readthedocs.io/",
"Homepage": "https://github.com/centrebalearbiodiversitat/biodumpy",
"Issue Tracker": "https://github.com/centrebalearbiodiversitat/cbbdb/issues"
},
"split_keywords": [
"biodiversity",
" data",
" ecology",
" science",
" genetics",
" download",
" wrapper",
" bibliography"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f36aab6c21c807d2f823dfa6a7b90f7d5617f9fcb983e7efd49414eeb281a466",
"md5": "639f8fa427a6ddccec30ac898df2ec4a",
"sha256": "2732a5acae348fbe091465607aa36690cb6a4439c414221a62900deacfcf696a"
},
"downloads": -1,
"filename": "biodumpy-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "639f8fa427a6ddccec30ac898df2ec4a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 24440,
"upload_time": "2024-09-20T15:09:59",
"upload_time_iso_8601": "2024-09-20T15:09:59.178122Z",
"url": "https://files.pythonhosted.org/packages/f3/6a/ab6c21c807d2f823dfa6a7b90f7d5617f9fcb983e7efd49414eeb281a466/biodumpy-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fb9a5dd50af30d3bd29d7590bc3b1ca4c213c93371a2a80834a6344a31559e7b",
"md5": "8b26d7e07cd980397a5083cd7089c0c6",
"sha256": "11d5eb6301100f341187c1a179ef8176b77fba774501cbb256ceab39a6e3ef9b"
},
"downloads": -1,
"filename": "biodumpy-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "8b26d7e07cd980397a5083cd7089c0c6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 19896,
"upload_time": "2024-09-20T15:10:00",
"upload_time_iso_8601": "2024-09-20T15:10:00.724865Z",
"url": "https://files.pythonhosted.org/packages/fb/9a/5dd50af30d3bd29d7590bc3b1ca4c213c93371a2a80834a6344a31559e7b/biodumpy-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-20 15:10:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "centrebalearbiodiversitat",
"github_project": "biodumpy",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "biodumpy"
}