Skip to main content

Xemonity

Xemonity - Python3 lib for simple choose menu ~~mained on pynput ~~

How to use?

Code look as

import Xemonity #import lib
am = Xemonity.XemonityAM(elements=['one','two','three'],'Its a title') #make class with elements and title
result = am.show_sync() #show menu (only sync) and return choosed string as str()
print(result) #print result to screen

If you run this code, then you see next:

Test menu
>>One
Two
Three
:Cancel

Test menu is title. >> is choosen element. :Cancel for exit with output :CANCELED

Classes and methods

Xemonity.XemonityAM(elements:list,title:str) Main class for menu

  1. XemonityAM.cursor : int var : return a current selected element index
  2. XemonityAM.title : str var : just a title, shows before elements
  3. XemonityAM.elements : list var : list of elements (this is not recommended for modification)
  4. XemonityAM.relist(newlist:list) : None func : change list of elements
  5. XemonityAM.show_sync() : str func : show menu and return choosed element, if choosen ":Cancel" then method returns ":CANCELED" Other methods not for you

Credits

[https://pypi.org/user/moses.palmer/] : made pynput lib Pynput not more used

License

Licensed under MIT license

Metadata

Release files for xemonity 3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xemonity 3.0
File Size Uploaded Provenance Actions
xemonity-3.0.tar.gz 3.9 kB Without provenance Details for xemonity-3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xemonity 3.0
File Interpreter ABI Platform Actions
xemonity-3.0-py3-none-any.whl Python 3 none any Details for xemonity-3.0-py3-none-any.whl

Total release size: 8.1 kB

Release files / xemonity-3.0.tar.gz

Download URL xemonity-3.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4361ecb66c4611b84a04fe0e8b9c77dbe32e0ed293a90d1cf3c8ef1dcd968bb7
BLAKE2b-256 checksum
How to use checksums
568a0fac11dacb3f0f04f72d62e7d9aa8b29b42c3cb0ac58619c6cc601e06826
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / xemonity-3.0-py3-none-any.whl

Download URL xemonity-3.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e7280db6027d2a3c386c8c157bd264791f3427987f490fbaec01d9d06ba2d26
BLAKE2b-256 checksum
How to use checksums
dde8782ae3fc07d42ba524cacf808e7170c24e86e5cd80b7c741833ae0f6f05c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for xemonity 3.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page