Skip to main content

MathPy

For information about the language itself,

check out the documentation.

About

MathPy is a Python library that acts as a completely new

programming language.

The goal of this project is to experiment with strings as

numbers in a high enough base to allow for a multitude of

characters, and to see if this could be a viable alternative

to the classical way of implementing character strings.

For instance, in hexadecimal, the string "baba" would

have a numerical value of 47802.

Install MathPy

pip install mathpy-string

Run files in MathPy

The Python way

If you wish to run your MathPy files through a Python program,

you can do so by importing the run_file() function from

the mathpy library, as follows:

from mathpy import run_file



with open("[filepath]", 'rt', encoding='utf-8') as file:

    run_file(file)

The command line way

If you wish to run your MathPy files through the command line,

you can do it as follows:

python -m mathpy run [filepath]

or, if you wish to access the shell:

python -m mathpy shell

or simply:

python -m mathpy

Metadata

Release files for mathpy-string 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 mathpy-string 1.1
File Size Uploaded
mathpy-string-1.1.tar.gz 17.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mathpy-string 1.1
File Interpreter ABI Platform
mathpy_string-1.1-py3-none-any.whl Python 3 none any Details

Total release size: 37.1 kB

Release files / mathpy-string-1.1.tar.gz

Download URL mathpy-string-1.1.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1058cd95a084ad5e501486953a92bb0a2dc06bb06b76ead784f43923e79d5ef0
BLAKE2b-256 checksum
How to use checksums
3bae6334c8cf863f8aa06459bd678c6a5580aeba8e6ffebd7b80342d73761119
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / mathpy_string-1.1-py3-none-any.whl

Download URL mathpy_string-1.1-py3-none-any.whl
Size 19.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d642de4cf60125df4e580eb20dbe419277d187aa864a05a45f88fac3041a893
BLAKE2b-256 checksum
How to use checksums
760211eec51e589192d630c579246752e1004378304883030b1ce3fce106d58e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files

1.0

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