usethis


Nameusethis JSON
Version 0.14.2 PyPI version JSON
download
home_pageNone
SummaryAutomate Python project setup and development tasks that are otherwise performed manually.
upload_time2025-07-08 20:53:11
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseMIT License Copyright (c) 2024 usethis contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords init project setup start usethis
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1 align="center">
  <img src="https://raw.githubusercontent.com/usethis-python/usethis-python/refs/heads/main/docs/logo.svg"><br>
</h1>

# usethis

[![usethis](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/usethis-python/usethis-python/main/assets/badge/v1.json)](https://github.com/usethis-python/usethis-python)
[![PyPI Version](https://img.shields.io/pypi/v/usethis.svg)](https://pypi.python.org/pypi/usethis)
![PyPI License](https://img.shields.io/pypi/l/usethis.svg)
[![PyPI Supported Versions](https://img.shields.io/pypi/pyversions/usethis.svg)](https://pypi.python.org/pypi/usethis)
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
[![CodSpeed](https://img.shields.io/endpoint?url=https://codspeed.io/badge.json)](https://codspeed.io/usethis-python/usethis-python)
[![codecov](https://codecov.io/gh/usethis-python/usethis-python/graph/badge.svg?token=MU1AZS0KHV)](https://codecov.io/gh/usethis-python/usethis-python)
[![GitHub Actions Status](https://github.com/usethis-python/usethis-python/workflows/CI/badge.svg)](https://github.com/usethis-python/usethis-python/actions)

Automate Python project setup and development tasks that are otherwise performed manually.

usethis knows about popular Python tools, workflows and frameworks, and knows how they interact. It can declaratively add and remove tools, configure them, and set up the project for you. It does this all in a way that won't break your existing configuration and will make the necessary adjustments to your project configuration files.

usethis gives detailed messages about what it is doing (and what you need to do next).

- Output beginning with `✔` represents a task which usethis has automated.
- Output beginning with `☐` represents a task which you need to perform manually.
- Output beginning with `ℹ` gives hints and tips.

Inspired by an [**R** package of the same name](https://usethis.r-lib.org/index.html), this package brings a similar experience to the Python ecosystem as a CLI tool.

> [!TIP]
> usethis is great for fresh projects using [uv](https://docs.astral.sh/uv), but also supports updating existing projects. However, this should be considered experimental. If you encounter problems or have feedback, please [open an issue](https://github.com/usethis-python/usethis-python/issues/new?template=idea.md).

## Highlights

- 🧰 First-class support for state-of-the-practice tooling: uv, Ruff, pytest, pre-commit, and many more.
- 🤖 Automatically add and remove tools: declare, install, and configure in one step.
- 🧠 Powerful knowledge of how different tools interact and sensible defaults.
- 🔄 Update existing configuration files automatically.
- 📢 Fully declarative project configuration.
- ⚡ Get started on a new Python project or a new workflow in seconds.

## 🧭 Getting Started

First, it is strongly recommended you [install the uv package manager](https://docs.astral.sh/uv/getting-started/installation/): this is a simple, documented process. If you're already using uv, make sure you're using at least
version v0.5.29 (run `uv version` to check, and `uv self update` to upgrade).

> [!TIP]
> At the moment, usethis assumes you will have uv installed in some circumstances. Support for projects that don't use uv is planned for late 2025.

You can install usethis directly into the project environment:

```console
# With uv
$ uv add --dev usethis

# With pip
$ pip install usethis
```

Alternatively, you can also run usethis commands in isolation, using `uvx` or `pipx`. For example, to add Ruff to the project:

```console
# With uv
$ uvx usethis tool ruff

# With pipx
$ pipx run usethis tool ruff
```

## 🖥️ Command Line Interface

### Start a New Project

- [`usethis init`](#usethis-init) — Initialize a new project with recommended defaults.

### Manage Tooling

- [`usethis format`](#usethis-format) — Add/Configure recommended formatters (namely, [Ruff](https://docs.astral.sh/ruff/formatter/) and [pyproject-fmt](https://pyproject-fmt.readthedocs.io/en/latest/)).
- [`usethis lint`](#usethis-lint) — Add/Configure recommended linters (namely, [Ruff](https://docs.astral.sh/ruff/linter) and [deptry](https://github.com/fpgmaas/deptry)).
- [`usethis spellcheck`](#usethis-spellcheck) — Add/Configure recommended spellcheckers (namely, [codespell](https://github.com/codespell-project/codespell)).
- [`usethis test`](#usethis-test) — Add/Configure a recommended testing framework (namely, [pytest](https://github.com/pytest-dev/pytest)).
- [`usethis ci`](#usethis-ci) — Add/Configure a recommended CI service.
- [`usethis tool`](#usethis-tool) — Add/Configure specific tools individually.

### Manage Configuration

- [`usethis author`](#usethis-author) — Set new author information for the project.
- [`usethis docstyle`](#usethis-docstyle-style) — Set new author information for the project.
- [`usethis rule`](#usethis-rule-rulecode) — Set a docstring style convention for the project, and [enforce it with Ruff](https://docs.astral.sh/ruff/rules/#pydocstyle-d).
- [`usethis status`](#usethis-status-status) — Set the development status of the project (via trove classifiers).

### Manage README

- [`usethis badge`](#usethis-badge) — Set new author information for the project.
- [`usethis readme`](#usethis-readme) — Add badges to the README file.

### Information

- [`usethis list`](#usethis-list) — Display a table of all available tools and their current usage status.
- [`usethis version`](#usethis-version) — Display the current version of usethis.
- [`usethis browse pypi`](#usethis-browse-pypi-package) — Display or open the PyPI landing page associated with another project.
- [`usethis show`](#usethis-show) — Show a specific piece of information about the project.

## 💡 Example Usage

To start a new project from scratch with a complete set of recommended tooling, run:

```console
$ uvx usethis init
✔ Writing 'pyproject.toml' and initializing project.
✔ Writing 'README.md'.
☐ Populate 'README.md' to help users understand the project.
✔ Adding recommended linters.
☐ Run 'uv run ruff check --fix' to run the Ruff linter with autofixes.
☐ Run 'uv run deptry src' to run deptry.
✔ Adding recommended formatters.
☐ Run 'uv run ruff format' to run the Ruff formatter.
☐ Run 'uv run pyproject-fmt pyproject.toml' to run pyproject-fmt.
✔ Adding recommended spellcheckers.
☐ Run 'uv run codespell' to run the Codespell spellchecker.
✔ Adding recommended test frameworks.
☐ Add test files to the '/tests' directory with the format 'test_*.py'.
☐ Add test functions with the format 'test_*()'.
☐ Run 'uv run pytest' to run the tests.
```

To use Ruff on an existing project, run:

```console
$ uvx usethis tool ruff
✔ Adding dependency 'ruff' to the 'dev' group in 'pyproject.toml'.
✔ Adding Ruff config to 'pyproject.toml'.
✔ Selecting Ruff rules 'A', 'C4', 'E4', 'E7', 'E9', 'F', 'FLY', 'FURB', 'I', 'PLE', 'PLR', 'RUF', 'SIM', 'UP' in 'pyproject.toml'.
✔ Ignoring Ruff rules 'PLR2004', 'SIM108' in 'pyproject.toml'.
☐ Run 'uv run ruff check --fix' to run the Ruff linter with autofixes.
☐ Run 'uv run ruff format' to run the Ruff formatter.
```

To use pytest, run:

```console
$ uvx usethis tool pytest
✔ Adding dependency 'pytest' to the 'test' group in 'pyproject.toml'.
✔ Adding pytest config to 'pyproject.toml'.
✔ Selecting Ruff rule 'PT' in 'pyproject.toml'.
✔ Creating '/tests'.
✔ Writing '/tests/conftest.py'.
☐ Add test files to the '/tests' directory with the format 'test_*.py'.
☐ Add test functions with the format 'test_*()'.
☐ Run 'uv run pytest' to run the tests.
```

To configure Bitbucket pipelines, run:

```console
$ uvx usethis ci bitbucket
✔ Writing 'bitbucket-pipelines.yml'.
✔ Adding cache 'uv' definition to 'bitbucket-pipelines.yml'.
✔ Adding 'Run Ruff' to default pipeline in 'bitbucket-pipelines.yml'.
✔ Adding 'Test on 3.12' to default pipeline in 'bitbucket-pipelines.yml'.
✔ Adding 'Test on 3.13' to default pipeline in 'bitbucket-pipelines.yml'.
☐ Run your pipeline via the Bitbucket website.
```

## 🖥️ Command Reference

### `usethis init`

Initialize a new Python project with recommended defaults, including:

- a `pyproject.toml` file and relevant configuration,
- recommended linters, formatters, spellcheckers, and test frameworks (all opt-out),
- docstring style enforcement (opt-in),
- the pre-commit framework (opt-in),
- CI services (opt-in),
- declared & installed dependencies via `uv add`, and
- any other relevant directories or tool-bespoke configuration files.

Supported options:

- `--format` to add recommended formatters (default; or `--no-format` to opt-out)
- `--lint` to add recommended linters (default; or `--no-lint` to opt-out)
- `--spellcheck` to add a recommended spellchecker (default; or `--no-spellcheck` to opt-out)
- `--test` to add a recommended testing framework (default; or `--no-test` to opt-out)
- `--pre-commit` to add the pre-commit framework for git hooks (but the default is `--no-pre-commit`)
- `--ci` to add a CI service configuration
  Possible values:
  - `bitbucket` for [Bitbucket Pipelines](https://bitbucket.org/product/features/pipelines)
- `--docstyle` to set a docstring style convention for the project
  Possible values:
  - `numpy` for [NumPy docstring style](https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard)
  - `google` for [Google docstring style](https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings)
  - `pep257` for [PEP 257 docstring style](https://www.python.org/dev/peps/pep-0257/)
- `--status` to set the development status of the project. Defaults to `planning`.
  Possible values:
  - `planning` or `1` for "Development Status :: 1 - Planning"
  - `pre-alpha` or `2` for "Development Status :: 2 - Pre-Alpha"
  - `alpha` or `3` for "Development Status :: 3 - Alpha"
  - `beta` or `4` for "Development Status :: 4 - Beta"
  - `production` or `5` for "Development Status :: 5 - Production/Stable"
  - `mature` or `6` for "Development Status :: 6 - Mature"
  - `inactive` or `7` for "Development Status :: 7 - Inactive"
- `--offline` to disable network access and rely on caches
- `--quiet` to suppress output
- `--frozen` to leave the virtual environment and lockfile unchanged (i.e. do not install dependencies, nor update lockfiles)

### `usethis format`

Add recommended formatters to the project (namely, [Ruff](https://docs.astral.sh/ruff/formatter/) and [pyproject-fmt](https://pyproject-fmt.readthedocs.io/en/latest/)), including:

- declared & installed dependencies via `uv add`,
- relevant `pyproject.toml` configuration, and
- any other relevant directories or tool-bespoke configuration files.

Note if `pyproject.toml` is not present, it will be created, since this is required for declaring dependencies via `uv add`.

Supported options:

- `--remove` to remove the tool instead of adding it
- `--how` to only print how to use the tool, with no other side effects
- `--offline` to disable network access and rely on caches
- `--frozen` to leave the virtual environment and lockfile unchanged
- `--quiet` to suppress output

See [`usethis tool`](#usethis-tool) for more information.

### `usethis lint`

Add recommended linters to the project (namely, [Ruff](https://docs.astral.sh/ruff/linter) and [deptry](https://github.com/fpgmaas/deptry)), including:

- declared & installed dependencies with `uv add`,
- relevant `pyproject.toml` configuration, and
- any other relevant directories or tool-bespoke configuration files.

Note if `pyproject.toml` is not present, it will be created, since this is required for declaring dependencies with `uv add`.

Supported options:

- `--remove` to remove the tool instead of adding it
- `--how` to only print how to use the tool, with no other side effects
- `--offline` to disable network access and rely on caches
- `--frozen` to leave the virtual environment and lockfile unchanged
- `--quiet` to suppress output

See [`usethis tool`](#usethis-tool) for more information.

### `usethis spellcheck`

Add a recommended spellchecker to the project (namely, [codespell](https://github.com/codespell-project/codespell)), including:

- declared & installed dependencies with `uv add`,
- relevant `pyproject.toml` configuration, and
- any other relevant directories or tool-bespoke configuration files.

Note if `pyproject.toml` is not present, it will be created, since this is required for declaring dependencies with `uv add`.

Supported options:

- `--remove` to remove the tool instead of adding it
- `--how` to only print how to use the tool, with no other side effects
- `--offline` to disable network access and rely on caches
- `--frozen` to leave the virtual environment and lockfile unchanged
- `--quiet` to suppress output

See [`usethis tool`](#usethis-tool) for more information.

### `usethis test`

Add a recommended testing framework to the project (namely pytest), including:

- declared & installed dependencies with `uv add`,
- relevant `pyproject.toml` configuration, and
- any other relevant directories or tool-bespoke configuration files.

Note if `pyproject.toml` is not present, it will be created, since this is required for declaring dependencies with `uv add`.

Supported options:

- `--remove` to remove the tool instead of adding it
- `--how` to only print how to use the tool, with no other side effects
- `--offline` to disable network access and rely on caches
- `--frozen` to leave the virtual environment and lockfile unchanged
- `--quiet` to suppress output

See [`usethis tool`](#usethis-tool) for more information.

### `usethis tool`

Add a new tool to a Python project, including:

- declared & installed dependencies with `uv add`,
- relevant `pyproject.toml` configuration,
- any other relevant directories or tool-bespoke configuration files, and
- `.pre-commit-config.yaml` configuration if using `pre-commit`.

Note if `pyproject.toml` is not present, it will be created, since this is required for
declaring dependencies with `uv add`.

#### Code Quality Tools

- `usethis tool codespell` - Use the [codespell spellchecker](https://github.com/codespell-project/codespell): detect common spelling mistakes.
- `usethis tool deptry` - Use the [deptry linter](https://github.com/fpgmaas/deptry): avoid missing or superfluous dependency declarations.
- `usethis tool import-linter` - Use [Import Linter](https://import-linter.readthedocs.io/en/stable/): enforce a self-imposed architecture on imports.
- `usethis tool pre-commit` - Use the [pre-commit](https://github.com/pre-commit/pre-commit) framework to manage and maintain pre-commit hooks.
- `usethis tool pyproject-fmt` - Use the [pyproject-fmt linter](https://github.com/tox-dev/pyproject-fmt): opinionated formatting of 'pyproject.toml' files.
- `usethis tool ruff` - Use [Ruff](https://github.com/astral-sh/ruff): an extremely fast Python linter and code formatter.

#### Testing

- `usethis tool coverage.py` - Use [Coverage.py](https://github.com/nedbat/coveragepy): a code coverage measurement tool.
- `usethis tool pytest` - Use the [pytest](https://github.com/pytest-dev/pytest) testing framework.

#### Configuration Files

- `usethis tool pyproject.toml` - Use a [pyproject.toml](https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#writing-your-pyproject-toml) file to configure the project.
- `usethis tool requirements.txt` - Use a [requirements.txt](https://pip.pypa.io/en/stable/reference/requirements-file-format/) file exported from the uv lockfile.

Supported options:

- `--remove` to remove the tool instead of adding it
- `--how` to only print how to use the tool, with no other side effects
- `--offline` to disable network access and rely on caches
- `--frozen` to leave the virtual environment and lockfile unchanged
- `--quiet` to suppress output

For `usethis tool ruff`, in addition to the above options, you can also specify:

- `--linter` to add or remove specifically the linter component of Ruff (default; or `--no-linter` to opt-out)
- `--formatter` to add or remove specifically the formatter component of Ruff (default; or `--no-formatter` to opt-out)

### `usethis ci`

Add Continuous Integration pipelines to the project.

Currently supported platforms:

- `usethis ci bitbcuket` - Use [Bitbucket Pipelines](https://bitbucket.org/product/features/pipelines): a CI/CD service for Bitbucket.

Supported options:

- `--remove` to remove the CI configuration instead of adding it
- `--offline` to disable network access and rely on caches
- `--quiet` to suppress output

### `usethis badge`

Add badges to the README file.

Currently supported badges:

- `usethis badge pre-commit` - [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
- `usethis badge pypi` - [![PyPI Version](https://img.shields.io/pypi/v/usethis.svg)](https://pypi.python.org/pypi/usethis)
- `usethis badge ruff` - [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
- `usethis badge usethis` - [![usethis](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/usethis-python/usethis-python/main/assets/badge/v1.json)](https://github.com/usethis-python/usethis-python)
- `usethis badge uv` - [![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)

Supported options:

- `--show` to show the badge URL instead of adding (or removing) it
- `--remove` to remove the badge instead of adding it
- `--offline` to disable network access and rely on caches
- `--quiet` to suppress output

### `usethis readme`

Add a README.md file to the project.

Supported options:

- `--quiet` to suppress output
- `--badges` to also add badges to the README.md file

### `usethis author`

Set new author information for the project.

Required options:

- `--name` for the new author's name

Other supported options:

- `--email` to set the author email address
- `--overwrite` to overwrite all existing author information
- `--quiet` to suppress output

### `usethis docstyle <style>`

Set a docstring style convention for the project, and [enforce it with Ruff](https://docs.astral.sh/ruff/rules/#pydocstyle-d).

Defaults to the Google docstring style.

Possible style options:

- `numpy` for [NumPy docstring style](https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard)
- `google` for [Google docstring style](https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings)
- `pep257` for [PEP 257 docstring style](https://www.python.org/dev/peps/pep-0257/)

Example:

`usethis docstyle google`

Supported options:

- `--quiet` to suppress output

### `usethis rule <rulecode>`

Add (or manage configuration) of Ruff and Deptry rules in `pyproject.toml`.

See [the Ruff documentation](https://docs.astral.sh/ruff/rules/) for a list of available
rules, and [the Deptry documentation](https://deptry.com/rules-violations/) for a list
of available rules.

Example:

`usethis rule RUF001`

Supported options:

- `--remove` to remove the rule selection or ignore status.
- `--ignore` to add the rule to the ignore list (or remove it if --remove is specified).
- `--offline` to disable network access and rely on caches
- `--quiet` to suppress output

### `usethis status <status>`

Set the development status of the project via trove classifiers.

Possible values (required):

- `usethis status planning` or `usethis status 1` for "Development Status :: 1 - Planning"
- `usethis status pre-alpha` or `usethis status 2` for "Development Status :: 2 - Pre-Alpha"
- `usethis status alpha` or `usethis status 3` for "Development Status :: 3 - Alpha"
- `usethis status beta` or `usethis status 4` for "Development Status :: 4 - Beta"
- `usethis status production` or `usethis status 5` for "Development Status :: 5 - Production/Stable"
- `usethis status mature` or `usethis status 6` for "Development Status :: 6 - Mature"
- `usethis status inactive` or `usethis status 7` for "Development Status :: 7 - Inactive"

Supported options:

- `--quiet` to suppress output
- `--badges` to add an associated badge to the README file

### `usethis list`

Display a table of all available tools and their current usage status.

### `usethis version`

Display the current version of usethis.

### `usethis show`

Show a piece of information about the project.

Currently supported subcommands:

- `usethis show name` to show the name of the project.
- `usethis show sonarqube` to show appropriate contents of a `sonar-projects.properties` file for SonarQube analysis.

### `usethis browse pypi <package>`

Display or open the PyPI landing page associated with another project.

Example:

`usethis browse pypi numpy`

Supported options:

- `--browser` to open the link in the browser automatically.

## 📚 Similar Projects

Not sure if usethis is the exact fit for your project?

The closest match to usethis is [PyScaffold](https://github.com/pyscaffold/pyscaffold/). It provides a Command Line Interface to automate the creation of a project from a sensible templated structure.

You could also consider your own hard-coded template. Templating tools such as [Cookiecutter](https://github.com/cookiecutter/cookiecutter) and [Copier](https://github.com/copier-org/copier) allow you to create static templates with fixed configuration you can use across multiple projects. However, it's not always obvious which template you should use, and many do not use state-of-practice tooling such as `pyproject.toml`. Also, sometimes a template can overwhelm you with too many unfamiliar tools.

You could consider [this template](https://github.com/pawamoy/copier-uv) or [this one](https://github.com/jlevy/simple-modern-uv), which work with Copier, or [this template](https://github.com/johnthagen/python-blueprint) which works with Cookiecutter.

> [!TIP]
> You can still use usethis as a part of a templates using [hooks](https://cookiecutter.readthedocs.io/en/latest/advanced/hooks.html#using-pre-post-generate-hooks-0-7-0) for Cookiecutter and [tasks](https://copier.readthedocs.io/en/stable/configuring/#tasks) for Copier.

If you're using Cookiecutter, then you can update to a latest version of a template using a tool like [cruft](https://github.com/cruft/cruft). Copier has inbuilt support for template updating. Another template-style option which provides updating is [jaraco/skeleton](https://blog.jaraco.com/skeleton/), which is a specific, git-based template rather than a general templating system.

## 🚀 Development

[![Commits since latest release](https://img.shields.io/github/commits-since/usethis-python/usethis-python/latest.svg)](https://github.com/usethis-python/usethis-python/releases)

### Roadmap

Major features planned for later in 2025 are:

- Support for users who aren't using uv, e.g. poetry users,
- Support for automated GitHub Actions workflows ([#57](https://github.com/usethis-python/usethis-python/issues/57)),
- Support for a typechecker (likely Pyright, [#121](https://github.com/usethis-python/usethis-python/issues/121)), and
- Support for documentation pages (likely using mkdocs, [#188](https://github.com/usethis-python/usethis-python/issues/188)).

Other features are tracked in the [GitHub Issues](https://github.com/usethis-python/usethis-python/issues) page.

### Contributing

See the
[CONTRIBUTING.md](https://github.com/usethis-python/usethis-python/blob/main/CONTRIBUTING.md)
file.

## License

usethis is licensed under the MIT license ([LICENSE](https://github.com/usethis-python/usethis-python/blob/main/LICENSE) or <https://opensource.org/licenses/MIT>)

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in usethis by you, as defined in the Apache License, Version 2.0, (<https://www.apache.org/licenses/LICENSE-2.0>), shall be licensed under the MIT license, without any additional terms or conditions.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "usethis",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "init, project, setup, start, usethis",
    "author": null,
    "author_email": "Nathan McDougall <nathan.j.mcdougall@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/b5/d1/da0eb1957cc6e0a45e642d9da84f39fec7c10b324f5d2ac34db499f98ba1/usethis-0.14.2.tar.gz",
    "platform": null,
    "description": "<h1 align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/usethis-python/usethis-python/refs/heads/main/docs/logo.svg\"><br>\n</h1>\n\n# usethis\n\n[![usethis](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/usethis-python/usethis-python/main/assets/badge/v1.json)](https://github.com/usethis-python/usethis-python)\n[![PyPI Version](https://img.shields.io/pypi/v/usethis.svg)](https://pypi.python.org/pypi/usethis)\n![PyPI License](https://img.shields.io/pypi/l/usethis.svg)\n[![PyPI Supported Versions](https://img.shields.io/pypi/pyversions/usethis.svg)](https://pypi.python.org/pypi/usethis)\n[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)\n[![CodSpeed](https://img.shields.io/endpoint?url=https://codspeed.io/badge.json)](https://codspeed.io/usethis-python/usethis-python)\n[![codecov](https://codecov.io/gh/usethis-python/usethis-python/graph/badge.svg?token=MU1AZS0KHV)](https://codecov.io/gh/usethis-python/usethis-python)\n[![GitHub Actions Status](https://github.com/usethis-python/usethis-python/workflows/CI/badge.svg)](https://github.com/usethis-python/usethis-python/actions)\n\nAutomate Python project setup and development tasks that are otherwise performed manually.\n\nusethis knows about popular Python tools, workflows and frameworks, and knows how they interact. It can declaratively add and remove tools, configure them, and set up the project for you. It does this all in a way that won't break your existing configuration and will make the necessary adjustments to your project configuration files.\n\nusethis gives detailed messages about what it is doing (and what you need to do next).\n\n- Output beginning with `\u2714` represents a task which usethis has automated.\n- Output beginning with `\u2610` represents a task which you need to perform manually.\n- Output beginning with `\u2139` gives hints and tips.\n\nInspired by an [**R** package of the same name](https://usethis.r-lib.org/index.html), this package brings a similar experience to the Python ecosystem as a CLI tool.\n\n> [!TIP]\n> usethis is great for fresh projects using [uv](https://docs.astral.sh/uv), but also supports updating existing projects. However, this should be considered experimental. If you encounter problems or have feedback, please [open an issue](https://github.com/usethis-python/usethis-python/issues/new?template=idea.md).\n\n## Highlights\n\n- \ud83e\uddf0 First-class support for state-of-the-practice tooling: uv, Ruff, pytest, pre-commit, and many more.\n- \ud83e\udd16 Automatically add and remove tools: declare, install, and configure in one step.\n- \ud83e\udde0 Powerful knowledge of how different tools interact and sensible defaults.\n- \ud83d\udd04 Update existing configuration files automatically.\n- \ud83d\udce2 Fully declarative project configuration.\n- \u26a1 Get started on a new Python project or a new workflow in seconds.\n\n## \ud83e\udded Getting Started\n\nFirst, it is strongly recommended you [install the uv package manager](https://docs.astral.sh/uv/getting-started/installation/): this is a simple, documented process. If you're already using uv, make sure you're using at least\nversion v0.5.29 (run `uv version` to check, and `uv self update` to upgrade).\n\n> [!TIP]\n> At the moment, usethis assumes you will have uv installed in some circumstances. Support for projects that don't use uv is planned for late 2025.\n\nYou can install usethis directly into the project environment:\n\n```console\n# With uv\n$ uv add --dev usethis\n\n# With pip\n$ pip install usethis\n```\n\nAlternatively, you can also run usethis commands in isolation, using `uvx` or `pipx`. For example, to add Ruff to the project:\n\n```console\n# With uv\n$ uvx usethis tool ruff\n\n# With pipx\n$ pipx run usethis tool ruff\n```\n\n## \ud83d\udda5\ufe0f Command Line Interface\n\n### Start a New Project\n\n- [`usethis init`](#usethis-init) \u2014 Initialize a new project with recommended defaults.\n\n### Manage Tooling\n\n- [`usethis format`](#usethis-format) \u2014 Add/Configure recommended formatters (namely, [Ruff](https://docs.astral.sh/ruff/formatter/) and [pyproject-fmt](https://pyproject-fmt.readthedocs.io/en/latest/)).\n- [`usethis lint`](#usethis-lint) \u2014 Add/Configure recommended linters (namely, [Ruff](https://docs.astral.sh/ruff/linter) and [deptry](https://github.com/fpgmaas/deptry)).\n- [`usethis spellcheck`](#usethis-spellcheck) \u2014 Add/Configure recommended spellcheckers (namely, [codespell](https://github.com/codespell-project/codespell)).\n- [`usethis test`](#usethis-test) \u2014 Add/Configure a recommended testing framework (namely, [pytest](https://github.com/pytest-dev/pytest)).\n- [`usethis ci`](#usethis-ci) \u2014 Add/Configure a recommended CI service.\n- [`usethis tool`](#usethis-tool) \u2014 Add/Configure specific tools individually.\n\n### Manage Configuration\n\n- [`usethis author`](#usethis-author) \u2014 Set new author information for the project.\n- [`usethis docstyle`](#usethis-docstyle-style) \u2014 Set new author information for the project.\n- [`usethis rule`](#usethis-rule-rulecode) \u2014 Set a docstring style convention for the project, and [enforce it with Ruff](https://docs.astral.sh/ruff/rules/#pydocstyle-d).\n- [`usethis status`](#usethis-status-status) \u2014 Set the development status of the project (via trove classifiers).\n\n### Manage README\n\n- [`usethis badge`](#usethis-badge) \u2014 Set new author information for the project.\n- [`usethis readme`](#usethis-readme) \u2014 Add badges to the README file.\n\n### Information\n\n- [`usethis list`](#usethis-list) \u2014 Display a table of all available tools and their current usage status.\n- [`usethis version`](#usethis-version) \u2014 Display the current version of usethis.\n- [`usethis browse pypi`](#usethis-browse-pypi-package) \u2014 Display or open the PyPI landing page associated with another project.\n- [`usethis show`](#usethis-show) \u2014 Show a specific piece of information about the project.\n\n## \ud83d\udca1 Example Usage\n\nTo start a new project from scratch with a complete set of recommended tooling, run:\n\n```console\n$ uvx usethis init\n\u2714 Writing 'pyproject.toml' and initializing project.\n\u2714 Writing 'README.md'.\n\u2610 Populate 'README.md' to help users understand the project.\n\u2714 Adding recommended linters.\n\u2610 Run 'uv run ruff check --fix' to run the Ruff linter with autofixes.\n\u2610 Run 'uv run deptry src' to run deptry.\n\u2714 Adding recommended formatters.\n\u2610 Run 'uv run ruff format' to run the Ruff formatter.\n\u2610 Run 'uv run pyproject-fmt pyproject.toml' to run pyproject-fmt.\n\u2714 Adding recommended spellcheckers.\n\u2610 Run 'uv run codespell' to run the Codespell spellchecker.\n\u2714 Adding recommended test frameworks.\n\u2610 Add test files to the '/tests' directory with the format 'test_*.py'.\n\u2610 Add test functions with the format 'test_*()'.\n\u2610 Run 'uv run pytest' to run the tests.\n```\n\nTo use Ruff on an existing project, run:\n\n```console\n$ uvx usethis tool ruff\n\u2714 Adding dependency 'ruff' to the 'dev' group in 'pyproject.toml'.\n\u2714 Adding Ruff config to 'pyproject.toml'.\n\u2714 Selecting Ruff rules 'A', 'C4', 'E4', 'E7', 'E9', 'F', 'FLY', 'FURB', 'I', 'PLE', 'PLR', 'RUF', 'SIM', 'UP' in 'pyproject.toml'.\n\u2714 Ignoring Ruff rules 'PLR2004', 'SIM108' in 'pyproject.toml'.\n\u2610 Run 'uv run ruff check --fix' to run the Ruff linter with autofixes.\n\u2610 Run 'uv run ruff format' to run the Ruff formatter.\n```\n\nTo use pytest, run:\n\n```console\n$ uvx usethis tool pytest\n\u2714 Adding dependency 'pytest' to the 'test' group in 'pyproject.toml'.\n\u2714 Adding pytest config to 'pyproject.toml'.\n\u2714 Selecting Ruff rule 'PT' in 'pyproject.toml'.\n\u2714 Creating '/tests'.\n\u2714 Writing '/tests/conftest.py'.\n\u2610 Add test files to the '/tests' directory with the format 'test_*.py'.\n\u2610 Add test functions with the format 'test_*()'.\n\u2610 Run 'uv run pytest' to run the tests.\n```\n\nTo configure Bitbucket pipelines, run:\n\n```console\n$ uvx usethis ci bitbucket\n\u2714 Writing 'bitbucket-pipelines.yml'.\n\u2714 Adding cache 'uv' definition to 'bitbucket-pipelines.yml'.\n\u2714 Adding 'Run Ruff' to default pipeline in 'bitbucket-pipelines.yml'.\n\u2714 Adding 'Test on 3.12' to default pipeline in 'bitbucket-pipelines.yml'.\n\u2714 Adding 'Test on 3.13' to default pipeline in 'bitbucket-pipelines.yml'.\n\u2610 Run your pipeline via the Bitbucket website.\n```\n\n## \ud83d\udda5\ufe0f Command Reference\n\n### `usethis init`\n\nInitialize a new Python project with recommended defaults, including:\n\n- a `pyproject.toml` file and relevant configuration,\n- recommended linters, formatters, spellcheckers, and test frameworks (all opt-out),\n- docstring style enforcement (opt-in),\n- the pre-commit framework (opt-in),\n- CI services (opt-in),\n- declared & installed dependencies via `uv add`, and\n- any other relevant directories or tool-bespoke configuration files.\n\nSupported options:\n\n- `--format` to add recommended formatters (default; or `--no-format` to opt-out)\n- `--lint` to add recommended linters (default; or `--no-lint` to opt-out)\n- `--spellcheck` to add a recommended spellchecker (default; or `--no-spellcheck` to opt-out)\n- `--test` to add a recommended testing framework (default; or `--no-test` to opt-out)\n- `--pre-commit` to add the pre-commit framework for git hooks (but the default is `--no-pre-commit`)\n- `--ci` to add a CI service configuration\n  Possible values:\n  - `bitbucket` for [Bitbucket Pipelines](https://bitbucket.org/product/features/pipelines)\n- `--docstyle` to set a docstring style convention for the project\n  Possible values:\n  - `numpy` for [NumPy docstring style](https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard)\n  - `google` for [Google docstring style](https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings)\n  - `pep257` for [PEP 257 docstring style](https://www.python.org/dev/peps/pep-0257/)\n- `--status` to set the development status of the project. Defaults to `planning`.\n  Possible values:\n  - `planning` or `1` for \"Development Status :: 1 - Planning\"\n  - `pre-alpha` or `2` for \"Development Status :: 2 - Pre-Alpha\"\n  - `alpha` or `3` for \"Development Status :: 3 - Alpha\"\n  - `beta` or `4` for \"Development Status :: 4 - Beta\"\n  - `production` or `5` for \"Development Status :: 5 - Production/Stable\"\n  - `mature` or `6` for \"Development Status :: 6 - Mature\"\n  - `inactive` or `7` for \"Development Status :: 7 - Inactive\"\n- `--offline` to disable network access and rely on caches\n- `--quiet` to suppress output\n- `--frozen` to leave the virtual environment and lockfile unchanged (i.e. do not install dependencies, nor update lockfiles)\n\n### `usethis format`\n\nAdd recommended formatters to the project (namely, [Ruff](https://docs.astral.sh/ruff/formatter/) and [pyproject-fmt](https://pyproject-fmt.readthedocs.io/en/latest/)), including:\n\n- declared & installed dependencies via `uv add`,\n- relevant `pyproject.toml` configuration, and\n- any other relevant directories or tool-bespoke configuration files.\n\nNote if `pyproject.toml` is not present, it will be created, since this is required for declaring dependencies via `uv add`.\n\nSupported options:\n\n- `--remove` to remove the tool instead of adding it\n- `--how` to only print how to use the tool, with no other side effects\n- `--offline` to disable network access and rely on caches\n- `--frozen` to leave the virtual environment and lockfile unchanged\n- `--quiet` to suppress output\n\nSee [`usethis tool`](#usethis-tool) for more information.\n\n### `usethis lint`\n\nAdd recommended linters to the project (namely, [Ruff](https://docs.astral.sh/ruff/linter) and [deptry](https://github.com/fpgmaas/deptry)), including:\n\n- declared & installed dependencies with `uv add`,\n- relevant `pyproject.toml` configuration, and\n- any other relevant directories or tool-bespoke configuration files.\n\nNote if `pyproject.toml` is not present, it will be created, since this is required for declaring dependencies with `uv add`.\n\nSupported options:\n\n- `--remove` to remove the tool instead of adding it\n- `--how` to only print how to use the tool, with no other side effects\n- `--offline` to disable network access and rely on caches\n- `--frozen` to leave the virtual environment and lockfile unchanged\n- `--quiet` to suppress output\n\nSee [`usethis tool`](#usethis-tool) for more information.\n\n### `usethis spellcheck`\n\nAdd a recommended spellchecker to the project (namely, [codespell](https://github.com/codespell-project/codespell)), including:\n\n- declared & installed dependencies with `uv add`,\n- relevant `pyproject.toml` configuration, and\n- any other relevant directories or tool-bespoke configuration files.\n\nNote if `pyproject.toml` is not present, it will be created, since this is required for declaring dependencies with `uv add`.\n\nSupported options:\n\n- `--remove` to remove the tool instead of adding it\n- `--how` to only print how to use the tool, with no other side effects\n- `--offline` to disable network access and rely on caches\n- `--frozen` to leave the virtual environment and lockfile unchanged\n- `--quiet` to suppress output\n\nSee [`usethis tool`](#usethis-tool) for more information.\n\n### `usethis test`\n\nAdd a recommended testing framework to the project (namely pytest), including:\n\n- declared & installed dependencies with `uv add`,\n- relevant `pyproject.toml` configuration, and\n- any other relevant directories or tool-bespoke configuration files.\n\nNote if `pyproject.toml` is not present, it will be created, since this is required for declaring dependencies with `uv add`.\n\nSupported options:\n\n- `--remove` to remove the tool instead of adding it\n- `--how` to only print how to use the tool, with no other side effects\n- `--offline` to disable network access and rely on caches\n- `--frozen` to leave the virtual environment and lockfile unchanged\n- `--quiet` to suppress output\n\nSee [`usethis tool`](#usethis-tool) for more information.\n\n### `usethis tool`\n\nAdd a new tool to a Python project, including:\n\n- declared & installed dependencies with `uv add`,\n- relevant `pyproject.toml` configuration,\n- any other relevant directories or tool-bespoke configuration files, and\n- `.pre-commit-config.yaml` configuration if using `pre-commit`.\n\nNote if `pyproject.toml` is not present, it will be created, since this is required for\ndeclaring dependencies with `uv add`.\n\n#### Code Quality Tools\n\n- `usethis tool codespell` - Use the [codespell spellchecker](https://github.com/codespell-project/codespell): detect common spelling mistakes.\n- `usethis tool deptry` - Use the [deptry linter](https://github.com/fpgmaas/deptry): avoid missing or superfluous dependency declarations.\n- `usethis tool import-linter` - Use [Import Linter](https://import-linter.readthedocs.io/en/stable/): enforce a self-imposed architecture on imports.\n- `usethis tool pre-commit` - Use the [pre-commit](https://github.com/pre-commit/pre-commit) framework to manage and maintain pre-commit hooks.\n- `usethis tool pyproject-fmt` - Use the [pyproject-fmt linter](https://github.com/tox-dev/pyproject-fmt): opinionated formatting of 'pyproject.toml' files.\n- `usethis tool ruff` - Use [Ruff](https://github.com/astral-sh/ruff): an extremely fast Python linter and code formatter.\n\n#### Testing\n\n- `usethis tool coverage.py` - Use [Coverage.py](https://github.com/nedbat/coveragepy): a code coverage measurement tool.\n- `usethis tool pytest` - Use the [pytest](https://github.com/pytest-dev/pytest) testing framework.\n\n#### Configuration Files\n\n- `usethis tool pyproject.toml` - Use a [pyproject.toml](https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#writing-your-pyproject-toml) file to configure the project.\n- `usethis tool requirements.txt` - Use a [requirements.txt](https://pip.pypa.io/en/stable/reference/requirements-file-format/) file exported from the uv lockfile.\n\nSupported options:\n\n- `--remove` to remove the tool instead of adding it\n- `--how` to only print how to use the tool, with no other side effects\n- `--offline` to disable network access and rely on caches\n- `--frozen` to leave the virtual environment and lockfile unchanged\n- `--quiet` to suppress output\n\nFor `usethis tool ruff`, in addition to the above options, you can also specify:\n\n- `--linter` to add or remove specifically the linter component of Ruff (default; or `--no-linter` to opt-out)\n- `--formatter` to add or remove specifically the formatter component of Ruff (default; or `--no-formatter` to opt-out)\n\n### `usethis ci`\n\nAdd Continuous Integration pipelines to the project.\n\nCurrently supported platforms:\n\n- `usethis ci bitbcuket` - Use [Bitbucket Pipelines](https://bitbucket.org/product/features/pipelines): a CI/CD service for Bitbucket.\n\nSupported options:\n\n- `--remove` to remove the CI configuration instead of adding it\n- `--offline` to disable network access and rely on caches\n- `--quiet` to suppress output\n\n### `usethis badge`\n\nAdd badges to the README file.\n\nCurrently supported badges:\n\n- `usethis badge pre-commit` - [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)\n- `usethis badge pypi` - [![PyPI Version](https://img.shields.io/pypi/v/usethis.svg)](https://pypi.python.org/pypi/usethis)\n- `usethis badge ruff` - [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n- `usethis badge usethis` - [![usethis](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/usethis-python/usethis-python/main/assets/badge/v1.json)](https://github.com/usethis-python/usethis-python)\n- `usethis badge uv` - [![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)\n\nSupported options:\n\n- `--show` to show the badge URL instead of adding (or removing) it\n- `--remove` to remove the badge instead of adding it\n- `--offline` to disable network access and rely on caches\n- `--quiet` to suppress output\n\n### `usethis readme`\n\nAdd a README.md file to the project.\n\nSupported options:\n\n- `--quiet` to suppress output\n- `--badges` to also add badges to the README.md file\n\n### `usethis author`\n\nSet new author information for the project.\n\nRequired options:\n\n- `--name` for the new author's name\n\nOther supported options:\n\n- `--email` to set the author email address\n- `--overwrite` to overwrite all existing author information\n- `--quiet` to suppress output\n\n### `usethis docstyle <style>`\n\nSet a docstring style convention for the project, and [enforce it with Ruff](https://docs.astral.sh/ruff/rules/#pydocstyle-d).\n\nDefaults to the Google docstring style.\n\nPossible style options:\n\n- `numpy` for [NumPy docstring style](https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard)\n- `google` for [Google docstring style](https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings)\n- `pep257` for [PEP 257 docstring style](https://www.python.org/dev/peps/pep-0257/)\n\nExample:\n\n`usethis docstyle google`\n\nSupported options:\n\n- `--quiet` to suppress output\n\n### `usethis rule <rulecode>`\n\nAdd (or manage configuration) of Ruff and Deptry rules in `pyproject.toml`.\n\nSee [the Ruff documentation](https://docs.astral.sh/ruff/rules/) for a list of available\nrules, and [the Deptry documentation](https://deptry.com/rules-violations/) for a list\nof available rules.\n\nExample:\n\n`usethis rule RUF001`\n\nSupported options:\n\n- `--remove` to remove the rule selection or ignore status.\n- `--ignore` to add the rule to the ignore list (or remove it if --remove is specified).\n- `--offline` to disable network access and rely on caches\n- `--quiet` to suppress output\n\n### `usethis status <status>`\n\nSet the development status of the project via trove classifiers.\n\nPossible values (required):\n\n- `usethis status planning` or `usethis status 1` for \"Development Status :: 1 - Planning\"\n- `usethis status pre-alpha` or `usethis status 2` for \"Development Status :: 2 - Pre-Alpha\"\n- `usethis status alpha` or `usethis status 3` for \"Development Status :: 3 - Alpha\"\n- `usethis status beta` or `usethis status 4` for \"Development Status :: 4 - Beta\"\n- `usethis status production` or `usethis status 5` for \"Development Status :: 5 - Production/Stable\"\n- `usethis status mature` or `usethis status 6` for \"Development Status :: 6 - Mature\"\n- `usethis status inactive` or `usethis status 7` for \"Development Status :: 7 - Inactive\"\n\nSupported options:\n\n- `--quiet` to suppress output\n- `--badges` to add an associated badge to the README file\n\n### `usethis list`\n\nDisplay a table of all available tools and their current usage status.\n\n### `usethis version`\n\nDisplay the current version of usethis.\n\n### `usethis show`\n\nShow a piece of information about the project.\n\nCurrently supported subcommands:\n\n- `usethis show name` to show the name of the project.\n- `usethis show sonarqube` to show appropriate contents of a `sonar-projects.properties` file for SonarQube analysis.\n\n### `usethis browse pypi <package>`\n\nDisplay or open the PyPI landing page associated with another project.\n\nExample:\n\n`usethis browse pypi numpy`\n\nSupported options:\n\n- `--browser` to open the link in the browser automatically.\n\n## \ud83d\udcda Similar Projects\n\nNot sure if usethis is the exact fit for your project?\n\nThe closest match to usethis is [PyScaffold](https://github.com/pyscaffold/pyscaffold/). It provides a Command Line Interface to automate the creation of a project from a sensible templated structure.\n\nYou could also consider your own hard-coded template. Templating tools such as [Cookiecutter](https://github.com/cookiecutter/cookiecutter) and [Copier](https://github.com/copier-org/copier) allow you to create static templates with fixed configuration you can use across multiple projects. However, it's not always obvious which template you should use, and many do not use state-of-practice tooling such as `pyproject.toml`. Also, sometimes a template can overwhelm you with too many unfamiliar tools.\n\nYou could consider [this template](https://github.com/pawamoy/copier-uv) or [this one](https://github.com/jlevy/simple-modern-uv), which work with Copier, or [this template](https://github.com/johnthagen/python-blueprint) which works with Cookiecutter.\n\n> [!TIP]\n> You can still use usethis as a part of a templates using [hooks](https://cookiecutter.readthedocs.io/en/latest/advanced/hooks.html#using-pre-post-generate-hooks-0-7-0) for Cookiecutter and [tasks](https://copier.readthedocs.io/en/stable/configuring/#tasks) for Copier.\n\nIf you're using Cookiecutter, then you can update to a latest version of a template using a tool like [cruft](https://github.com/cruft/cruft). Copier has inbuilt support for template updating. Another template-style option which provides updating is [jaraco/skeleton](https://blog.jaraco.com/skeleton/), which is a specific, git-based template rather than a general templating system.\n\n## \ud83d\ude80 Development\n\n[![Commits since latest release](https://img.shields.io/github/commits-since/usethis-python/usethis-python/latest.svg)](https://github.com/usethis-python/usethis-python/releases)\n\n### Roadmap\n\nMajor features planned for later in 2025 are:\n\n- Support for users who aren't using uv, e.g. poetry users,\n- Support for automated GitHub Actions workflows ([#57](https://github.com/usethis-python/usethis-python/issues/57)),\n- Support for a typechecker (likely Pyright, [#121](https://github.com/usethis-python/usethis-python/issues/121)), and\n- Support for documentation pages (likely using mkdocs, [#188](https://github.com/usethis-python/usethis-python/issues/188)).\n\nOther features are tracked in the [GitHub Issues](https://github.com/usethis-python/usethis-python/issues) page.\n\n### Contributing\n\nSee the\n[CONTRIBUTING.md](https://github.com/usethis-python/usethis-python/blob/main/CONTRIBUTING.md)\nfile.\n\n## License\n\nusethis is licensed under the MIT license ([LICENSE](https://github.com/usethis-python/usethis-python/blob/main/LICENSE) or <https://opensource.org/licenses/MIT>)\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in usethis by you, as defined in the Apache License, Version 2.0, (<https://www.apache.org/licenses/LICENSE-2.0>), shall be licensed under the MIT license, without any additional terms or conditions.\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 usethis contributors  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "Automate Python project setup and development tasks that are otherwise performed manually.",
    "version": "0.14.2",
    "project_urls": {
        "Bug Tracker": "https://github.com/usethis-python/usethis-python/issues",
        "Releases": "https://github.com/usethis-python/usethis-python/releases",
        "Source Archive": "https://github.com/usethis-python/usethis-python/archive/06c14ff1e4ede7746f32fb525dc214c20843b434.zip",
        "Source Code": "https://github.com/usethis-python/usethis-python"
    },
    "split_keywords": [
        "init",
        " project",
        " setup",
        " start",
        " usethis"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "7baef35bde9e28bf0b0769c1757280bf56b0cca55950df9a654cba740f94fd29",
                "md5": "405819cc97522e0eb9bf8e4dd8b92027",
                "sha256": "14d27c9ccb8b2ba6b74bb76200405837894e3769be6e9e9f963107ce18d57d7c"
            },
            "downloads": -1,
            "filename": "usethis-0.14.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "405819cc97522e0eb9bf8e4dd8b92027",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 143782,
            "upload_time": "2025-07-08T20:53:10",
            "upload_time_iso_8601": "2025-07-08T20:53:10.146156Z",
            "url": "https://files.pythonhosted.org/packages/7b/ae/f35bde9e28bf0b0769c1757280bf56b0cca55950df9a654cba740f94fd29/usethis-0.14.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b5d1da0eb1957cc6e0a45e642d9da84f39fec7c10b324f5d2ac34db499f98ba1",
                "md5": "ef3ffb9623a49dfcdff7b94147031652",
                "sha256": "c25f0ee588e382bb3eacfb970e772329b870d7c842350b773cad8869bca85dad"
            },
            "downloads": -1,
            "filename": "usethis-0.14.2.tar.gz",
            "has_sig": false,
            "md5_digest": "ef3ffb9623a49dfcdff7b94147031652",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 308398,
            "upload_time": "2025-07-08T20:53:11",
            "upload_time_iso_8601": "2025-07-08T20:53:11.442669Z",
            "url": "https://files.pythonhosted.org/packages/b5/d1/da0eb1957cc6e0a45e642d9da84f39fec7c10b324f5d2ac34db499f98ba1/usethis-0.14.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-08 20:53:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "usethis-python",
    "github_project": "usethis-python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "usethis"
}
        
Elapsed time: 0.86915s