Skip to main content

No project description provided

Project description

Mathematical Greek for Python

Why write pi when you could write π?

This package provides - and monkey patches - Greek aliases for builtins and standard library functions.

Usage

Either import the Greek aliases from the greek module:

from greek import π

Or just import greek first and use the aliases from the standard library:

import greek
from math import π

But what if the taste of importing an English name like greek doesn't sit right with you? We got you:

import ελληνικά
from math import τ
from ελληνικά import Π

List of aliases

Original Greek
sum Σ
sum 𝚺
int
complex
math.pi π
math.pi 𝜋
math.tau τ
math.tau 𝜏
math.e 𝑒
math.prod Π
math.gamma Γ
statistics.stdev σ

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

greek-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

greek-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file greek-0.1.0.tar.gz.

File metadata

  • Download URL: greek-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for greek-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e9dca931a53a91890f975a2a774cc8d04e84d7e9bf959ec345baedd59406c21d
MD5 484793c7b7b4ba636cb3c50807a88c3a
BLAKE2b-256 45593d2d9f032977ed0cfbcb49a9288c729b99a5e518d23839ce933e6d5b2300

See more details on using hashes here.

File details

Details for the file greek-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: greek-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for greek-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a39cf55641f5a8bb7e2863e37eed7d051dbcda785c214e1f5bd2520e9aae32a
MD5 ad71a6d5f9f49a7e85be62b687e8969c
BLAKE2b-256 2af211ba210aa716ca3cf30be903e6721f434cafdebaf6547635900e2b5a6f46

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