Skip to main content

Xemonity

Xemonity - Python3 lib for simple menu with choose 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 over 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

License

Licensed under MIT license

Metadata

Release files for xemonity 2.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 2.0
File Size Uploaded Provenance Actions
xemonity-2.0.tar.gz 3.7 kB Without provenance Details for xemonity-2.0.tar.gz

Built distribution (wheel)

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

Total release size: 7.6 kB

Release files / xemonity-2.0.tar.gz

Download URL xemonity-2.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
63c57b227f84bae33b7774386df0882356f1e38dbf8256a1884c112cbe1359f3
BLAKE2b-256 checksum
How to use checksums
9d38d7ea332bac9f005a3c10837d8fa29934ec6374e66886235066009ac9e570
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

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

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

Security for xemonity 2.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