Skip to main content

Mathics3 Hello, World! module

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

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

You can test with py.test:

$ py.test test

or simply:

$ make check

Project details


Download files

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

Source Distribution

mathics3_hello-9.0.0.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mathics3_hello-9.0.0-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file mathics3_hello-9.0.0.tar.gz.

File metadata

  • Download URL: mathics3_hello-9.0.0.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mathics3_hello-9.0.0.tar.gz
Algorithm Hash digest
SHA256 7242c74f046ee579f891324df8986320af2b17da89a0bd0e9edc7d5523655b5a
MD5 6f7d9c0877f0ac68eddc4be56afa5446
BLAKE2b-256 ec6338525152b2daa9d82af0c9add9647894c5bd790f3dcead2458b2e869d8be

See more details on using hashes here.

File details

Details for the file mathics3_hello-9.0.0-py3-none-any.whl.

File metadata

  • Download URL: mathics3_hello-9.0.0-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mathics3_hello-9.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1e4dab6c3148f83db18c882ae10c9a2c0ebd71b530ae12abf11253765c92dc4
MD5 51f9f1d30bdf3c691ef81c445e910dd2
BLAKE2b-256 fd1004690f6af2f4eafc0951e792e35e2aade3ada320c296d3e33e3d1500c536

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page