{"id":16496925,"url":"https://github.com/bencevans/camtrap-dp-rs","last_synced_at":"2025-08-16T18:09:07.512Z","repository":{"id":208602451,"uuid":"721591262","full_name":"bencevans/camtrap-dp-rs","owner":"bencevans","description":"CamTrap Data Package (DP) v1.0 Rust Interface","archived":false,"fork":false,"pushed_at":"2023-11-22T11:13:18.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-14T00:59:51.974Z","etag":null,"topics":["camera-traps","camtrap-dp","ecology"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bencevans.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-21T11:29:12.000Z","updated_at":"2024-03-26T14:28:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"6761fa1a-418b-4e21-aaae-5087cff32f4a","html_url":"https://github.com/bencevans/camtrap-dp-rs","commit_stats":null,"previous_names":["bencevans/camtrap-dp-rs"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bencevans/camtrap-dp-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencevans%2Fcamtrap-dp-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencevans%2Fcamtrap-dp-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencevans%2Fcamtrap-dp-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencevans%2Fcamtrap-dp-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bencevans","download_url":"https://codeload.github.com/bencevans/camtrap-dp-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencevans%2Fcamtrap-dp-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270749298,"owners_count":24638699,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["camera-traps","camtrap-dp","ecology"],"created_at":"2024-10-11T14:37:10.488Z","updated_at":"2025-08-16T18:09:07.490Z","avatar_url":"https://github.com/bencevans.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# camtrap_dp\n\n[![Documentation](https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat-square)](https://docs.rs/camtrap_dp/latest/camtrap_dp/)\n[![Crate](https://img.shields.io/crates/v/camtrap_dp.svg?style=flat-square)](https://crates.io/crates/camtrap_dp)\n[![License](https://img.shields.io/crates/l/camtrap_dp.svg?style=flat-square)](https://crates.io/crates/camtrap_dp)\n\n## Description\n\n`camtrap_dp` is a Rust crate designed for handling Camera Trap Data Packages as specified by the [Camera Trap Data Package](https://camtrap-dp.tdwg.org/data/) standard. It provides a standardized format for describing camera trap deployments and the media files recorded, based on [Data Package](https://frictionlessdata.io/specs/data-package/) and [Tabular Data Package](https://frictionlessdata.io/specs/tabular-data-package/) specifications.\n\nThis library streamlines both reading and writing camera trap data, including deployments, media files, and observations derived from these files.\n\n## Features\n\n- Structures for representing camera trap deployments, media files, and observations.\n- CSV serialization and deserialization capabilities.\n- Comprehensive handling of various camera trap data attributes.\n\n## Installation\n\nAdd `camtrap_dp` as a dependency in your `Cargo.toml`:\n\n```toml\n[dependencies]\ncamtrap_dp = \"0.1.0\"  # Replace with the latest version\n```\n\n## Usage\n\n### Reading Data\n\nReading deployment and media data example:\n\n```rust\nuse camtrap_dp::{Deployment, Medium, Observation};\n\n// Reading deployment data from a CSV file\nlet deployments = Deployment::from_file(\"path/to/deployments.csv\").unwrap();\n\n// Reading media data from a URL\nlet media_data = Medium::from_url(\"http://example.com/media.csv\").unwrap();\n\n// Reading observations from a file\nlet observations = Observation::from_file(\"path/to/observations.csv\").unwrap();\n```\n\n### Writing Data\n\nWriting deployment data to a CSV file example:\n\n```rust\n// Assuming deployments is a Vec\u003cDeployment\u003e populated with data\ndeployments.to_file(\"path/to/output/deployments.csv\").unwrap();\n```\n\n## Contributing\n\nContributions are welcome! Feel free to report issues, suggest features, or submit pull requests on our GitHub repository.\n\n## License\n\ncamtrap_dp is licensed under the MIT License - see the LICENSE file for more information.\n\n## Acknowledgments\n\nThanks to all contributors and the teams behind the Camera Trap Data Package standards.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencevans%2Fcamtrap-dp-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbencevans%2Fcamtrap-dp-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencevans%2Fcamtrap-dp-rs/lists"}