Skip to main content

A time-saving CLI to start a new Python project with uv

Project description

uvinit has been renamed to uvtemplate

This package has been renamed to uvtemplate.

Please use the new package:

This repository and PyPI package are no longer maintained.


Using uvtemplate

uvinit (Deprecated)

Documentation CI status image uv Copier X (formerly Twitter) Follow

Usage

Two words:

uvx uvinit

It will guide you!

Do I Need uv?

Yes. You will need to have uv installed. Read that page or my template docs 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 using the simple-modern-uv template and 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 template. See that repo for full docs and this thread 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 into your browser.

Tell your friends!


This project was (of course) built using simple-modern-uv.

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

uvinit-0.1.8.tar.gz (42.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uvinit-0.1.8-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file uvinit-0.1.8.tar.gz.

File metadata

  • Download URL: uvinit-0.1.8.tar.gz
  • Upload date:
  • Size: 42.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for uvinit-0.1.8.tar.gz
Algorithm Hash digest
SHA256 1a021a7dc2ebf259c26e960a0f255abab484c4bda7c5f867b2e3d95ad4d1ef46
MD5 e973163b9c5a9ceb15f28d521722777e
BLAKE2b-256 e58fafc749e601ad267c1c09ae5fe73cda6ad377b045089f3056e3c954caca84

See more details on using hashes here.

File details

Details for the file uvinit-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: uvinit-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for uvinit-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 eded9a3a521849c99d35f08ede9aaee8f4058916e957168dc86a8807de969295
MD5 b48a1560b9a4461860f7c6ba8677de75
BLAKE2b-256 8d589e0945713c5297201b428a0b70fa6bf09e021e475b9c351a21beef145c4b

See more details on using hashes here.

Supported by

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