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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97f3d9f46ee9d2ab119b00c7dc97dbe41b42c954aa351b102c99433f827afb0e |
|
MD5 | 431b1b5a0d76af97f3e29d5094c70f9e |
|
BLAKE2b-256 | e65bc40e7339a1591e8a06c2a1f066a345820d1165533b5c3e75b96506a8b792 |
File details
Details for the file pymathics_hello-7.0.0-py3-none-any.whl
.
File metadata
- Download URL: pymathics_hello-7.0.0-py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c3b673b442078742590576962d245088a7abe6ce16d4ed861557d2900529c7a |
|
MD5 | ab93f37d53d62a6a1a1d0b44462b950a |
|
BLAKE2b-256 | 6e9206a401c91a083985d11f09d09411b7de16cc9c4056a6866889029eada049 |