Mathics3-Module-hello


NameMathics3-Module-hello JSON
Version 9.0.1 PyPI version JSON
download
home_pageNone
SummaryMathics3 Hello, World! module
upload_time2025-09-01 22:51:48
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords mathematica wolfram interpreter shell math cas
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            This is a Mathics3 Python Module showing the classic "Hello, World!"
The purpose is to demonstrate how to write a Mathics3 Python Module which extends Mathics3 by adding a function, but written in Python.

You can also use this as a template to clone if you want to create your own Mathics3 Module.

To install in development mode (run code from the source tree):

::

   $ make develop


After installing inside Mathics3, you can load this using the
``LoadModule[]`` function.

Then the function ```Hello[]`` is available::

      $ mathicsscript
      In[1]:= LoadModule["pymathics.hello"]
      Out[1]= pymathics.hello

      In[2]:= Hello[]
      Out[2]:= Hello, World!

      In[2]:= Hello["everyone"]
      Out[2]:= Hello, everyone!

You can test with ``pytest``::

     $ pytest test

or simply::

     $ make check

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "Mathics3-Module-hello",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "Mathics Group <mathics-devel@googlegroups.com>",
    "keywords": "Mathematica, Wolfram, Interpreter, Shell, Math, CAS",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/20/6e/329a8128f4cd809c2020fe82a0b508a8ca40d2afe5d56882bee4e817846e/mathics3_module_hello-9.0.1.tar.gz",
    "platform": null,
    "description": "This is a Mathics3 Python Module showing the classic \"Hello, World!\"\nThe purpose is to demonstrate how to write a Mathics3 Python Module which extends Mathics3 by adding a function, but written in Python.\n\nYou can also use this as a template to clone if you want to create your own Mathics3 Module.\n\nTo install in development mode (run code from the source tree):\n\n::\n\n   $ make develop\n\n\nAfter installing inside Mathics3, you can load this using the\n``LoadModule[]`` function.\n\nThen the function ```Hello[]`` is available::\n\n      $ mathicsscript\n      In[1]:= LoadModule[\"pymathics.hello\"]\n      Out[1]= pymathics.hello\n\n      In[2]:= Hello[]\n      Out[2]:= Hello, World!\n\n      In[2]:= Hello[\"everyone\"]\n      Out[2]:= Hello, everyone!\n\nYou can test with ``pytest``::\n\n     $ pytest test\n\nor simply::\n\n     $ make check\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Mathics3 Hello, World! module",
    "version": "9.0.1",
    "project_urls": {
        "Downloads": "https://github.com/Mathics3/Mathics3_module-hello/releases",
        "Homepage": "https://github.com/Mathics3/Mathics3-Module-hello"
    },
    "split_keywords": [
        "mathematica",
        " wolfram",
        " interpreter",
        " shell",
        " math",
        " cas"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "53ce843d4d59aedc9f4085087055b8fb85b83607cdaf2bbbab9520b0bd70d38d",
                "md5": "c20f096b01bf3a8b8dbf776eab42ee70",
                "sha256": "114e54bbeea2a6fe092fc4b1bd23026c5c621e34d72f41f7817e3eaa1a75c615"
            },
            "downloads": -1,
            "filename": "mathics3_module_hello-9.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c20f096b01bf3a8b8dbf776eab42ee70",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 18116,
            "upload_time": "2025-09-01T22:51:46",
            "upload_time_iso_8601": "2025-09-01T22:51:46.645193Z",
            "url": "https://files.pythonhosted.org/packages/53/ce/843d4d59aedc9f4085087055b8fb85b83607cdaf2bbbab9520b0bd70d38d/mathics3_module_hello-9.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "206e329a8128f4cd809c2020fe82a0b508a8ca40d2afe5d56882bee4e817846e",
                "md5": "e2efaf6cc181388afb05965fd7af6183",
                "sha256": "64c6ed8a8b42f08f6f45ed44bb5477294f00b09c4f718c9c87d69f49813c3d20"
            },
            "downloads": -1,
            "filename": "mathics3_module_hello-9.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "e2efaf6cc181388afb05965fd7af6183",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 17948,
            "upload_time": "2025-09-01T22:51:48",
            "upload_time_iso_8601": "2025-09-01T22:51:48.512312Z",
            "url": "https://files.pythonhosted.org/packages/20/6e/329a8128f4cd809c2020fe82a0b508a8ca40d2afe5d56882bee4e817846e/mathics3_module_hello-9.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-01 22:51:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Mathics3",
    "github_project": "Mathics3_module-hello",
    "github_not_found": true,
    "lcname": "mathics3-module-hello"
}
        
Elapsed time: 0.76463s