Camtrap Data Package Python Library
The Camtrap Data Package Python Library is a Python library for working with the Camtrap Data Package version 1.0 format.
Installation
pip install camtrapdp
Usage
The camtrapdp package provides classes for working with the Camtrap Data Package format, reading and writing to CSV and Pandas DataFrames.
Read an Deployments CSV file
from camtrapdp import Deployment
# Read a deployments CSV file
deployments = Deployment.from_csv('deployments.csv')
# Print the first deployment
print(deployments[0])
Write a Deployments CSV file
from camtrapdp import Deployment
# Create a deployment
deployments = [
Deployment(...),
Deployment(...)
]
# Write a deployments CSV file
Deployment.to_csv(deployments, 'deployments.csv')
Related
- Camtrap Data Package - The Camtrap Data Package specification
- Camtrap Data Package Rust Library - A Rust library for working with the Camtrap Data Package format
Metadata
Release files for camtrapdp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| camtrapdp-0.1.0.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| camtrapdp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.1 kB
Release files / camtrapdp-0.1.0.tar.gz
| Download URL | camtrapdp-0.1.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73dc363c53f1b3a43db59294d4e8f66716fbb69bac732ec26ec42f335ea5d1e7
|
|
BLAKE2b-256 checksum How to use checksums |
c760d7cc67a9390612aafbeaeb9750eea869f36069015db840df19a9882ba7ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Release files / camtrapdp-0.1.0-py3-none-any.whl
| Download URL | camtrapdp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1d297cef2d1a6fef51fa486bd61775d81d063c359b8547f390d3e6a7c37b5dc4
|
|
BLAKE2b-256 checksum How to use checksums |
a2e72027637ac5f6b0923c43405ea4ae5083b4b840f84cf138265f2abe4fd904
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|