This project has been archived by its maintainers, and is no longer receiving any updates.
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
Metadata
Release files for pymathics-hello 7.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pymathics-hello-7.0.0.tar.gz | 17.9 kB | Without provenance | Details for pymathics-hello-7.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pymathics_hello-7.0.0-py3-none-any.whl | Python 3 | none | any | Details for pymathics_hello-7.0.0-py3-none-any.whl |
Total release size: 35.7 kB
Release files / pymathics-hello-7.0.0.tar.gz
| Download URL | pymathics-hello-7.0.0.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97f3d9f46ee9d2ab119b00c7dc97dbe41b42c954aa351b102c99433f827afb0e
|
|
BLAKE2b-256 checksum How to use checksums |
e65bc40e7339a1591e8a06c2a1f066a345820d1165533b5c3e75b96506a8b792
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|
Release files / pymathics_hello-7.0.0-py3-none-any.whl
| Download URL | pymathics_hello-7.0.0-py3-none-any.whl |
|---|---|
| Size | 17.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c3b673b442078742590576962d245088a7abe6ce16d4ed861557d2900529c7a
|
|
BLAKE2b-256 checksum How to use checksums |
6e9206a401c91a083985d11f09d09411b7de16cc9c4056a6866889029eada049
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|
Security for pymathics-hello 7.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.