Helps managing your project's instance list
Project description
ILGen - The Instance List Generator
A Python script for "translating" a list of application instances from an instances.json to a Markdown table.
Installation
To install the script, you can clone the repository and run the following command:
pip install .
Usage
First, ensure that you have an instances.json file. The file should have the following structure:
[
{
"name": "Instance 1",
"url": "https://example.com",
"provider": {
"name": "Provider 1",
"url": "https://provider1.com"
},
"location": "AT", // This is the ISO 3166-1 alpha-2 country code
"notes": "This is a note."
},
{
…
}
]
Also ensure that you have a README.md file with the following placeholder:
<!-- START_INSTANCE_LIST -->
<!-- END_INSTANCE_LIST -->
To use the script, you can run the following command:
ilgen
This will insert the data from the instances.json file into the placeholder in the README.md file.
Filters
You can add filters to the placeholder to only include instances that match the filter. For example, you can add the following filter to only include instances from Austria:
<!-- START_INSTANCE_LIST location:eq="AT" -->
<!-- END_INSTANCE_LIST -->
You can also add multiple filters by separating them with a space. These types of filters are combined with an AND operation. For example, you can add the following filter to only include instances from Austria that have a note:
<!-- START_INSTANCE_LIST location:eq="AT" notes:neq="" -->
<!-- END_INSTANCE_LIST -->
The following filters are available:
eq: Equal tone: Not equal tolt: Less thanlte: Less than or equal togt: Greater thangte: Greater than or equal tocontains: Containsstartswith: Starts withendswith: Ends with
License
This project is licensed under the MIT License - see the LICENSE file for details.
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 ilgen-0.1.1.tar.gz.
File metadata
- Download URL: ilgen-0.1.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69736a6d6b4d1aa3577794d2f7691f6e1ed5ee5d6e8ae959429ffdd8cbb82a65
|
|
| MD5 |
fcf91f7683aab307e6c7a2768d439d3c
|
|
| BLAKE2b-256 |
1bc6c76f7cff512e1bbc22798a6db51208f6148f4a9b79227e64f359878717bb
|
File details
Details for the file ilgen-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ilgen-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b39eb62f7bd2dd291c459b257e04c96f017c2604aebdbacffc33d35f410e11f
|
|
| MD5 |
1857caa40b09c269045cbd2023d9dd35
|
|
| BLAKE2b-256 |
fc0ab4a99321825f50de8a19709cc4b57724a4c8092a75e13aa1e2fba32dfb65
|