Skip to main content

Python package to simplify development. Includes functionality for task running, testing, linting, documenting, and more

Project description

calcipy

./calcipy.svg

calcipy is a Python package that implements best practices such as code style (linting, auto-fixes), documentation, CI/CD, and logging. Like the calcium carbonate in hard coral, packages can be built on the calcipy foundation.

calcipy has some configurability, but is still very opinionated for my particular use cases. There are a number of alternatives to consider:

Installation

Create a new project with kyleking/calcipy_template

# See above link for latest documentation, but this snippet should work
pipx install copier
copier copy gh:KyleKing/calcipy_template new_project
cd new_project
# Static files can then be kept in sync with "copier update"!

!!! tip Note: If needed, the latest version of calcipy can be installed from git by modifying the pyproject.toml:

```toml
[tool.poetry.dependencies.calcipy]
git = "https://github.com/kyleking/calcipy.git"
branch = "dev/development"
rev = "56802cf"  # Always pin to a commit
develop = true  # Optional: will reinstall each time

[tool.poetry.dev-dependencies.calcipy]
git = "https://github.com/kyleking/calcipy.git"
branch = "dev/development"
extras = [ "dev", "lint", "test",]
```

Usage

  1. Run poetry install
  2. Check that poetry run doit works
  3. Run poetry run doit list to see available tasks

If you have any questions, please start a Discussion on Github

For more examples, see other projects that use calcipy:

Upgrades

Review the ./docs/CHANGELOG.md before updating. Calcipy uses semantic versioning so once ^1.0.0, breaking changes will only occur during major releases; however, while an alpha-release (0.#.#), the project may have breaking changes on minor increments until stable.

# Update dependencies
poetry update

# Update files
copier update

Roadmap

See the Open Issues and Milestones for current status and ./docs/CODE_TAG_SUMMARY.md for annotations in the source code.

For release history, see the ./docs/CHANGELOG.md

Contributing

See the Developer Guide, Contribution Guidelines, etc

License

LICENSE

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

calcipy-0.2.0.tar.gz (35.2 kB view hashes)

Uploaded Source

Built Distribution

calcipy-0.2.0-py3-none-any.whl (40.4 kB view hashes)

Uploaded Python 3

Supported by

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