An execution library for scripts written in any language. This is a fork of https://github.com/auroq/glotter
Project description
Glotter2
The programming language icons were downloaded from pngegg.com
This is a fork of the original Glotter repository, which appears to be unmaintained.
Glotter2 is an execution library for collections of single file scripts. It uses Docker to be able to build, run, and optionally test scripts in any language without having to install a local sdk or development environment.
For getting started with Glotter2, refer to our documentation.
Contributing
If you'd like to contribute to Glotter2, read our contributing guidelines.
Changelog
Glotter2 releases
- Future release:
- Convert to use
uvinstead ofpoetry - Convert to use
ruffinstead ofpylintandblack - Use
ruff formatinstead ofblackto format generated tests
- Convert to use
- 0.11.0
- Modified
selfexpected output to be more strict so the actual code and generated code can only be different by a single newline
- Modified
- 0.10.2
- Fix bug where double quotes at the end of a string that is enclosed
in
"""for a test value were not being escaped
- Fix bug where double quotes at the end of a string that is enclosed
in
- 0.10.1
- Run docker container with no entrypoint to allow docker images that
specify
ENTRYPOINTcan be used
- Run docker container with no entrypoint to allow docker images that
specify
- 0.10.0
- Update poetry from 1.8.3 to 2.1.1
- Remove python 3.8 support
- 0.9.0:
- Add
checkcommand
- Add
- 0.8.2:
- Update to docker 7.1.0
- 0.8.1:
- Update to black 24.4.0
- 0.8.0:
- Add ability to split lines on the expected value
- 0.7.2:
- Make sure temporary directory used for docker is world accessible
- 0.7.1:
- Remove work-in-progress from changelog
- 0.7.0:
- Add
try/finallyto auto-generated project fixture to make sure docker container is cleaned up - Add
try/finallytoruncommand to make sure docker container is cleaned up - Add
batchcommand
- Add
- 0.6.1:
- Update
dockerdependency to 6.1.0 to supporturllib32.x
- Update
- 0.6.0:
- Add test documentation generation
- 0.5.0:
- Add test generation
- Add
pydanticdependency
- 0.4.5:
- Add link to documentation
- 0.4.4:
- Fix bug that would indicate "No tests were found" when filtering tests
- 0.4.2:
- Remove call to
time.sleepwhen pulling image
- Remove call to
- 0.4.1:
- Bump version since wrong version pushed to pypi
- 0.4.0:
- Change test ID from
<filename>to<language>/<filename> - Speed up test collection by about 1 min and total test time by about 5 min in sample-programs by caching list of sources
- Modify
download,run, andtestcommands so that-p,-l, and-sare no longer mutually exclusive - Add
--paralleltodownloadcommand to parallelize image downloads - Add
--paralleltotestcommand to parallelize tests
- Change test ID from
- 0.3.0:
- Fix crash when running tests for sample-programs with glotter 0.2.x
- Upgrade dependencies to latest version:
docker >=6.0.1, <7Jinja >=3.1.2, <4pytest >=7.2.1, <8PyYAML >=6.0, <7
- Upgrade python to 3.8 or above
Original Glotter releases
- 0.2.x: Add reporting verb to output discovered sources as a table in stdout or to a csv
- 0.1.x: Initial release of working code.
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 glotter2-0.12.0a0.tar.gz.
File metadata
- Download URL: glotter2-0.12.0a0.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30fcf2b780aff837d73e1df5dee1c271ffdde04c63512e57f2f91afa2f8c0686
|
|
| MD5 |
c177e0880058c9287a6c38c94422560c
|
|
| BLAKE2b-256 |
b214b7416604f3dbb2d05e208d8f00eba796a240aa4141387d5856a02f5289d9
|
File details
Details for the file glotter2-0.12.0a0-py3-none-any.whl.
File metadata
- Download URL: glotter2-0.12.0a0-py3-none-any.whl
- Upload date:
- Size: 24.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1f1d53f6b34b382e2327353109974b00cb54860711e21a9efec421d1d2e5184
|
|
| MD5 |
88e1222e31f95cf0be3171e1e8891583
|
|
| BLAKE2b-256 |
202b7faa2e3b80877c3d2408dd3e9555337c7ebb1f243f16d993ce4399b25cae
|