Skip to main content

An execution library for scripts written in any language. This is a fork of https://github.com/auroq/glotter

Project description

Glotter2

Makefile CI Coverage PyPI version Python Versions Python wheel

Glotter2 logo

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

  • 0.12.1:
    • Fix crash in serial download command
  • 0.12.0:
    • Convert to use uv instead of poetry
    • Convert to use ruff instead of pylint and black
    • Use ruff format instead of black to format generated tests
    • Update to pydantic v2
    • Update Development Status to Production/Stable
  • 0.11.0
    • Modified self expected output to be more strict so the actual code and generated code can only be different by a single newline
  • 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
  • 0.10.1
    • Run docker container with no entrypoint to allow docker images that specify ENTRYPOINT can be used
  • 0.10.0
    • Update poetry from 1.8.3 to 2.1.1
    • Remove python 3.8 support
  • 0.9.0:
    • Add check command
  • 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/finally to auto-generated project fixture to make sure docker container is cleaned up
    • Add try/finally to run command to make sure docker container is cleaned up
    • Add batch command
  • 0.6.1:
    • Update docker dependency to 6.1.0 to support urllib3 2.x
  • 0.6.0:
    • Add test documentation generation
  • 0.5.0:
    • Add test generation
    • Add pydantic dependency
  • 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.sleep when pulling image
  • 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, and test commands so that -p, -l, and -s are no longer mutually exclusive
    • Add --parallel to download command to parallelize image downloads
    • Add --parallel to test command to parallelize tests
  • 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, <7
      • Jinja >=3.1.2, <4
      • pytest >=7.2.1, <8
      • PyYAML >=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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

glotter2-0.12.1.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

glotter2-0.12.1-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file glotter2-0.12.1.tar.gz.

File metadata

  • Download URL: glotter2-0.12.1.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for glotter2-0.12.1.tar.gz
Algorithm Hash digest
SHA256 a6cf2eb572c3d7888b37120a36cc6eed2b073b2eeacb7439ce1c1dce7cf2af03
MD5 6f03a3dc37326bb86b9d5ce395cd2f01
BLAKE2b-256 e4bb420c476d27120545229b64566ee7464e06d0007e6fb8ec8db1ceb13b9c1b

See more details on using hashes here.

File details

Details for the file glotter2-0.12.1-py3-none-any.whl.

File metadata

  • Download URL: glotter2-0.12.1-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for glotter2-0.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 238b0d3839e86bb2002022c90912d90f5b6c29f588ac7cb3e41af5bfae131720
MD5 ab0ae17feae1ba56f5c8a57c8349ec71
BLAKE2b-256 f896f6ff4bd6fc0b124bf6e947d382a38b7787dee0e75c3b3a3e67c7a5764c9d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page