Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mathmaker

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mathmaker

Mathmaker creates automatically elementary maths exercises and their (detailed) answers.

  • 0.7.22
  • PyPI
  • Socket score

Maintainers
1

|PyPI1| |PyPI2| |PyPI3| |Build Status| |Coveralls| |Documentation Status| |Maintenance| |PyPI4|

Overview

Mathmaker creates elementary maths worksheets with detailed solutions.

The output documents can be compiled into pdf files by lualatex. Examples of available themes are: first degree equations, pythagorean theorem, fractions calculation...

It can run from command line, but can be controlled via http requests too.

Licence <https://gitlab.com/nicolas.hainaux/mathmaker/blob/master/LICENSE>__ Documentation (master release) <http://mathmaker.readthedocs.io/en/master/index.html>__ Documentation (latest development version)) <http://mathmaker.readthedocs.io/en/dev/index.html>__.

Quickstart

Complete install

.. note::

python3.6+ is mandatory for mathmaker to work, so check is installed on your system

  • on Ubuntu 14.04 or later:

    External dependencies:

    ::

    $ sudo apt-get install eukleides libxml2-utils gettext texlive-full
    

    Note: to avoid installing texlive-full, check the documentation <http://mathmaker.readthedocs.io/en/master/user_doc.html#install>__.

    Then:

    ::

    $ pip3 install mathmaker
    
  • on FreeBSD 10.*:

    External dependencies:

    ::

    $ sudo pkg install python36 py36-sqlite3 gettext eukleides libxml2 texlive-full
    $ rehash
    
    **note**
    
    Because of a bug in current FreeBSD's eukleides package you'll
    have to fix eukleides install. See
    `here <http://mathmaker.readthedocs.io/en/master/user_doc.html#eukleides-fix>`__.
    

    Once you're done, you can proceed installing mathmaker:

    ::

    $ pip3 install mathmaker
    
    **note**
    
    If you stumble upon an error during the install of the
    python-daemon dependency, you'll find the way to solve it
    `there <http://mathmaker.readthedocs.io/en/master/user_doc.html#python-daemon-error-at-install>`__
    

Basic use

::

$ mathmaker pythagorean-theorem-short-test > out.tex
$ lualatex out.tex

or directly:

::

$ mathmaker pythagorean-theorem-short-test --pdf > out.pdf

Get the list of all provided sheets(3):

::

$ mathmaker list

To get the command-line options, you can use mathmaker --help.

Several settings can be overriden by user defined values in ~/.config/mathmaker/user_config.yaml. Read the complete documentation <http://mathmaker.readthedocs.io/en/master/user_doc.html#user-settings>__ for more information.

Advanced use

It's possible to create your own sheets in yaml. Read from the complete documentation <http://mathmaker.readthedocs.io/en/master/user_doc.html#yaml-sheets>__ for more information.

Contribute

You can contribute to mathmaker:

As a wordings contributor

Mathmaker needs contexts for problems wordings. There are already some, but the more there is, the better. Existing wordings can be found here <https://gitlab.com/nicolas.hainaux/mathmaker/tree/dev/mathmaker/data/wordings>. You can submit any new idea as an enhancement proposal there <https://gitlab.com/nicolas.hainaux/mathmaker/issues> (should be written in english, french or german).

Any question can be sent to nh dot techn (hosted at gmail dot com).

As a translator

You can help translating mathmaker to your language (or any language you like, if you have enough elementary maths vocabulary for that).

If the translation to your language isn't started yet, there are several pot files to get here <https://gitlab.com/nicolas.hainaux/mathmaker/tree/dev/mathmaker/locale>__ (see explanations about their respective roles there <http://mathmaker.readthedocs.io/en/dev/dev_doc.html#the-real-and-the-fake-translation-files>). You can use an editor like poedit <https://poedit.net/> or any other you like better, to create po files from them and start to translate.

If you want to add missing translations, or to correct some, you can find the po files in the subdirectories here <https://gitlab.com/nicolas.hainaux/mathmaker/tree/dev/mathmaker/locale>__.

Once you're done, you can make a pull request here <https://gitlab.com/nicolas.hainaux/mathmaker/pulls>__.

Any question can be sent to nh dot techn (hosted at gmail dot com).

As a developer

Before submitting a PR, please ensure you've had a look at the writing rules <http://mathmaker.readthedocs.io/en/dev/dev_doc.html#writing-rules>__.

More details can be found in the documentation for developers <http://mathmaker.readthedocs.io/en/dev/dev_index.html>__.

Any question can be sent to nh dot techn (hosted at gmail dot com).

Additional informations

Contact: nh dot techn (hosted by gmail dot com)

Changelog <https://gitlab.com/nicolas.hainaux/mathmaker/blob/master/CHANGELOG.rst>__

Contributors <https://gitlab.com/nicolas.hainaux/mathmaker/blob/master/CONTRIBUTORS.rst>__

.. |PyPI1| image:: https://img.shields.io/pypi/v/mathmaker.svg?maxAge=2592000 :target: https://pypi.python.org/pypi/mathmaker .. |PyPI2| image:: https://img.shields.io/pypi/status/mathmaker.svg?maxAge=2592000 .. |PyPI3| image:: https://img.shields.io/pypi/pyversions/mathmaker.svg?maxAge=2592000 .. |Build Status| image:: https://ci.appveyor.com/api/projects/status/88ay13trwvipaijb/branch/master?svg=true :target: https://ci.appveyor.com/project/nicolashainaux/mathmakerlib-ho94f .. |Coveralls| image:: https://coveralls.io/repos/gitlab/nicolashainaux/mathmaker/badge.svg?branch=master :target: https://coveralls.io/gitlab/nicolashainaux/mathmaker?branch=master .. |Documentation Status| image:: https://readthedocs.org/projects/mathmaker/badge/?version=latest :target: https://mathmaker.readthedocs.io/en/latest/ .. |Maintenance| image:: https://img.shields.io/maintenance/yes/2021.svg?maxAge=2592000 .. |PyPI4| image:: https://img.shields.io/pypi/l/mathmaker.svg?maxAge=2592000 :target: https://gitlab.com/nicolas.hainaux/mathmaker/blob/master/LICENSE

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc