Skip to main content

Tools for creating and manipulating shapes.

Project description

coxeter

About

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. If you have any questions about how to work with coxeter, please visit the ReadTheDocs page.

Authors

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.3
  • NumPy >= 1.10
  • SciPy >= 1.0.0
  • rowan >= 1.2

Testing

The package is currently tested for Python >= 3.3 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:

pip install sphinx sphinx_rtd_theme

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:

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

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.2.0.post1.tar.gz (83.6 kB view details)

Uploaded Source

Built Distribution

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

coxeter-0.2.0.post1-py2.py3-none-any.whl (94.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file coxeter-0.2.0.post1.tar.gz.

File metadata

  • Download URL: coxeter-0.2.0.post1.tar.gz
  • Upload date:
  • Size: 83.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for coxeter-0.2.0.post1.tar.gz
Algorithm Hash digest
SHA256 6c3af63f4570f109bc68c8779653fb4a42929001ee81d1badeba126146942090
MD5 d9fe1ce18bd384d20180158251bf0fef
BLAKE2b-256 cc498a814368fe21e5e32d128bda0651e723a9545e9c5977b12b3bff454ef8ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coxeter-0.2.0.post1-py2.py3-none-any.whl
  • Upload date:
  • Size: 94.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for coxeter-0.2.0.post1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1feb7eb4df1a9327720b4a898fd61a76687f06b1de6cb02a85876d3b1cffc741
MD5 6df1e1e383aec979e18a78f4ee4949df
BLAKE2b-256 f88bd4f29816b3dd1c5cfa433c4f0773d7c8de12eb9055848addd95713ffe8d1

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