QRClipboard
QRClipboard is a Python package that creates QR codes from the contents of the clipboard.
Installation
PyPi.org with pipx
https://pypi.org/project/QRClipboard/
pipx install QRClipboard
Manually
To install the package, follow these steps:
-
First, create the package by running the
make buildcommand. This command will generate the source distribution (sdist) and wheel (bdist_wheel) for the package. -
Once the package is built, you can install it using
pipxwith themake installcommand. This command installs the package in an isolated environment to avoid any conflicts with other packages.
Usage
After installing the package, you can execute it using the qrclip command:
qrclip
This command will read the current content of the clipboard, generate a QR code from it, and display the QR code.
Development
To contribute to this project, follow these steps:
- Fork the repository on GitHub.
- Create a new branch for your feature or bug fix:
git checkout -b feature-new-feature
- Make your changes and commit them with a meaningful message:
git commit -m 'Add new feature'
- Push your changes to GitHub:
git push origin feature-new-feature
- Open a pull request on GitHub to merge your changes.
Commands
The project includes a Makefile that simplifies various tasks:
-
To build the package, use
make build. This command runs thesetup.pyscript to create the source distribution and wheel for the package. -
To install the package, use
make install. This command utilizespipxto install the package in an isolated environment. -
To uninstall the package, use
make uninstall. This command removes the package installed bypipx. -
To clean the build directories, use
make clean. This command deletes thebuild,dist, and.egg-infodirectories to ensure a clean state. -
To run unit tests, use
make test. This command executes all unit tests located in thetestsdirectory to verify that the package works as expected. -
To upload the package to PyPI, use
make upload. This command usestwineto upload the built distributions to the Python Package Index (PyPI). This step is optional and requires thetwinemodule to be installed. -
To run the main script of the package, use
make run. This command executes the main function defined in theQRClipboard.mainmodule.
License
This project is licensed under the MIT License. For more details, refer to the LICENSE file.
Release files for qrclipboard 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qrclipboard-0.1.3.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qrclipboard-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.3 kB
Release files / qrclipboard-0.1.3.tar.gz
| Download URL | qrclipboard-0.1.3.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf239ab31f5420f270f7b97b89e86eec05de2bac802bef5d625cb4af78187a61
|
|
BLAKE2b-256 checksum How to use checksums |
49a354c1bda8f8bf811d5d59c340051bb0421ab088728f11cdd32163041ba4e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Release files / qrclipboard-0.1.3-py3-none-any.whl
| Download URL | qrclipboard-0.1.3-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8804a439f19de7c635e10d849aae5917196e70a6ac271af2451fe5c549463986
|
|
BLAKE2b-256 checksum How to use checksums |
a943a3bec5fd96637fbb20a283fa696376022808fbbd3b5d8ab437d7d5aa8c98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|