A lightweight Python framework for quick project setup, similar to Django but simpler
Project description
Vibe Framework
A lightweight Python framework for quick project setup, similar to Django but simpler.
Installation
Install from source (development)
poetry install
Install as a package
Once published to PyPI, you can install with:
pip install vibe-framework
Quick Start
Create a new project
# Create project in current directory
vibe init
# Or create project in a new directory
vibe init myproject
This creates:
main.py- Your main application filetests/- Test directory with example testspytest.ini- Pytest configurationrequirements.txt- Python dependencies
Run your project
vibe
This executes your main.py file.
Run tests
vibe test
This runs all tests in the tests/ directory using pytest.
Commands
vibe- Run the main.py file in the current directoryvibe init [project_name]- Initialize a new vibe projectvibe test- Run tests using pytest
Example
See example_main.py for a simple example of a main.py file that works with vibe.
Development
Running Tests
poetry run pytest
Code Formatting and Linting
This project uses pre-commit hooks for code quality. To set up:
poetry run pre-commit install
The following tools are configured:
- black: Code formatting
- isort: Import sorting
- flake8: Linting
Manual Formatting
poetry run black src tests
poetry run isort src tests
poetry run flake8 src tests
License
MIT License - see LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vibe_framework-0.2.0.tar.gz.
File metadata
- Download URL: vibe_framework-0.2.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.2 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9eea47ae2a353371e960dc2d0aa2129d203e784ed63d6bc0e8ba0e51a10fa028
|
|
| MD5 |
1f5ffbcb081850278043560716b748f2
|
|
| BLAKE2b-256 |
26af4a229424edc199c0dc0a287bc0dd9ea5fd383ee6f071d8e0ef5c333fb4f6
|
File details
Details for the file vibe_framework-0.2.0-py3-none-any.whl.
File metadata
- Download URL: vibe_framework-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.2 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a34fbac133c6402291e0f2d6d8bf179361da680240b243d73404b93a9b888177
|
|
| MD5 |
9b3a55ea816e3a02f96884079c341328
|
|
| BLAKE2b-256 |
3e977161244f6d73770c8e819d4642066349a46678365c2b4509fffba12c53fe
|