Skip to main content

Snok

🚀 A simple, modern, full-stack toolkit for Python 🐍

Test publish Coverage PyPI


Documentation: https://snok.corletti.xyz

Source Code: https://github.com/anthonycorletti/snok


Snok is a simple, modern, full-stack toolkit for Python.

Snok is in it's earliest stages, so feedback and ideas are very welcome and encouraged. Please open an issue if you have a question, comment, feature request, idea, etc, and/or connect with Anthony directly on Twitter if you'd like to get in touch about the project.

🙋 Why?

The Python tooling ecosystem has plenty of options, and often times, it's not clear whether or not you're following the "right" way to do things, especially when those ways are changing week to week.

With this in mind, snok is a Python toolkit for developers that focuses on making it simple and easy to build modern, full-stack applications, across web and AI frameworks.

Snok leverages tools and packages from the Python ecosystem with awesome performance and developer experience to provide simple, effective, and easy to use workflows for developers.

Snok is designed for the programmer, and not much else.

🎉 Featuring

  • Package generation
  • Built-in dependency management
  • Packaging with setuptools
  • Linting and formatting with ruff and black
  • Type checking with mypy
  • Async, multi-worker testing with pytest
  • Async API scaffolding with fastapi
  • Async database integration with pydantic, sqlmodel, and alembic
  • Natively deploy to Modal and run key-value stores, jobs, and seamlessly access GPU compute.

🤩 Coming Soon

  • AI framework integrations with pytorch and langchain
  • Documentation site generation with mkdocs and mkdocs-material
  • Connect to monitoring with services like sentry and logz, or with DIY opentelemetry
  • Web-page generation with tailwindcss and htmx
  • Deployment stacks with docker, skaffold and kustomize
  • Queueing and caching stacks with arq and redis
  • Want to make a feature request? 📥 Submit one here!

Check out the latest issues and pull requests to see what else is happening.

📝 Requirements

  • Python 3.11+
  • pip

⚙️ Installation

After you've created your Python 3.11+ virtual environment in a new directory, install Snok:

pip install snok

🐍 Getting Started

Create a new package with:

snok new mypackage

To install dependencies:

snok install

To add a new dependency:

snok add fastapi

To remove a dependency:

snok remove fastapi

🫶 How can I help?

📲 Contact

Reach out on Twitter if you'd like to get in touch!

 

Metadata

Release files for snok 0.0.17

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

Source distribution (sdist)

Source distribution for snok 0.0.17
File Size Uploaded Provenance Actions
snok-0.0.17.tar.gz 95.8 kB Without provenance Details for snok-0.0.17.tar.gz

Built distribution (wheel)

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

Total release size: 228.2 kB

Release files / snok-0.0.17.tar.gz

Download URL snok-0.0.17.tar.gz
Size 95.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c91c4e270d2083c04a73922c43a891196f6fec941d4531acb6f8d64b3bfd6b1d
BLAKE2b-256 checksum
How to use checksums
e34572e8586d2e3a0c1434b5a0898cdddff69ea86519ed7afa532913a0f12e3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / snok-0.0.17-py3-none-any.whl

Download URL snok-0.0.17-py3-none-any.whl
Size 132.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1c18b27d335364a343099df8a30e9e888433ec7d3ddaa4bd3ab161e718210bc
BLAKE2b-256 checksum
How to use checksums
c5f0e9c5698fb88eee090b2a093d740cb50e7c72f17c06641e7c35b037dc8f7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Security for snok 0.0.17

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.

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