Skip to main content

collect all my previous modules in one package

Project description

Ver/TestedPython Ver/Os
repo/Created Commit/Last Tests/GitHubWorkflowStatus Tests/GitHubWorkflowStatus
repo/Size Commit/Count/t Commit/Count/y Commit/Count/m

base_aux (current v0.0.17/Ver/Pypi Latest)

DESCRIPTION_SHORT

collect all my previous modules in one package

DESCRIPTION_LONG

Features

  1. cmp - apply for cmp object with others

  2. getattr prefix

  3. getattr echo

  4. middle group

  5. Number+NumberArithm - use class as number

  6. Annotations - work with annotations +use special abilities+use nested classes

  7. perfect singleton (maybe thread safe!)

  8. collect all instances

  9. check correct instantiating singletons in tree project

  10. check requirements (systemOs), raise/bool if no match

  11. create fuck(?)/source and is it for check for settings

  12. [python PACKAGES/MODULES]:

    • upgrade
    • delete
    • version_get_installed
    • check_installed)
    • upgrade pip
  13. [VERSION]:

    • parse
    • check
    • compare
  14. send commands into OS terminal

  15. check if cli commands are accessible (special utilities is installed)

  16. access to standard parts of result in a simple ready-to-use form (stdout/stderr/retcode/full state)

  17. use batch timeout for list

  18. till_first_true

  19. counter/counter_in_list

  20. designed for common work with bitfields-like objects

  21. Flags

  22. Bits

  23. Designed to use private data like username/pwd kept secure in OsEnvironment or Ini/Json-File for your several home projects at ones.  
    And not open it in public.  
    
    **CAUTION:**  
    in requirements for other projects use fixed version! because it might be refactored so you would get exception soon.
    
  24. load values to instance attrs from:

    • Environment
    • IniFile
    • JsonFile
    • CsvFile
    • direct text instead of file
    • direct dict instead of file
  25. attr access:

    • via any lettercase
    • by instance attr
    • like dict key on instance
  26. work with dict:

    • apply
    • update
    • preupdate
  27. update_dict as cumulative result - useful in case of settings result

  28. use different managers for different funcs/methods if needed

  29. use just one decorator to spawn threads from func / methods

  30. keep all spawned threads in list by ThreadItem objects

  31. ThreadItem keeps result/exx/is_alive attributes!

  32. use wait_all/terminate_all()

  33. [SERVERS]:

    • [aiohttp] (try not to use, as old)
    • [FastApi] (preferred)
  34. client_requests item+stack

  35. [SerialClient]:

    • keep all found ports in base class!
  36. Serial:

    • Client+Server
    • connect with Type__AddressAutoAcceptVariant FIRST_FREE/FIRST_FREE__ANSWER_VALID
    • set/get params by SlashOrSpacePath addressing
    • handle BackSpace send manually from terminal
  37. SerialServer values:

    • as Callable
    • ValueUnit
    • ValueVariants
    • list_results
  38. SerialServer cmd:

    • NONE is equivalent for SUCCESS
    • no need params (like line_parsed as before)
    • help - for show all variants (Units/Variants/Callables)!
  39. Threading each monitor

  40. monitor:

    • website data changes (tag text/attribute)
    • email received with subject (by regexp) in exact folder
  41. Email/Telegram alert if:

    • monitored data changed (from last state)
    • html structure was changed so parsing can't be finished
    • url became unreachable
  42. send alert msgs:

    • emails
    • telegram
  43. threading

  44. pyqt help examples and some other useful objects (overloaded pyqt classes)

  45. good template for TableView/Model/Signals

  46. add Events for TM/TV/PTE/...


License

See the LICENSE file for license rights and limitations (MIT).
See the LICENSE_bundled.md file for parent licenses.

Release history

See the HISTORY.md file for release history.

Installation

pip install base-aux

Import

from base_aux import *

USAGE EXAMPLES

See tests, sourcecode and docstrings for other examples.


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

base_aux-0.0.17.tar.gz (197.0 kB view details)

Uploaded Source

Built Distribution

base_aux-0.0.17-py3-none-any.whl (244.5 kB view details)

Uploaded Python 3

File details

Details for the file base_aux-0.0.17.tar.gz.

File metadata

  • Download URL: base_aux-0.0.17.tar.gz
  • Upload date:
  • Size: 197.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for base_aux-0.0.17.tar.gz
Algorithm Hash digest
SHA256 441e254e1ec168a8780dd4fe208feabee1c07028389d88acc10a546ee39046b5
MD5 e895cb0a346658b3e69c3ec5f73041f0
BLAKE2b-256 4ddb7b67050dfc75908852d87163263138e6bedb338dc7618198428c710f483f

See more details on using hashes here.

File details

Details for the file base_aux-0.0.17-py3-none-any.whl.

File metadata

  • Download URL: base_aux-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 244.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for base_aux-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 dd9bc95db8a0ed4105d4bc7b390536448fc3483a667a483a7ac9dd1d483d3552
MD5 13c0536e0b35cb639fe41b2b8ede8084
BLAKE2b-256 49af54888a7d8e4380018f5f35aa7a9b12ff34b0ea31c2f6fc6e3708111c87ea

See more details on using hashes here.

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