APPN Phenomate Project Manager
Project description
APPN Phenomate Project Manager
A Python package for managing project templates, metadata, and file organization using flexible YAML schemas. Designed for research and data projects that require consistent file naming, metadata, and directory structures.
Install
pip install appm
Features
- Template-driven project structure: Define project layouts, file naming conventions, and metadata in YAML.
- Automatic project initialization: Create new projects with standardized folders and metadata files.
- File placement and matching: Automatically determine where files belong based on their names and template rules.
- Extensible and validated: Uses Pydantic for schema validation and ruamel.yaml for YAML parsing. Installation Or for development:
Usage
- Define a Template
Create a YAML template describing your project's structure, naming conventions, and file formats. See examples/template.yaml for the default template.
- Initialize a Project
from appm import ProjectManager
pm = ProjectManager.from_template(
root="projects",
year=2024,
summary="Wheat yield trial",
internal=True,
researcherName="Jane Doe",
organisationName="Plant Research Org",
template="examples/template.yaml"
)
pm.init_project()
- Add Files
Files are automatically placed in the correct directory based on the template.
pm.copy_file("data/20240601-120000_SiteA_SensorX_Trial1_T0-raw.csv")
Project Structure
- appm – Core package (template parsing, project management, utilities)
- examples – Example YAML templates
- schema – JSON schema for template validation
- tests – Unit tests and fixtures
Development
- Python 3.11+
- Pydantic
- ruamel.yaml
- pytest for testing
Run tests:
pytest
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 appm-0.0.8.tar.gz.
File metadata
- Download URL: appm-0.0.8.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83ecec6c4d3b555ec512964cdec847d838c686cf6a0576b5dc2645ecac301e71
|
|
| MD5 |
ae41b40c50979f90c991555d85626e54
|
|
| BLAKE2b-256 |
7ce2fd8783f1f9d0fc7a279260d3aa0200193e3976e27e23af979d8a182073ae
|
File details
Details for the file appm-0.0.8-py3-none-any.whl.
File metadata
- Download URL: appm-0.0.8-py3-none-any.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6b0ef025e0c478850395d91fbc66be2aca6e3090928f48f5f59d2332605c58e
|
|
| MD5 |
16a7d9ccc51b520012f5fbf367ebe713
|
|
| BLAKE2b-256 |
d086690b59541154cb1300ea125a1ec5002d7a87f77131ea6a81c9a7f68d2c88
|