No project description provided
Project description
pykeyset
A Python-based tool to create pretty keyset layout diagrams using correct fonts and icons.
Warning
The source for the original pure-Python implementation is available in the v0.0.x branch. The main branch is currently a work-in-progress port to using the keyset-rs backend.
This project is currently in the early stages of development. If you do find any bugs, please report them on the GitHub repo. In future I hope to stabilise this project, add more extensive support for different profiles, fonts, file formats, etc; and have a more extensive API.
Feel free to help this project improve by opening bug reports, feature requests, etc; or contributing directly to the code by opening a pull request.
Example output
Python API
Currently you can use pykeyset
directly as a Python module, but as it is still in early development the API will probably change a lot until a 0.5 release.
After that there will be a relatively stable API, so you don't need to mess around with .cmdlist files if you're familiar with Python.
Installation
pykeyset
is available on PyPI. To install with pip
run:
pip install pykeyset
Or to install the latest source directly from GitHub, run:
git clone https://github.com/staticintlucas/pykeyset.git pykeyset
cd pykeyset
pip install .
This project uses Maturin as its build system. To install this package locally for development, run:
maturin develop
To build the source distribution and wheel run:
maturin build --release
Additionally, Linux releases should be compiled with --manylinux 2014
Contributing
pykeyset
uses Black and isort for formatting, and all code must pass Flake8's checks.
These are checked by GitHub on all pull requests.
To run these tools automatically when committing, install the pre-commit hook in .pre-commit-config.yaml.
Licence
This project is licensed under either of
- Apache License, Version 2.0 (LICENCE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENCE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for pykeyset-0.1.0-cp37-abi3-win_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d01c7ad1f390e2a3503b8e831848df92aad22346dc00a38a89f46d47603a10f8 |
|
MD5 | 5806c525fd2664bb57e40fb715fab42e |
|
BLAKE2b-256 | fa02b83cf63dafaa6d68c78ad491e7701171a37f61be144fe03fb40915480c7d |
Hashes for pykeyset-0.1.0-cp37-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f007886ed3bfd6b6e78c06e401abbb9773b19fafd21814d9ff524bd137f88a73 |
|
MD5 | 18abf47b391804658e51f25cc90c7d88 |
|
BLAKE2b-256 | 8f5c90d4adea49c127aa2eb4ac0929d874469d8eb6d13d73a1de9ee8a681c182 |
Hashes for pykeyset-0.1.0-cp37-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be342ece1703f59c851ec65f4ff156c6a73272f309f3d89e420ea406011238fe |
|
MD5 | 8eaf01e2640a0094c1a57d382e1be1d1 |
|
BLAKE2b-256 | c6223d3daafa960aa28b8c6b146cb015016e4e7867ab16663b50339d2441d613 |
Hashes for pykeyset-0.1.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f96622168113409249268b7e0c403fa39ba412b464c09ee78878cde90a427135 |
|
MD5 | cd7c61da691ac2a7318c6d702a4ce0bb |
|
BLAKE2b-256 | 9cb13c11d890c694e470d3b9ffa6b06db13292ad714ee694640603a7975ee741 |
Hashes for pykeyset-0.1.0-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5877e3e497c3fc83be39490199a0d53c8324c8bf8f85165d67597ad2b93991eb |
|
MD5 | 6780efef19c0a6f532ca21aa5be1bae0 |
|
BLAKE2b-256 | f93f76bfaca0340e29c4d5ca4e75b5308b4dabba656fd1529c5500592a99b585 |
Hashes for pykeyset-0.1.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d218d751800f147b83727fddb1053e9695e6fd097a2eedf6f7c33c28bea3857e |
|
MD5 | b1f907cc6dfa90acaef194a2997ff6ff |
|
BLAKE2b-256 | 7db4f471eafea296a363ef51598f4bade9357d4c05ad900fa8a3151ed1045a8a |
Hashes for pykeyset-0.1.0-cp37-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10ff1483ee57997c05756ee87c631789ff91d460a57bb78a240b0c8ebb219931 |
|
MD5 | 4586af3b6d7039253cc6ef07aad0c42e |
|
BLAKE2b-256 | e6a29701ce48005961c08640869630724f31cd6e2470b063db044813caad085a |
Hashes for pykeyset-0.1.0-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c96ed4dacafa91ab546b22022b1796af46fc81e7da9fad49a2de234472f85d29 |
|
MD5 | 870583e63f843f716513f8549b18313d |
|
BLAKE2b-256 | ce3c64f19efd8b3aa38d7a0ce65ac1f1798c97d23f8e078cfe4f5e19c7a3fd02 |