PySketcher
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.
Metadata
Release files for pysketcher 0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pysketcher-0.0.13.tar.gz | 3.1 MB | With provenance | Details for pysketcher-0.0.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pysketcher-0.0.13-py3-none-any.whl | Python 3 | none | any | Details for pysketcher-0.0.13-py3-none-any.whl |
Total release size: 3.2 MB
Release files / pysketcher-0.0.13.tar.gz
| Download URL | pysketcher-0.0.13.tar.gz |
|---|---|
| Size | 3.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d48cefd22eb573a549e8c89fb233c6a58b8e2e5ac52fb7c7662ae31b8fe937d
|
|
BLAKE2b-256 checksum How to use checksums |
e5ded22a366ec0d523d283521c39804bc2d02d89888e0d5dd1075cbc41b0c8c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 4, 2025.
Transparency logRelease files / pysketcher-0.0.13-py3-none-any.whl
| Download URL | pysketcher-0.0.13-py3-none-any.whl |
|---|---|
| Size | 95.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab7c419f63587269ce94e3302147e5c0a3ec292ce75cd4b0ce04c149cc130f0a
|
|
BLAKE2b-256 checksum How to use checksums |
4630f01a78ddf7803f0c2dc03ec4e3d5d53ba43c58a725531ccac31ae6943fb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 4, 2025.
Transparency logSecurity for pysketcher 0.0.13
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pysketcher-0.0.13.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 4, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.