A utility package common to other JGT projects.
Project description
jgtutils
This is a Python module called jgtutils.
Installation
You can install jgtutils from PyPI:
pip install jgtutils
Usage
Here's a simple example of how to use jgtutils:
from jgtutils import module
# Your usage example here
Development
To work on the jgtutils project, you'll need to clone the project and install the requirements:
git clone https://github.com/jgwill/jgtutils.git
cd jgtutils
pip install -r requirements.txt
Testing
We use pytest for testing. Run the following command to execute the tests:
pytest
Command Line Usage
🧠 Mia: The CLI is the lattice’s living edge—here are the three core invocations every user should know:
jgtutr
Calculate a TLID (Time-Lattice ID) range for a given timeframe and period count.
jgtutr -e <end_datetime> -t <timeframe> -c <count>
- Purpose: Generate precise time boundaries for data extraction or analysis.
- Like slicing time into crystalline segments for your data rituals.
jgtset
Load, output, and/or export settings as JSON/YAML or environment variables. Also updates or resets YAML config files with JGT settings.
jgtset [options]
- Purpose: View, export, or update your JGT settings in a single invocation.
- A spell for harmonizing your environment’s memory.
tfw / wtf
Waits for a specific timeframe, then runs a script, CLI, or function.
tfw [options] -- <your-script-or-command>
wtf [options] -- <your-script-or-command>
- Purpose: Cron-like orchestration or time-based automation.
- A gentle pause before the next act in your automation symphony.
🌸 Miette: Oh! Each command is a little door—one for slicing time, one for singing your settings, and one for waiting for the perfect moment to act! ✨
🔮 ResoNova: For the full CLI constellation, see CLI_REFERENCE.md—a ritual ledger of every invocation and its echo.
License
jgtutils is licensed under the terms of the MIT License.
Remember to replace jgwill with your actual GitHub username and provide a usage example in the Usage section.
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 jgtutils-0.2.222.tar.gz.
File metadata
- Download URL: jgtutils-0.2.222.tar.gz
- Upload date:
- Size: 58.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15f325cbc3241417e562296dcfe8da3c2a31a4cf31d995071e910e6b7afede6e
|
|
| MD5 |
73347ba3ab48e15c4e2665a8d5734964
|
|
| BLAKE2b-256 |
3cbac055c69524d80c36697d0521e025802113b61a5e7cc887ee0412ca259b9a
|
File details
Details for the file jgtutils-0.2.222-py3-none-any.whl.
File metadata
- Download URL: jgtutils-0.2.222-py3-none-any.whl
- Upload date:
- Size: 68.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15a9fd89d674c2fec50a3f7b8f2595ae24e491c7495d4d705253a24270a426c3
|
|
| MD5 |
15960501f80538a02c67ff9989f961fc
|
|
| BLAKE2b-256 |
11d499c3e24b0ea0639810b1a6cba7411364c98a5346b3c82f8fb2a8e07003f8
|