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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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