mathpy-string


Namemathpy-string JSON
Version 1.1 PyPI version JSON
download
home_page
SummaryMathPy Project Programming language
upload_time2023-12-11 13:53:31
maintainer
docs_urlNone
authorJoyful-Bard
requires_python
license
keywords mathpy script language
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# MathPy



For information about the language itself,

check out the [documentation](#https://github.com/Bard-Gaming/MathPy/tree/main/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

```commandline

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:



```python

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:



```commandline

python -m mathpy run [filepath]

```



or, if you wish to access the shell:



```commandline

python -m mathpy shell

```



or simply:



```commandline

python -m mathpy

```


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "mathpy-string",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "mathpy,script,language",
    "author": "Joyful-Bard",
    "author_email": "<thisis@notarealemail.com>",
    "download_url": "https://files.pythonhosted.org/packages/3b/ae/6334c8cf863f8aa06459bd678c6a5580aeba8e6ffebd7b80342d73761119/mathpy-string-1.1.tar.gz",
    "platform": null,
    "description": "\r\n# MathPy\r\n\r\n\r\n\r\nFor information about the language itself,\r\n\r\ncheck out the [documentation](#https://github.com/Bard-Gaming/MathPy/tree/main/Documentation).\r\n\r\n\r\n\r\n## About\r\n\r\nMathPy is a Python library that acts as a completely new\r\n\r\nprogramming language.\r\n\r\n\r\n\r\nThe goal of this project is to experiment with strings as \r\n\r\nnumbers in a high enough base to allow for a multitude of\r\n\r\ncharacters, and to see if this could be a viable alternative\r\n\r\nto the classical way of implementing character strings.\r\n\r\n\r\n\r\nFor instance, in hexadecimal, the string \"baba\" would\r\n\r\nhave a numerical value of 47802.\r\n\r\n\r\n\r\n## Install MathPy\r\n\r\n```commandline\r\n\r\npip install mathpy-string\r\n\r\n```\r\n\r\n\r\n\r\n## Run files in MathPy\r\n\r\n### The Python way\r\n\r\nIf you wish to run your MathPy files through a Python program,\r\n\r\nyou can do so by importing the ``run_file()`` function from\r\n\r\nthe mathpy library, as follows:\r\n\r\n\r\n\r\n```python\r\n\r\nfrom mathpy import run_file\r\n\r\n\r\n\r\nwith open(\"[filepath]\", 'rt', encoding='utf-8') as file:\r\n\r\n    run_file(file)\r\n\r\n```\r\n\r\n\r\n\r\n### The command line way\r\n\r\nIf you wish to run your MathPy files through the command line,\r\n\r\nyou can do it as follows:\r\n\r\n\r\n\r\n```commandline\r\n\r\npython -m mathpy run [filepath]\r\n\r\n```\r\n\r\n\r\n\r\nor, if you wish to access the shell:\r\n\r\n\r\n\r\n```commandline\r\n\r\npython -m mathpy shell\r\n\r\n```\r\n\r\n\r\n\r\nor simply:\r\n\r\n\r\n\r\n```commandline\r\n\r\npython -m mathpy\r\n\r\n```\r\n\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "MathPy Project Programming language",
    "version": "1.1",
    "project_urls": null,
    "split_keywords": [
        "mathpy",
        "script",
        "language"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "760211eec51e589192d630c579246752e1004378304883030b1ce3fce106d58e",
                "md5": "f34ff16a550cb13f6abb5f4da721d40c",
                "sha256": "5d642de4cf60125df4e580eb20dbe419277d187aa864a05a45f88fac3041a893"
            },
            "downloads": -1,
            "filename": "mathpy_string-1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f34ff16a550cb13f6abb5f4da721d40c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 19811,
            "upload_time": "2023-12-11T13:53:30",
            "upload_time_iso_8601": "2023-12-11T13:53:30.487365Z",
            "url": "https://files.pythonhosted.org/packages/76/02/11eec51e589192d630c579246752e1004378304883030b1ce3fce106d58e/mathpy_string-1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3bae6334c8cf863f8aa06459bd678c6a5580aeba8e6ffebd7b80342d73761119",
                "md5": "ca1da0fa069fe10fb03100c7c85b7606",
                "sha256": "1058cd95a084ad5e501486953a92bb0a2dc06bb06b76ead784f43923e79d5ef0"
            },
            "downloads": -1,
            "filename": "mathpy-string-1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "ca1da0fa069fe10fb03100c7c85b7606",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 17316,
            "upload_time": "2023-12-11T13:53:31",
            "upload_time_iso_8601": "2023-12-11T13:53:31.740502Z",
            "url": "https://files.pythonhosted.org/packages/3b/ae/6334c8cf863f8aa06459bd678c6a5580aeba8e6ffebd7b80342d73761119/mathpy-string-1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-11 13:53:31",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "mathpy-string"
}
        
Elapsed time: 0.15058s