.sketch document for python
Sketch stores documents in .sketch format, a zipped
archive of JSON formatted data and binary data such as images.
Inspired by sketch-hq/sketch-document
Built package is avaliable in Pypi, install with Pip
pip install sketch-document-py
Sketch file format schemas and APIs.
This project contains the APIs to work with Sketch documents and document elements in Python dataclass.
sketch-file-format-py: Python dataclass type hint to strongly type objects representing Sketch documents, or fragments of Sketch documents in TypeScript projects.sketch-file: Python APIs to read and write.sketchfiles.
Development
To build this project, you need install Python build dependency management tool Poetry, to install Poetry , follow Poetry installation guide
To install nessasary deps and CLI tools, including a task runner Poe the Poet(CLI executable named poe) that work with Poetry, run command:
This will also install current package to your environment root
For further usages of Poetry Install, check Poetry Install
poetry install
To generate Sketch Dataclass type file, which is nessasary for build or install development, run command:
For further usages of Poe the Poet, check Poe the Poet Homepage
poe gen_types
To check project typing, run command:
For further usages of Mypy, check Mypy Documentation
poe mypy
To run project test and coverage, run command:
For further usages of Coverage, check Coverage.py Documentation
poe test
To build project to wheel and tar, run command:
For further usages of Poetry build, check Poetry Build
poe build
To publish project, run command:
For further usages of Poetry, check Poetry Publish
poe publish
For further usages of Poetry, check Poetry Documentation
Metadata
Release files for sketch-document-py 1.0.4
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 | |
|---|---|---|---|---|
| sketch-document-py-1.0.4.tar.gz | 13.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sketch_document_py-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.8 kB
Release files / sketch-document-py-1.0.4.tar.gz
| Download URL | sketch-document-py-1.0.4.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3c44133143483b921078d03f872ff8b64b100a28c573ff4e8d626b2658e876a
|
|
BLAKE2b-256 checksum How to use checksums |
65734687a5b98d88cc89a841586a484281c06ef51487773029f41f187bbd8ef8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.12 Darwin/21.4.0
|
Release files / sketch_document_py-1.0.4-py3-none-any.whl
| Download URL | sketch_document_py-1.0.4-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
832b97980c888001802d1a652b5d5929212bcf35f183d7980df851542541d7e0
|
|
BLAKE2b-256 checksum How to use checksums |
1afdab1f9689ea68d44772f1d868c27d33087ed40a7c55613b632dc42cd5c007
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.12 Darwin/21.4.0
|
Security for sketch-document-py 1.0.4
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.