Skip to main content

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

Project description

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!

 

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

snok-0.0.14.tar.gz (96.0 kB view details)

Uploaded Source

Built Distribution

snok-0.0.14-py3-none-any.whl (132.5 kB view details)

Uploaded Python 3

File details

Details for the file snok-0.0.14.tar.gz.

File metadata

  • Download URL: snok-0.0.14.tar.gz
  • Upload date:
  • Size: 96.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for snok-0.0.14.tar.gz
Algorithm Hash digest
SHA256 da7fb0ab4b442793a736fdb218250028f35d6c53d5971ad15a227ccdf7f6b1b6
MD5 0cfb0cf1919dbc2d42bf34b56f9a27d1
BLAKE2b-256 af8285923e85c756a88db81b981691cd3e6b257bfb2f0e2f7b5a8430c103beef

See more details on using hashes here.

File details

Details for the file snok-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: snok-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 132.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for snok-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 4cf70486665185a5d69e51c2b1434dd025a60baac890b3778efc7b69600ac957
MD5 3603a4c3709b974a6af55b26e57fdf7d
BLAKE2b-256 aa894bc9fc34ab6d584f9a057d4fae90334ce9ab9b3af93836b8a0647d586285

See more details on using hashes here.

Supported by

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