Skip to main content

GramadánPy

With thanks to michmech (Michal Měchura)!

[UNOFFICIAL] A pure Python conversion of michmech's Gramadán.

Note that, at present, the Python is not idiomatic. It is intentionally kept similar to the original C#, although primarily in paradigm. The code here is extensively typed, and passes both mypy and black checkers.

Installation

This can be installed with poetry:

poetry install

The test suite can be executed, from this directory.

Tests

If you do not wish to install or run the .NET setup, you can still execute the pure Python test suite:

poetry run pytest tests/python

Comparison Checking

This directory contains a tool that can be run:

./comparison.sh

This has been set up (at present) to run from the working directory.

It assumes that you have built the C# Tester.csproj project in the /Tester folder and that a binary exists at ../Tester/bin/Debug/Tester.exe

Path separators are currently Linux, to simplify visual code comparison, but these can be made OS-independent.

For the purposes of comparison, the following xbuild was used:

XBuild Engine Version 14.0
Mono, Version 6.8.0.105
Copyright (C) 2005-2013 Various Mono authors

The command executed in the Tester folder was:

xbuild

The equivalent Python was originally compared with Python 3.9.7

Metadata

Release files for gramadan-py 0.1.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 gramadan-py 0.1.1
File Size Uploaded
gramadan-py-0.1.1.tar.gz 47.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gramadan-py 0.1.1
File Interpreter ABI Platform
gramadan_py-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 106.7 kB

Release files / gramadan-py-0.1.1.tar.gz

Download URL gramadan-py-0.1.1.tar.gz
Size 47.5 kB
Tags Source
SHA-256 checksum
How to use checksums
59265652d3411517fc5a9878b508a097d7760b3c0598e869c0702f3fea373c5d
BLAKE2b-256 checksum
How to use checksums
29a6913e9aac45965fe9342e0f0e552d4f6853ffaeb2f6d882e89d44ce6d3870
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.9.7 Linux/5.10.0-1050-oem

Release files / gramadan_py-0.1.1-py3-none-any.whl

Download URL gramadan_py-0.1.1-py3-none-any.whl
Size 59.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7a11738c4e839182d54c4fb1f0edeedd0fd8b2ad09fce77a1e8701b2ce2d277
BLAKE2b-256 checksum
How to use checksums
0ce8163ea1d8b07bb1f3478a721588ab091998f5a14814362a672a8a820aa3fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.9.7 Linux/5.10.0-1050-oem

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

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