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.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.9.0.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

glotter2-0.9.0-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: glotter2-0.9.0.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.8.18 Linux/6.8.0-1014-azure

File hashes

Hashes for glotter2-0.9.0.tar.gz
Algorithm Hash digest
SHA256 4540dcd67817270a104dc9058a3b5eaa3065947598b549233f490131dafbfaaa
MD5 e402bf450979a38a1f8b74e97536f72e
BLAKE2b-256 962e8e2e1fbbb68aa672e5fe62130a17b261a553be9b0e10b3c418e668e9dc68

See more details on using hashes here.

File details

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

File metadata

  • Download URL: glotter2-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 25.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.8.18 Linux/6.8.0-1014-azure

File hashes

Hashes for glotter2-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e13641e533d47d1cb01e1293b833f38770e12d1ecbf4a74cf205c1a20d507e38
MD5 8a18c1010d448b6ca8c5ebb83c42a131
BLAKE2b-256 872b959a7a15010ae05bc933d7e00bc825e66dfca9a3f23d986d69357b72f4a6

See more details on using hashes here.

Supported by

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