Skip to main content

No project description provided

Project description

Test PyMathics module

This is a Python module for Mathics that is an simple “Hello, World” example that is typically used as a minimal example for demonstration.

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

Here we are demonstrating how to write a PyMathics module.

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

$ make develop

After installing inside Mathics 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["World"]
Out[2]:= Hello, World!

You can test with py.test:

$ py.test test

or simply:

$ make check

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymathics-hello-7.0.0.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

pymathics_hello-7.0.0-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file pymathics-hello-7.0.0.tar.gz.

File metadata

  • Download URL: pymathics-hello-7.0.0.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for pymathics-hello-7.0.0.tar.gz
Algorithm Hash digest
SHA256 97f3d9f46ee9d2ab119b00c7dc97dbe41b42c954aa351b102c99433f827afb0e
MD5 431b1b5a0d76af97f3e29d5094c70f9e
BLAKE2b-256 e65bc40e7339a1591e8a06c2a1f066a345820d1165533b5c3e75b96506a8b792

See more details on using hashes here.

File details

Details for the file pymathics_hello-7.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pymathics_hello-7.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c3b673b442078742590576962d245088a7abe6ce16d4ed861557d2900529c7a
MD5 ab93f37d53d62a6a1a1d0b44462b950a
BLAKE2b-256 6e9206a401c91a083985d11f09d09411b7de16cc9c4056a6866889029eada049

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