joop
OOP Paradigms with an emphasis on DAO patterns, HTMX, and AlpineJS.
- Free software: Apache Software License 2.0
- Documentation: https://rushinjgr.github.io/joop
Features
- HTML Components for server-side rendering.
- Declarative DataFlow module:
- Data model based.
- Supports caching & queueing, especially via SQLite.
- Supports fanout of outbound data to multiple sources of different varieties.
- Ideal for IoT use cases.
Getting Started
Setting Up a Virtual Environment
It is recommended to use poetry to manage the virtual environment and dependencies. Follow these steps:
-
Install
poetryglobally if it is not already installed:pip install poetry
-
Install the Poetry Shell plugin to enable the
poetry shellcommand:poetry self add poetry-plugin-shell
-
Use
poetryto install all dependencies (including development tools liketwine):poetry installThis will automatically create a virtual environment in the
.venvfolder inside the project directory, as specified in thepoetry.tomlfile. -
To activate the virtual environment, use:
poetry shell
Build commands
-
Run
poetry checkto validate thepyproject.tomlfile:poetry check -
Build the package using
python -m build:poetry run python -m build
This will generate distribution files in the
dist/directory. -
Verify the distribution files using
twine check:poetry run twine check dist/*
This ensures the distribution files are ready for upload to PyPI.
Building the Documentation
To build the documentation, follow these steps:
-
Ensure all dependencies, including development dependencies, are installed:
poetry install --with dev
-
Build the documentation using Sphinx:
poetry run sphinx-build -b html docs/source docs/build/html
The generated HTML files will be located in the
docs/build/htmldirectory. -
Open the documentation in your browser by navigating to:
docs/build/html/index.html
Commands
For all commands, run in joop/python
To run the CLI: python -m joop.cli
For tests, run python -m unittest joop.tests (add -vvv to see output)
For coverage, run:
coverage run -m unittest joop.tests
coverage report
Metadata
Release files for joop 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| joop-0.1.6.tar.gz | 85.3 kB | Without provenance | Details for joop-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| joop-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for joop-0.1.6-py3-none-any.whl |
Total release size: 144.2 kB
Release files / joop-0.1.6.tar.gz
| Download URL | joop-0.1.6.tar.gz |
|---|---|
| Size | 85.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5be3417ba9aba2e54351b370def73c4d805bb55576486b8feb8137b39df0344d
|
|
BLAKE2b-256 checksum How to use checksums |
48a5b6a0c12a5bac6437a1832bd560ecb2c55194aa423345efe8d354994f558a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.17
|
Release files / joop-0.1.6-py3-none-any.whl
| Download URL | joop-0.1.6-py3-none-any.whl |
|---|---|
| Size | 58.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
01e6c669ff484cde48613145ff9d3ed343cb9a97c6a47731cf7b83a759ae9d0d
|
|
BLAKE2b-256 checksum How to use checksums |
235a4a574ccd3f25d3ec3572b2da2aceed56fb3f7d5471882f05f668beeaff51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.17
|
Security for joop 0.1.6
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.