gluetube
A simple python script scheduler with a shared local key-value database. Meant to enable easy automation and integration of infrastructure and systems. Like cron, but with more bells and whistles.
installation
There are two ways to deploy gluetube.
- docker
- virtual machine / bare metal
docker
docker volume create gluetube-cfgdocker volume create gluetube-dbdocker run -d --init --name gluetube -v gluetube-cfg:/home/gluetube/.gluetube/etc -v gluetube-db:/home/gluetube/.gluetube/db ctomkow/gluetubedocker exec -it gluetube bashgt db --rekey
VM
adduser gluetubepip install --user gluetubegt --configuregt db --initgt daemon --backgroundgt db --rekey
example usage
gt --help
gt summary
gt schedule 1 --now
pipeline development
You are meant to develop your own pipelines in python for gluetube. The following is a brief description of how to get your development environment setup. These instructions assume you use VS code and docker.
-
docker pull ctomkow/gluetube -
docker volume create gluetube-db -
docker volume create gluetube-cfg -
docker run -itd --name gluetube --net=host -v gluetube-db:/home/gluetube/.gluetube/db -v gluetube-cfg:/home/gluetube/.gluetube/etc ctomkow/gluetube:latest -
Open VS code. In the docker-> containers section, right-click on the running gluetube container and
attach visual studio codeto running container. -
Within the container terminal, enter the pipelines directory.
cd pipelines -
Clone a repository.
git clone <url> .Note the.at the end of the git clone. This is important because we don't want the project folder as a subdirectory. -
Now you can develop your pipelines (.py files) while having a live gluetube daemon running within the container. All the gluetube cli commands are available to test out your pipeline code in a production-like environment.
gt --help
roadmap
Metadata
Release files for gluetube 0.1.1
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 |
|---|---|---|---|---|
| gluetube-0.1.1.tar.gz | 30.3 kB | Without provenance | Details for gluetube-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gluetube-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for gluetube-0.1.1-py3-none-any.whl |
Total release size: 66.5 kB
Release files / gluetube-0.1.1.tar.gz
| Download URL | gluetube-0.1.1.tar.gz |
|---|---|
| Size | 30.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fde50e549011a173ec578df4b8755a29f6c2e2bbb7a13bed84c714bbc7d1f31d
|
|
BLAKE2b-256 checksum How to use checksums |
94ed3783532e57214681ec5f85ad100867677d47bf49f442b31cab14c165ce69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.1
|
Release files / gluetube-0.1.1-py3-none-any.whl
| Download URL | gluetube-0.1.1-py3-none-any.whl |
|---|---|
| Size | 36.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ea39e7ed132b2103517db0aebcc293582a5c7ad187980a253679b64299bf2c9
|
|
BLAKE2b-256 checksum How to use checksums |
2b14dd37d972d0ec04e2ba2fca0109159a7743c9e5db04d1bd87ec56aed72286
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.1
|
Security for gluetube 0.1.1
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.