Pyslvs Libraries
A no-GUI module of mechanism synthesis system and a 2D geometric constraint solver.
Installation
Install from PyPI:
pip install pyslvs
Or install and test from source:
pip install -e .
python test
Documentation
Run the solver through an example:
from pyslvs import example_list, parse_vpoints, t_config, expr_solving
# Get example with name
expr, inputs = example_list("Jansen's linkage (Single)")
# Parse the mechanism expression into a list of joint data
vpoints = parse_vpoints(expr)
# Config joint data and control data for the solver
exprs = t_config(vpoints, inputs)
# Solve the position
result = expr_solving(exprs, vpoints, {pair: 0. for pair in inputs})
# Get the result from joint 7
x, y = result[7]
print(x, y) # -43.170055 -91.753226
The documentation of Pyslvs library is on Readthedocs.
If you have any questions, please post on GitHub issue or contact pyslvs@gmail.com.
Metadata
Release files for pyslvs 22.7.0
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 |
|---|---|---|---|---|
| pyslvs-22.7.0.tar.gz | 93.0 kB | Without provenance | Details for pyslvs-22.7.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| pyslvs-22.7.0-cp310-cp310-win_amd64.whl | CPython 3.10 | CPython 3.10 | Windows x86-64 | Details for pyslvs-22.7.0-cp310-cp310-win_amd64.whl |
| pyslvs-22.7.0-cp310-cp310-macosx_10_15_x86_64.whl | CPython 3.10 | CPython 3.10 | macOS 10.15+ x86-64 | Details for pyslvs-22.7.0-cp310-cp310-macosx_10_15_x86_64.whl |
| pyslvs-22.7.0-cp39-cp39-win_amd64.whl | CPython 3.9 | CPython 3.9 | Windows x86-64 | Details for pyslvs-22.7.0-cp39-cp39-win_amd64.whl |
| pyslvs-22.7.0-cp39-cp39-macosx_10_15_x86_64.whl | CPython 3.9 | CPython 3.9 | macOS 10.15+ x86-64 | Details for pyslvs-22.7.0-cp39-cp39-macosx_10_15_x86_64.whl |
| pyslvs-22.7.0-cp38-cp38-win_amd64.whl | CPython 3.8 | CPython 3.8 | Windows x86-64 | Details for pyslvs-22.7.0-cp38-cp38-win_amd64.whl |
| pyslvs-22.7.0-cp38-cp38-macosx_10_15_x86_64.whl | CPython 3.8 | CPython 3.8 | macOS 10.15+ x86-64 | Details for pyslvs-22.7.0-cp38-cp38-macosx_10_15_x86_64.whl |
Total release size: 11.1 MB
Release files / pyslvs-22.7.0.tar.gz
| Download URL | pyslvs-22.7.0.tar.gz |
|---|---|
| Size | 93.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e92a67683f3627322be07f37e57d2ded2edd4dcf6773d52bcbe6e45948a5275
|
|
BLAKE2b-256 checksum How to use checksums |
bb8cc01ec1fe1487cac76b7091b9b453023a243807b10599b2d6c2aca16a9f21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|
Release files / pyslvs-22.7.0-cp310-cp310-win_amd64.whl
| Download URL | pyslvs-22.7.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d0f02ef7e562537279a40dd66efad151fab3b17bab52246cf007058009a9c840
|
|
BLAKE2b-256 checksum How to use checksums |
6ea3ae72357772eb1399b25a8764fb9d1a32682a3ca8c058d6ca622bf56cb586
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / pyslvs-22.7.0-cp310-cp310-macosx_10_15_x86_64.whl
| Download URL | pyslvs-22.7.0-cp310-cp310-macosx_10_15_x86_64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.10 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
0c98f6071e569eb6b09156433b737585546b415cef9b5792cee465f038119f7d
|
|
BLAKE2b-256 checksum How to use checksums |
6fb51e430bec6e51f0e252cb697aba0e65ee77992a6455683bcfa2d050962a3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / pyslvs-22.7.0-cp39-cp39-win_amd64.whl
| Download URL | pyslvs-22.7.0-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5eedb8c00f8cfae5e83dcf327f03096348d38c70dfd401d76a96a9c528d963ea
|
|
BLAKE2b-256 checksum How to use checksums |
b6cfc3d02957f1de8019a135f6ca6ab736b16dede40682824db975165ff4652a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / pyslvs-22.7.0-cp39-cp39-macosx_10_15_x86_64.whl
| Download URL | pyslvs-22.7.0-cp39-cp39-macosx_10_15_x86_64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.9 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
1aeb365f211b48898fe00b98c5548aac2c70055aa824c1b727118c1d5eacb6d4
|
|
BLAKE2b-256 checksum How to use checksums |
35fedc8e285bb7b8a5cb5b7605e1eb280fece863a001bb3fbcc5da0ed9042bff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / pyslvs-22.7.0-cp38-cp38-win_amd64.whl
| Download URL | pyslvs-22.7.0-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3949256ec21faa8d4381e6198d931f9789e6930e51268c8fbc35aebf197048a6
|
|
BLAKE2b-256 checksum How to use checksums |
63e65b4840b9309abebb9b5ab6998a6e8cc05d017f66bd0ecd2a98901ec6b2cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / pyslvs-22.7.0-cp38-cp38-macosx_10_15_x86_64.whl
| Download URL | pyslvs-22.7.0-cp38-cp38-macosx_10_15_x86_64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.8 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
2026c0ba2368372794feaacdb49bc65f1f4a6b77dfb340de412dc18a517f5b91
|
|
BLAKE2b-256 checksum How to use checksums |
9d39f8d2414a28fa5b9cf4618653405a2779ba76386ff35e8005b5a99ba7cbf9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|
Security for pyslvs 22.7.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.