Cosmo Data Update Quest Documentation¶
Welcome to the Cosmo Data Update Quest (CosmoDUQ) documentation. This tool provides a framework for migrating between different versions of Cosmo-Tech APIs.
Overview¶
CosmoDUQ is designed to help users and developers manage API version transitions in the Cosmo Tech ecosystem. It provides tools and utilities to ensure smooth data migration between different API versions.
Getting Started¶
Installation¶
- Ensure you have Python 3.11 or higher installed
- Create a virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
- Install the package:
pip install -e .[all]
Development Environment¶
Code Quality Tools¶
- Black Configuration
- The project uses Black for code formatting
- Configuration in
pyproject.toml
:[tool.black] line-length = 120 target-version = ["py311"]
-
Files are automatically formatted on commit
-
Pre-commit Hooks
- Install hooks:
pre-commit install
- Configured hooks:
- trailing-whitespace
- end-of-file-fixer
- check-added-large-files
- black
- Run manually:
pre-commit run --all-files
Documentation¶
This documentation is built using MkDocs with the Material theme and several extensions: - Material theme with light/dark mode - Code syntax highlighting - Table of contents generation - Admonitions and content tabs - Automatic versioning with mike
To build documentation locally:
pip install -e .[doc]
mkdocs serve
Project Structure¶
/cosmotech/data_update_quest/
: Core migration framework/docs/migrations/
: Version-specific migration guides/docs/notes/
: Technical notes and analysis/tests/
: Test suite (coming soon)
Next Steps¶
- Explore the Migration Guides for version-specific information
- Review the Technical Notes for implementation details
- Check the GitHub repository for the latest updates