Skip to main content

No project description provided

Project description

pykeyset   Build StatusPyPI Version

A Python-based tool to create pretty keyset layout diagrams using correct fonts and icons.

Warning

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

example.svg

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

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

pykeyset-0.1.1.tar.gz (105.5 kB view hashes)

Uploaded Source

Built Distributions

pykeyset-0.1.1-cp37-abi3-win_arm64.whl (727.2 kB view hashes)

Uploaded CPython 3.7+ Windows ARM64

pykeyset-0.1.1-cp37-abi3-win_amd64.whl (779.2 kB view hashes)

Uploaded CPython 3.7+ Windows x86-64

pykeyset-0.1.1-cp37-abi3-win32.whl (754.5 kB view hashes)

Uploaded CPython 3.7+ Windows x86

pykeyset-0.1.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ x86-64

pykeyset-0.1.1-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (2.0 MB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ i686

pykeyset-0.1.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.9 MB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARM64

pykeyset-0.1.1-cp37-abi3-macosx_11_0_arm64.whl (911.8 kB view hashes)

Uploaded CPython 3.7+ macOS 11.0+ ARM64

pykeyset-0.1.1-cp37-abi3-macosx_10_7_x86_64.whl (972.5 kB view hashes)

Uploaded CPython 3.7+ macOS 10.7+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page