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
pymathics-hello-7.0.0.tar.gz
(17.9 kB
view hashes)
Built Distribution
Close
Hashes for pymathics_hello-7.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c3b673b442078742590576962d245088a7abe6ce16d4ed861557d2900529c7a |
|
MD5 | ab93f37d53d62a6a1a1d0b44462b950a |
|
BLAKE2b-256 | 6e9206a401c91a083985d11f09d09411b7de16cc9c4056a6866889029eada049 |