Onshape's Variables API Helper
A python class to easily interact with Onshape's Variables API
Prerequisites
Create API Keys
-
Head over to the onshape developer portal
-
Click on "Create new API key"
- Check the blue boxes and click on "Create API key"
- copy and save both keys in a file (I recommend you save it in a .env file. What is a .env? See this article!)
Installation
You can install onshape-variables via pip:
pip install onshape-variables
Usage
from onshape_variables.variables import Variables
# create variables object
my_vs = Variables(api_keys, did, wid)
# create a varaible studio
my_vs.create_varaible_studio(name="My Varaible Studio")
Check out the example notebook
Also see Onshape's documentation and API explorer
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change :)
Metadata
Release files for onshape-variables 0.1.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 |
|---|---|---|---|---|
| onshape_variables-0.1.0.tar.gz | 2.9 kB | Without provenance | Details for onshape_variables-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| onshape_variables-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for onshape_variables-0.1.0-py3-none-any.whl |
Total release size: 6.2 kB
Release files / onshape_variables-0.1.0.tar.gz
| Download URL | onshape_variables-0.1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b25aaf96a88c9e45f65f7ad80879a15a0138cbbf611a694cf2bb8eaa9dfa038
|
|
BLAKE2b-256 checksum How to use checksums |
4bc8f874c246c06aaee264c407565e406c50d4f882f03eff7be14f20b90467f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.9.6 Windows/10
|
Release files / onshape_variables-0.1.0-py3-none-any.whl
| Download URL | onshape_variables-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47576ebf3e725223b837d606369f5145facb963f3905d48060db57ea1f1dc701
|
|
BLAKE2b-256 checksum How to use checksums |
27d8dbb0eb7da006a692354d274b4514e4cf75ea4d828fd206e81b3f966a4d7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.9.6 Windows/10
|
Security for onshape-variables 0.1.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.