Metadata-Version: 2.4
Name: uvinit
Version: 0.1.8
Summary: A time-saving CLI to start a new Python project with uv
Project-URL: Repository, https://github.com/jlevy/uvinit
Author-email: jlevy <joshua@cal.berkeley.edu>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Python: <4.0,>=3.11
Requires-Dist: copier>=9.6.0
Requires-Dist: prettyfmt>=0.2.1
Requires-Dist: questionary>=2.1.0
Requires-Dist: rich-argparse>=1.7.0
Requires-Dist: rich>=14.0.0
Description-Content-Type: text/markdown

# uvinit has been renamed to uvtemplate

> **This package has been renamed to `uvtemplate`.**
>
> Please use the new package:
> - **GitHub:** [github.com/jlevy/uvtemplate](https://github.com/jlevy/uvtemplate)
> - **PyPI:** [pypi.org/project/uvtemplate](https://pypi.org/project/uvtemplate/)
> - **Usage:** `uvx uvtemplate`
>
> This repository and PyPI package are no longer maintained.

---

<div align="center">

<img alt="Using uvtemplate" src="https://github.com/user-attachments/assets/8d048d1c-4fef-4c0c-aa9b-e05885ff4fbf" />

</div>

# uvinit (Deprecated)

[![Documentation](https://img.shields.io/badge/documentation-go)](https://www.github.com/jlevy/simple-modern-uv)
[![CI status](https://github.com/jlevy/uvinit/actions/workflows/ci.yml/badge.svg)](https://github.com/jlevy/uvinit/actions/workflows/ci.yml?query=branch%3Amain)
[![image](https://img.shields.io/pypi/pyversions/uvinit.svg)](https://pypi.python.org/pypi/uvinit)
[![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)
[![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-border.json)](https://github.com/copier-org/copier)
[![X (formerly Twitter)
Follow](https://img.shields.io/twitter/follow/ojoshe)](https://x.com/ojoshe)

## Usage

Two words:

```
uvx uvinit
```

It will guide you!

## Do I Need uv?

Yes. You will need to [**have uv installed**](https://github.com/astral-sh/uv).
Read that page or my [template docs](https://github.com/jlevy/simple-modern-uv) for
background on why uv is such an improved package manager for Python.

## What is uvinit?

A time-saving CLI tool to quickly start new Python projects with
[**uv**](https://github.com/astral-sh/uv) using the
[**simple-modern-uv**](https://github.com/jlevy/simple-modern-uv) template and
[**copier**](https://github.com/copier-org/copier).

It's the tool I wish I'd had when setting up projects with uv.

**`uvx uvinit`** will clone a new project template and help you set up your GitHub repo.
The template tiny and sets up **uv**, **ruff** linting and formatting, **GitHub
Actions**, **publishing to PyPI**, **type checking**, and more.

## What Python Project Template Does it Use?

The [**simple-modern-uv**](https://github.com/jlevy/simple-modern-uv) template.
See that repo for full docs and
[this thread](https://x.com/ojoshe/status/1901380005084700793) for a bit more context.

If you prefer, you can use that template directly; uvinit is just a CLI wrapper for the
template.

If you have another copier-format template you want to use, however, you can specify it
with the `--template` argument.

## Can I Use it With an Existing Project?

Yes. Just cancel after the template is copied (skip the part that pushes to git) and
you'll have a new working tree with all the uv and tooling set up.
Then manually copy over all the parts you want into your existing project.

## By Chance Is There a Short URL I Can Remember for This Handy Tool?

Funny you should ask!

Type [**git.new/uvinit**](https://git.new/uvinit) into your browser.

Tell your friends!

* * *

*This project was (of course) built using
[simple-modern-uv](https://github.com/jlevy/simple-modern-uv).*
