Skip to main content

Python library to read, parse and write Darwin Core Archive files

Project description

Python DWCA

pypi pypi-python-version pypi-download wheel

issues coverage licence

PyDwCA (pronounced /pajˈðjuka/ or "pie thew ka") is a Python library to read, parse and write Darwin Core Archive files.

Install

Package available at pypi:

pip install pydwca

This command will install the library and the dependencies listed in the requirements. This will give you a basic usage.

If you want all the available features, install the optional dependencies:

pip install pydwca[full]
pip install pydwca[ui]
pip install pydwca[data]

full has all features, ui allows you to see the steps of the long process and data includes the libraries for data analysis.

Citation

You can cite this library by citing the abstract of the oral presentation in which was presented:

@article{10.3897/biss.8.137799,
	author = {Sáez-Hidalgo, Juan M. and Segovia, Ricardo A. and Squeo, Francisco A. and Guerrero, Pablo C.},
	title = {PyDwCA: A Tool for Integrating Biodiversity Data},
	volume = {8},
	number = {},
	year = {2024},
	doi = {10.3897/biss.8.137799},
	publisher = {Pensoft Publishers},
	issn = {},
	pages = {e137799},
	URL = {https://doi.org/10.3897/biss.8.137799},
	eprint = {https://doi.org/10.3897/biss.8.137799},
	journal = {Biodiversity Information Science and Standards}
}

Usage

To read a DwC Archive file in .zip format, use the class DarwinCoreArchive:

from dwca import DarwinCoreArchive

darwin_core = DarwinCoreArchive.from_archive("DwCArchive.zip")

A more extended example is in the library documentation at https://pydwca.readthedocs.io/en/latest/usage.html.

A more detailed example can be found on the pydwca-example repository. Those use cases correspond mainly to the data process pipeline presented at the 2024 SPNCH/TDWG conference.

Documentation

Documentation is available at readthedocs.io.

Discussion

You can leave a message about the usage of this library, its implementation, or any other in the issue section.

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

pydwca-0.2.1.tar.gz (126.5 kB view details)

Uploaded Source

Built Distribution

pydwca-0.2.1-py3-none-any.whl (128.4 kB view details)

Uploaded Python 3

File details

Details for the file pydwca-0.2.1.tar.gz.

File metadata

  • Download URL: pydwca-0.2.1.tar.gz
  • Upload date:
  • Size: 126.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pydwca-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e182eaa2c3c719c6ddba27a077cb13f5fcbc0a1862d0c04e9d6d7836aa350f47
MD5 269467db214671227b92a3d7665d8b38
BLAKE2b-256 955390b8c80321687c23446a201474b01e7faa98eb047f2bf30321fa0bc95afc

See more details on using hashes here.

File details

Details for the file pydwca-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: pydwca-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 128.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pydwca-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 55a380cc785731ded3ac53061bf6dc6ca8556ef620c18956764f663acba5fb97
MD5 d06550860fc07d8a0ffd103f3922a0b7
BLAKE2b-256 d7e89be5ae1ac2ef3250aae1df89533f2a445629223f2de3bca6e63b8c8ee787

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page