Skip to main content

lots of things related to complex multiplication in SageMath

Project description

REpository of Complex multIPlication SageMath code
.. image::

This package is designed as a simple `SageMath <>`_ package
example to serve as a good practice reference for package developers. We follow
python recommendations and adapt them to the SageMath community. You can find more
advanced documentation on python package creation on
`How To Package Your Python Code <>`_.

Once the Travis CI set-up has been completed, the documentation for the package can be found at


Local install from source

Download the source from the git repository::

$ git clone

Change to the root directory and run::

$ sage -pip install --upgrade --no-index -v .

For convenience this package contains a [makefile](makefile) with this
and other often used commands. Should you wish too, you can use the

$ make install


Once the package is installed, you can use it in Sage with::

sage: from recip import answer_to_ultimate_question
sage: answer_to_ultimate_question()

Source code

All source code is stored in the folder ``recip`` using the same name as the
package. This is not mandatory but highly recommended for clarity. All source folder
must contain a ```` file with needed includes.


This package is configured for tests written in the documentation
strings, also known as ``doctests``. For examples, see this
[source file](recip/ See also
[SageMath's coding conventions and best practices document](
With additional configuration, it would be possible to include unit
tests as well.

Once the package is installed, one can use the SageMath test system
configured in ```` to run the tests::

$ sage test

This is just calling ``sage -t`` with appropriate flags.


$ make test


The documentation of the package can be generated using Sage's
``Sphinx`` installation::

$ cd docs
$ sage -sh -c "make html"


$ make doc

Project details

Download files

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

Files for recip, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size recip-0.3.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page