Skip to main content

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

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

camtrapdp-0.1.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

camtrapdp-0.1.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

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

Hashes for camtrapdp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 73dc363c53f1b3a43db59294d4e8f66716fbb69bac732ec26ec42f335ea5d1e7
MD5 3e822ec8c91ad8f609f3151cba75e993
BLAKE2b-256 c760d7cc67a9390612aafbeaeb9750eea869f36069015db840df19a9882ba7ed

See more details on using hashes here.

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

Hashes for camtrapdp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d297cef2d1a6fef51fa486bd61775d81d063c359b8547f390d3e6a7c37b5dc4
MD5 02683b1ba3ef5d92555bfae9b5d19eb6
BLAKE2b-256 a2e72027637ac5f6b0923c43405ea4ae5083b4b840f84cf138265f2abe4fd904

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