Skip to content
Public template

About

An example of typical python package

Topics

Resources

Stars

142 stars

Watchers

14 watching

Forks

Repository files navigation

python-package

Github Actions Status

Links

This project was built using these tools:

Tool Description
mise "The front-end to your dev env"
uv "An extremely fast Python package and project manager, written in Rust"
Pytest "A mature full-featured Python testing tool"
ruff "An extremely fast Python linter and code formatter, written in Rust"
ty "An extremely fast Python type checker and language server, written in Rust"

Requirements

mise installs Python, uv, ruff and ty from mise.toml:

mise install

Setup

make install

make install also installs the git hooks: hk runs the checks before a commit and the tests before a push.

Examples

uv run hexlet-python-package 5

2.5

Run tests

make test

Lint

make lint      # ruff check, ruff format --check, ty check
make lint-fix  # ruff check --fix, ruff format

Hexlet Ltd. logo

This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet.

About

An example of typical python package

Topics

Resources

Stars

142 stars

Watchers

14 watching

Forks

Releases

Packages

Used by

Contributors

Languages