Geometric Sketching Utility for Python
Project description
This is alpha software - the interface is likely to change with every release prior to 0.1.0.
PySketcher is a modern Python library designed to make creating geometric, mathematical and physical diagrams very easy.
This library is continues the legacy of Hans Petter Langtangen. Work done since he sadly passed in 2016 includes:
The MatlibplotDraw object is no longer global and is no longer tightly coupled to the shape object. There is now a DrawingTool interface which this class implements.
Code is organised into multiple files and published on pypi.
Shapes are immutable. This means functions such as rotate return modified copies of the original shape, rather than altering the shape on which they are called.
Angles are in radians not degrees.
The Composition object is used more consistently. Previously objects such as Beam were direct children of Shape which led to code repetition.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pysketcher-0.0.12.tar.gz
.
File metadata
- Download URL: pysketcher-0.0.12.tar.gz
- Upload date:
- Size: 3.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18d08c969218b122a943aa03e3edf7f9b019db20cfaed385c49a48b09589a603 |
|
MD5 | 0de30f45cdfaaa4f9d66c6205d552ef9 |
|
BLAKE2b-256 | 11946696a1ba5f53ea1b0202fd7417d9d0cc37c51102b2ffae5553be49a85d24 |
File details
Details for the file pysketcher-0.0.12-py3-none-any.whl
.
File metadata
- Download URL: pysketcher-0.0.12-py3-none-any.whl
- Upload date:
- Size: 95.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0013afeeceee1b04dde88dd73018427cf0ba6948f8d6ed26cb2ca24e75b1740f |
|
MD5 | 5df57b8bd730b503c6d1429827b3cc5d |
|
BLAKE2b-256 | da5d4613d49e3a59098d0d9bb851e3312d30ce4e5bbacee3af51bbe66adb5f71 |