Python library for working with the Camtrap Data Package format.
Project description
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
Project details
Release history Release notifications | RSS feed
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 camtrapdp-0.1.0.tar.gz.
File metadata
- Download URL: camtrapdp-0.1.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73dc363c53f1b3a43db59294d4e8f66716fbb69bac732ec26ec42f335ea5d1e7
|
|
| MD5 |
3e822ec8c91ad8f609f3151cba75e993
|
|
| BLAKE2b-256 |
c760d7cc67a9390612aafbeaeb9750eea869f36069015db840df19a9882ba7ed
|
File details
Details for the file camtrapdp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: camtrapdp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d297cef2d1a6fef51fa486bd61775d81d063c359b8547f390d3e6a7c37b5dc4
|
|
| MD5 |
02683b1ba3ef5d92555bfae9b5d19eb6
|
|
| BLAKE2b-256 |
a2e72027637ac5f6b0923c43405ea4ae5083b4b840f84cf138265f2abe4fd904
|