Skip to main content

joop

image

OOP Paradigms with an emphasis on DAO patterns, HTMX, and AlpineJS.

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:

  1. Install poetry globally if it is not already installed:

    pip install poetry
    
  2. Install the Poetry Shell plugin to enable the poetry shell command:

    poetry self add poetry-plugin-shell
    
  3. Use poetry to install all dependencies (including development tools like twine):

    poetry install
    

    This will automatically create a virtual environment in the .venv folder inside the project directory, as specified in the poetry.toml file.

  4. To activate the virtual environment, use:

    poetry shell
    

Build commands

  1. Run poetry check to validate the pyproject.toml file:

    poetry check
    
  2. Build the package using python -m build:

    poetry run python -m build
    

    This will generate distribution files in the dist/ directory.

  3. 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:

  1. Ensure all dependencies, including development dependencies, are installed:

    poetry install --with dev
    
  2. 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/html directory.

  3. 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)

Source distribution for joop 0.1.6
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)

Table of built distributions (wheels) for joop 0.1.6
File Interpreter ABI Platform Actions
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.

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