Skip to main content

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.17.1
    • Add security option seccomp=unconfined to support wine in Ubuntu 26.04
  • 0.17.0
    • Add ability to repeat specified tests a specified number of times
  • 0.16.0
    • Drop support for python 3.9
    • Update to pytest 9.x
  • 0.15.0
    • Remove Singleton class. This affects the Settings and ContainerFactory classes:
      • Instead of Settings(), use get_settings()
      • Instead of ContainerFactory(), use get_container_factory()
    • Use glotter2-core for the following:
      • Parse settings (CoreSettingsParser)
      • Provide common source information (CoreSource)
      • Provide common project mixin (CoreProjectMixin)
    • TestInfo class is no part of glotter2-core. This adds the following:
      • Language display name (e.g., PHP, C++, etc.)
      • Allow for untestable languages by allowing container to be empty
      • Add notes for a language
  • 0.14.0:
    • Add support for common test strings to reduce duplication in tests
  • 0.13.0:
    • Add support for python 3.14
  • 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.

Metadata

Release files for glotter2 0.17.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for glotter2 0.17.1
File Size Uploaded Provenance Actions
glotter2-0.17.1.tar.gz 20.2 kB Without provenance Details for glotter2-0.17.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for glotter2 0.17.1
File Interpreter ABI Platform Actions
glotter2-0.17.1-py3-none-any.whl Python 3 none any Details for glotter2-0.17.1-py3-none-any.whl

Total release size: 45.2 kB

Release files / glotter2-0.17.1.tar.gz

Download URL glotter2-0.17.1.tar.gz
Size 20.2 kB
Tags Source
SHA-256 checksum
How to use checksums
064d26fed95637babcd6e49ce1396f90d0f9da674be10113455dbc873b890e46
BLAKE2b-256 checksum
How to use checksums
ddd6215f599236ca8fcb77b698f2373edc92ff55542945421caae9305aa278d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / glotter2-0.17.1-py3-none-any.whl

Download URL glotter2-0.17.1-py3-none-any.whl
Size 25.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
470818fe301e9a457b1a69b55f4b6841498716816989ca7f047035c848fecdb2
BLAKE2b-256 checksum
How to use checksums
2c4baf21f7f1fad6257484c58fec8bdfcde8ba5e10b8523002614e2e658fd790
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for glotter2 0.17.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.

Release history Release notifications | RSS feed

This release

0.17.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page