Skip to main content

Tools for creating and manipulating shapes.

Project description

coxeter

ReadTheDocs CircleCI PyPI conda-forge

Welcome to the documentation for coxeter! The coxeter Python library provides tools for working with common geometric objects in two and three dimensions. Named for the 20th century geometer best known for his work on polytopes, coxeter is especially focused on polygons and polyhedra, but it also support various standard curved shapes such as spheres and ellipsoids.

Setup

The recommended methods for installing coxeter are using pip or conda.

Installation via pip

To install the package from PyPI, execute:

pip install coxeter --user

Installation via conda

To install the package from conda, first add the conda-forge channel:

conda config --add channels conda-forge

After the conda-forge channel has been added, you can install coxeter by executing

conda install coxeter

Installation from source

To install from source, execute:

git clone https://github.com/glotzerlab/coxeter.git
cd coxeter
python setup.py install --user

Requirements

  • Python >= 3.6

  • NumPy >= 1.15

  • SciPy >= 1.0.0

  • rowan >= 1.2

Testing

The package is currently tested for Python >= 3.6 on Unix-like systems. Continuous integrated testing is performed using CircleCI on these Python versions.

To run the packaged unit tests, execute the following line from the root of the repository:

pytest

To check test coverage, make sure the coverage module is installed:

pip install coverage

and then run the packaged unit tests with the coverage module:

pytest --cov=coxeter

Documentation

Documentation for coxeter is written in reStructuredText and compiled using Sphinx. To build the documentation, first install Sphinx:

cd doc
pip install -r requirements.txt

You can then use Sphinx to create the actual documentation in either PDF or HTML form by running the following commands in the coxeter root directory:

make html # For html output
make latexpdf # For a LaTeX compiled PDF file
open build/html/index.html

Support and Contribution

This package is hosted on GitHub. Please report any bugs or problems that you find on the issue tracker. All contributions to coxeter are welcomed via pull requests!

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

coxeter-0.4.0.tar.gz (91.6 kB view details)

Uploaded Source

Built Distributions

coxeter-0.4.0-py3-none-any.whl (101.6 kB view details)

Uploaded Python 3

coxeter-0.4.0-py2.py3-none-any.whl (101.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file coxeter-0.4.0.tar.gz.

File metadata

  • Download URL: coxeter-0.4.0.tar.gz
  • Upload date:
  • Size: 91.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for coxeter-0.4.0.tar.gz
Algorithm Hash digest
SHA256 57f59270367b752dedbed7096a3d0f5c30e33382332987658a30d8518d4106b2
MD5 6eb517a1a00e81a5b306d40f76c607d1
BLAKE2b-256 5a77edce044acb33c100ab989a34805f1218abc4d557483af2c1c0b962b5278d

See more details on using hashes here.

File details

Details for the file coxeter-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: coxeter-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 101.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for coxeter-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a206103e45def6819bce77c6d23695ef7184c0de77a1d05afac84228dac8d4f
MD5 9633b919a8204ea5eb48c3d74d081397
BLAKE2b-256 a9d15133fda98264e73202b17f7ed3d47f67776b230246d88984705211aa71a8

See more details on using hashes here.

File details

Details for the file coxeter-0.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: coxeter-0.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 101.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for coxeter-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fcbb03e284c5157bbe25176111bbe94aa8dd4352f2dd7036aff1af427eaf9ae8
MD5 e789602bbe48c4870003c3728bd72f4e
BLAKE2b-256 012a41f4320eb5db4a511ff4cb89f0758229930d603e75a3bed379f418ebf695

See more details on using hashes here.

Supported by

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