A Python-based tool to create pretty keyset layout diagrams using correct fonts and icons.
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.
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.
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
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.
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.