Skip to main content

A CLI tool that scaffolds Python ML/data science projects for AI in climate and environmental sciences research.

Project description

aiclimate

A CLI tool that scaffolds Python ML/data science projects for AI in climate and environmental sciences research.

Built by AI for Climate and Environmental Sciences.

Quick Start

# Install with uv
uv tool install aiclimate

# Scaffold a new project (interactive)
aiclimate

# Or use with an external cookiecutter template
aiclimate gh:user/template

What You Get

When you run aiclimate, you'll be prompted for project details and then a complete project is scaffolded:

my-climate-ai-project/
├── pyproject.toml          # uv-compatible, with ML + climate deps
├── justfile                # Task runner recipes
├── .python-version
├── .gitignore
├── README.md
├── .github/workflows/ci.yml
├── configs/
│   └── default.yaml        # Experiment configuration
├── data/
│   ├── raw/                # Original, immutable data
│   ├── processed/          # Cleaned and transformed data
│   └── external/           # Third-party data sources
├── experiments/            # Experiment outputs and logs
├── models/                 # Trained model checkpoints
├── notebooks/
│   └── 01_exploration.ipynb
├── src/<package_name>/
│   ├── __init__.py
│   ├── config.py           # Configuration loading
│   ├── train.py            # Training entrypoint
│   ├── evaluate.py         # Evaluation entrypoint
│   └── predict.py          # Inference entrypoint
└── tests/
    └── test_placeholder.py

Template Variables

Variable Description Default
project_name Human-readable project name My Climate AI Project
project_slug Directory name (auto-generated) my-climate-ai-project
package_name Python package name (auto-generated) my_climate_ai_project
project_description Short project description ...
author_name Your name Your Name
author_email Your email ...
python_version Python version 3.12
ml_framework ML framework (pytorch/tensorflow/jax/none) pytorch
include_dvc Include DVC for data versioning no
license License type MIT

Default Dependencies

Projects come pre-configured with common climate/environmental AI packages:

  • Data: numpy, pandas, xarray, netCDF4, scipy
  • ML: scikit-learn + your choice of pytorch/tensorflow/jax
  • Visualization: matplotlib, seaborn
  • Utilities: pyyaml, tqdm, loguru
  • Dev tools: pytest, ruff, jupyter

Backward Compatibility

aiclimate is built on the cookiecutter engine and can use any existing cookiecutter template:

aiclimate gh:audreyfeldroy/cookiecutter-pypackage

Development

# Clone and install
git clone https://github.com/aiclimate/aiclimate.git
cd aiclimate
uv sync

# Run tests
just test-all

# Lint
just lint-check

License

BSD-3-Clause

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

aiclimate-0.1.0.tar.gz (234.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiclimate-0.1.0-py3-none-any.whl (47.9 kB view details)

Uploaded Python 3

File details

Details for the file aiclimate-0.1.0.tar.gz.

File metadata

  • Download URL: aiclimate-0.1.0.tar.gz
  • Upload date:
  • Size: 234.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.10

File hashes

Hashes for aiclimate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 17825b430183f18acc96633f1028156f00e999293f0f990b721aebcfc80e2cd2
MD5 d285d5fe38e64d2b9b9ad19afc028e98
BLAKE2b-256 130d30d0f736586d27b9b92aeef71a6ac2cca13cdcd707b51970b58609dbbac9

See more details on using hashes here.

File details

Details for the file aiclimate-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aiclimate-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 47.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.10

File hashes

Hashes for aiclimate-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79a5b83bf5bc048951cef35196960651ff9bfb21d16298a91516cc3efd897ed5
MD5 4d5764983d31f22d2f391f7f1c083e67
BLAKE2b-256 b0612983e9dc0fe24cb56defb5c045fdb893810d62bd59b9e145bfc000dc7757

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page