Skip to main content

Snipkit

Create projects swiftly from snipkits (project templates) with this command-line utility. Ideal for generating Python package projects and more.

Installation

Install snipkit using pip package manager:

# pipx is strongly recommended.
pipx install snipkit

# If pipx is not an option,
# you can install snipkit in your Python user directory.
python -m pip install --user snipkit

Features

  • Cross-Platform: Supports Windows, Mac, and Linux.
  • User-Friendly: No Python knowledge required.
  • Versatile: Compatible with Python 3.7 to 3.12.
  • Multi-Language Support: Use templates in any language or markup format.

For Users

Quick Start

The recommended way to use Snipkit as a command line utility is to run it with pipx, which can be installed with pip install pipx, but if you plan to use Snipkit programmatically, please run pip install snipkit.

Use a GitHub template

# You'll be prompted to enter values.
# Then it'll create your Python package in the current working directory,
# based on those values.
# For the sake of brevity, repos on GitHub can just use the 'gh' prefix
$ pipx run snipkit gh:khulnasoft/snipkit

Use a local template

$ pipx run snipkit snipkit-pypackage/

Use it from Python

from snipkit.main import snipkit

# Create project from the snipkit-pypackage/ template
snipkit('snipkit-pypackage/')

# Create project from the snipkit-pypackage.git repo template
snipkit('gh:audreyfeldroy//snipkit-pypackage.git')

Detailed Usage

  • Generate projects from local or remote templates.
  • Customize projects with snipkit.json prompts.
  • Utilize pre-prompt, pre- and post-generate hooks.

Learn More

For Template Creators

  • Utilize unlimited directory nesting.
  • Employ Jinja2 for all templating needs.
  • Define template variables easily with snipkit.json.

Learn More

Available Templates

Discover a variety of ready-to-use templates on GitHub.

Metadata

Release files for snipkit 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for snipkit 1.0.0
File Size Uploaded Provenance
snipkit-1.0.0.tar.gz 135.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for snipkit 1.0.0
File Interpreter ABI Platform
snipkit-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 171.8 kB

Release files / snipkit-1.0.0.tar.gz

Download URL snipkit-1.0.0.tar.gz
Size 135.7 kB
Tags Source
SHA-256 checksum
How to use checksums
bcfa27586789ec3cb927f3f9d98ad3e8a707bbacb54731e695f9e914d9f16b41
BLAKE2b-256 checksum
How to use checksums
a9c6ee4fc501e9842d5c8ce3fa40360d2cb625581f4378e37d5a690d98846095
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / snipkit-1.0.0-py3-none-any.whl

Download URL snipkit-1.0.0-py3-none-any.whl
Size 36.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0f94071d5e6fcf9a8f87dc9eda5eafcb2d221bb3c2abeefa98a2340c41e03b2
BLAKE2b-256 checksum
How to use checksums
56f3204dd7eb655579b88a891636a859436b7cdeeb8b621ee52cbe125e13c7e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Security for snipkit 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page