Package hatch

A modern project, package, and virtual env manager

https://github.com/pypa/hatch

Hatch is a modern, extensible Python project manager.

Features:

  • Standardized build system with reproducible builds by default
  • Robust environment management with support for custom scripts
  • Easy publishing to PyPI or other sources
  • Version management
  • Configurable project generation with sane defaults
  • Responsive CLI, ~2-3x faster than equivalent tools

Version: 1.3.1

General Commands

hatch hatch – A modern project, package, and virtual env manager
hatch-build hatch build – Build a project
hatch-clean hatch clean – Remove build artifacts
hatch-config hatch config – Manage the config file
hatch-config-explore hatch config explore – Open the config location in your file manager
hatch-config-find hatch config find – Show the location of the config file
hatch-config-restore hatch config restore – Restore the config file to default settings
hatch-config-set hatch config set – Assign values to config file entries
hatch-config-show hatch config show – Show the contents of the config file
hatch-config-update hatch config update – Update the config file with any new fields
hatch-dep hatch dep – Manage environment dependencies
hatch-dep-hash hatch dep hash – Output a hash of the currently defined dependencies
hatch-dep-show hatch dep show – Display dependencies in various formats
hatch-dep-show-table hatch dep show table – Enumerate dependencies in a tabular format
hatch-env hatch env – Manage project environments
hatch-new hatch new – Create or initialize a project
hatch-publish hatch publish – Build a project
hatch-run hatch run – Run commands within project environments
hatch-shell hatch shell – Enter a shell within a project’s environment
hatch-status hatch status – Show information about the current environment
hatch-version hatch version – View or set a project’s version