Skip to main content

A Modern Python Package Template

Project description

MPPT: A Modern Python Package Template

Python PyPI PyPI Downloads GitHub License

Ruff ty pre-commit Build Docs Test Codecov

About

MPPT: A Modern Python Package Template.

Get Started

  1. Use this template repository to create your own project repository by clicking the "Use this template" button on GitHub or visiting MPPT.

  2. Replace all instances of MPPT, shenxiangzhuang, and other template-specific details with your own information:

    • Project name, author, and GitHub username in all files
    • GitHub repository links in README.md badges and documentation
    • Package name in pyproject.toml and code files
    • Update LICENSE file with your name and year
  3. Set up your development environment:

    # Clone your repository
    git clone https://github.com/your-username/your-project.git
    cd your-project
    
    # Set up environment using uv
    uv venv
    source .venv/bin/activate  # On Windows: .venv\Scripts\activate
    
    # Install development dependencies with uv
    uv sync --all-extras --dev
    
    # Initialize pre-commit hooks
    uv run pre-commit install
    
  4. Start developing your package by modifying the code structure as needed.

  5. Run tests to ensure everything is working correctly:

    uv run pytest
    
  6. Preview documentation locally:

    uv run mkdocs serve
    

    Then visit http://127.0.0.1:8000 in your browser.

For more details on customization options, refer to the documentation.

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

mppt-0.8.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

mppt-0.8.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file mppt-0.8.0.tar.gz.

File metadata

  • Download URL: mppt-0.8.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mppt-0.8.0.tar.gz
Algorithm Hash digest
SHA256 9fe26644de465892cfacf69e749ca6bbf1267c3a95423059fe882039f96a0e52
MD5 d658134780e01bb575866ebf6362fc8c
BLAKE2b-256 2dfd49fe065976981dc01e587c22ca27f7afed0cd10cc25997bd36cb69a22ad2

See more details on using hashes here.

File details

Details for the file mppt-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: mppt-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mppt-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16ed471444a8501f7995d95a0fbfafd9c91adca0caa09580fb3cd89960a3b99d
MD5 dcd740385a494df4da319f6e3a91c013
BLAKE2b-256 84e5c7f133a1399017d3b49a114f92848b5c965579ce4bf2495b439911ada0e7

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