Skip to main content

Monokel

Monokel sits on top of Watchdog and exposes an easy way on how to register filesystem event handlers that will eventually run inside a Docker container.

Install

Install and update using pip:

$ pip install -U monokel

Getting Started

The build step

To run an event loop that observes filesystem events from within the container we have to configure and build the actual docker-compose file first.

Monokel provides a build command that will do most of that for you and creates everything the resulting compose file needs to set up the final service.

$ monokel build --help

There are components you can optionally provide and a mandatory one - the python file we call the config.

The (python) config

The idea of the config is to provide a single entry point as a file for the event loop that will eventually run within the docker container. It defines what Observer to run and which EventHandlers to schedule for given paths.

As your eventhandlers might become very specific and require external packages it is by intention that you can make use of them from within the config as long as they can be found in PYPI and installed via pip. See config requirements.

The config file itself can have any name as you can provide the location to the script path.

The config requirements

TBC...

Metadata

Release files for monokel 0.0.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 monokel 0.0.6
File Size Uploaded Provenance Actions
monokel-0.0.6.tar.gz 10.4 kB Without provenance Details for monokel-0.0.6.tar.gz

Built distribution (wheel)

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

Total release size: 21.3 kB

Release files / monokel-0.0.6.tar.gz

Download URL monokel-0.0.6.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a417d824e3b84493f5ace9fa1f18082baeb0f5fac1197e3c88d5f1e350b9eed1
BLAKE2b-256 checksum
How to use checksums
5290467bac451e208cf9463a7a0df73d498412344ce60c49cec43ac2fb1ed7c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.10

Release files / monokel-0.0.6-py3-none-any.whl

Download URL monokel-0.0.6-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
985d16b54e67458050064421fb29fadfce5b400e0eb4669740c436adcde4151b
BLAKE2b-256 checksum
How to use checksums
c6300c6bc7049cafeda3a743e62988c019d76b632e60cc672b5e5045e20dcb4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.10

Security for monokel 0.0.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.

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files No provenance

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