![Ver/TestedPython](https://img.shields.io/pypi/pyversions/base_aux)
![Ver/Os](https://img.shields.io/badge/os_development-Windows-blue)
![repo/Created](https://img.shields.io/github/created-at/centroid457/base_aux)
![Commit/Last](https://img.shields.io/github/last-commit/centroid457/base_aux)
![Tests/GitHubWorkflowStatus](https://github.com/centroid457/base_aux/actions/workflows/test_linux.yml/badge.svg)
![Tests/GitHubWorkflowStatus](https://github.com/centroid457/base_aux/actions/workflows/test_windows.yml/badge.svg)
![repo/Size](https://img.shields.io/github/repo-size/centroid457/base_aux)
![Commit/Count/t](https://img.shields.io/github/commit-activity/t/centroid457/base_aux)
![Commit/Count/y](https://img.shields.io/github/commit-activity/y/centroid457/base_aux)
![Commit/Count/m](https://img.shields.io/github/commit-activity/m/centroid457/base_aux)
# base_aux (current v0.0.16/![Ver/Pypi Latest](https://img.shields.io/pypi/v/base_aux?label=pypi%20latest))
## 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](LICENSE) file for license rights and limitations (MIT).
See the [LICENSE_bundled.md](LICENSE_bundled.md) file for parent licenses.
## Release history
See the [HISTORY.md](HISTORY.md) file for release history.
## Installation
```commandline
pip install base-aux
```
## Import
```python
from base_aux import *
```
********************************************************************************
## USAGE EXAMPLES
See tests, sourcecode and docstrings for other examples.
********************************************************************************
Raw data
{
"_id": null,
"home_page": "https://github.com/centroid457/",
"name": "base-aux",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Andrei Starichenko",
"author_email": "centroid@mail.ru",
"download_url": "https://files.pythonhosted.org/packages/20/d5/0ab301eaea83576c3ba4c6791790de80733d9b75cafe2e1dada11a094ab1/base_aux-0.0.16.tar.gz",
"platform": null,
"description": "![Ver/TestedPython](https://img.shields.io/pypi/pyversions/base_aux)\r\n![Ver/Os](https://img.shields.io/badge/os_development-Windows-blue) \r\n![repo/Created](https://img.shields.io/github/created-at/centroid457/base_aux)\r\n![Commit/Last](https://img.shields.io/github/last-commit/centroid457/base_aux)\r\n![Tests/GitHubWorkflowStatus](https://github.com/centroid457/base_aux/actions/workflows/test_linux.yml/badge.svg)\r\n![Tests/GitHubWorkflowStatus](https://github.com/centroid457/base_aux/actions/workflows/test_windows.yml/badge.svg) \r\n![repo/Size](https://img.shields.io/github/repo-size/centroid457/base_aux)\r\n![Commit/Count/t](https://img.shields.io/github/commit-activity/t/centroid457/base_aux)\r\n![Commit/Count/y](https://img.shields.io/github/commit-activity/y/centroid457/base_aux)\r\n![Commit/Count/m](https://img.shields.io/github/commit-activity/m/centroid457/base_aux)\r\n\r\n# base_aux (current v0.0.16/![Ver/Pypi Latest](https://img.shields.io/pypi/v/base_aux?label=pypi%20latest))\r\n\r\n## DESCRIPTION_SHORT\r\ncollect all my previous modules in one package\r\n\r\n## DESCRIPTION_LONG\r\n\r\n\r\n\r\n## Features\r\n1. cmp - apply for cmp object with others \r\n2. getattr prefix \r\n3. getattr echo \r\n4. middle group \r\n5. Number+NumberArithm - use class as number \r\n6. Annotations - work with annotations +use special abilities+use nested classes \r\n7. perfect singleton (maybe thread safe!) \r\n8. collect all instances \r\n9. check correct instantiating singletons in tree project \r\n10. check requirements (systemOs), raise/bool if no match \r\n11. create fuck(?)/source and is it for check for settings \r\n12. [python PACKAGES/MODULES]: \r\n\t- upgrade \r\n\t- delete \r\n\t- version_get_installed \r\n\t- check_installed) \r\n\t- upgrade pip \r\n13. [VERSION]: \r\n\t- parse \r\n\t- check \r\n\t- compare \r\n14. send commands into OS terminal \r\n15. check if cli commands are accessible (special utilities is installed) \r\n16. access to standard parts of result in a simple ready-to-use form (stdout/stderr/retcode/full state) \r\n17. use batch timeout for list \r\n18. till_first_true \r\n19. counter/counter_in_list \r\n20. designed for common work with bitfields-like objects \r\n21. Flags \r\n22. Bits \r\n23. \r\n Designed to use private data like username/pwd kept secure in OsEnvironment or Ini/Json-File for your several home projects at ones. \r\n And not open it in public. \r\n \r\n **CAUTION:** \r\n in requirements for other projects use fixed version! because it might be refactored so you would get exception soon.\r\n \r\n24. load values to instance attrs from: \r\n\t- Environment \r\n\t- IniFile \r\n\t- JsonFile \r\n\t- CsvFile \r\n\t- direct text instead of file \r\n\t- direct dict instead of file \r\n25. attr access: \r\n\t- via any lettercase \r\n\t- by instance attr \r\n\t- like dict key on instance \r\n26. work with dict: \r\n\t- apply \r\n\t- update \r\n\t- preupdate \r\n27. update_dict as cumulative result - useful in case of settings result \r\n28. use different managers for different funcs/methods if needed \r\n29. use just one decorator to spawn threads from func / methods \r\n30. keep all spawned threads in list by ThreadItem objects \r\n31. ThreadItem keeps result/exx/is_alive attributes! \r\n32. use wait_all/terminate_all() \r\n33. [SERVERS]: \r\n\t- [aiohttp] (try not to use, as old) \r\n\t- [FastApi] (preferred) \r\n34. client_requests item+stack \r\n35. [SerialClient]: \r\n\t- keep all found ports in base class! \r\n36. Serial: \r\n\t- Client+Server \r\n\t- connect with Type__AddressAutoAcceptVariant FIRST_FREE/FIRST_FREE__ANSWER_VALID \r\n\t- set/get params by SlashOrSpacePath addressing \r\n\t- handle BackSpace send manually from terminal \r\n37. SerialServer values: \r\n\t- as Callable \r\n\t- ValueUnit \r\n\t- ValueVariants \r\n\t- list_results \r\n38. SerialServer cmd: \r\n\t- NONE is equivalent for SUCCESS \r\n\t- no need params (like line_parsed as before) \r\n\t- help - for show all variants (Units/Variants/Callables)! \r\n39. Threading each monitor \r\n40. monitor: \r\n\t- website data changes (tag text/attribute) \r\n\t- email received with subject (by regexp) in exact folder \r\n41. Email/Telegram alert if: \r\n\t- monitored data changed (from last state) \r\n\t- html structure was changed so parsing can't be finished \r\n\t- url became unreachable \r\n42. send alert msgs: \r\n\t- emails \r\n\t- telegram \r\n43. threading \r\n44. pyqt help examples and some other useful objects (overloaded pyqt classes) \r\n45. good template for TableView/Model/Signals \r\n46. add Events for TM/TV/PTE/... \r\n\r\n\r\n********************************************************************************\r\n## License\r\nSee the [LICENSE](LICENSE) file for license rights and limitations (MIT). \r\nSee the [LICENSE_bundled.md](LICENSE_bundled.md) file for parent licenses. \r\n\r\n\r\n## Release history\r\nSee the [HISTORY.md](HISTORY.md) file for release history. \r\n\r\n\r\n## Installation\r\n```commandline\r\npip install base-aux\r\n```\r\n\r\n\r\n## Import\r\n```python\r\nfrom base_aux import *\r\n```\r\n\r\n\r\n********************************************************************************\r\n## USAGE EXAMPLES\r\nSee tests, sourcecode and docstrings for other examples. \r\n\r\n********************************************************************************\r\n",
"bugtrack_url": null,
"license": null,
"summary": "collect all my previous modules in one package",
"version": "0.0.16",
"project_urls": {
"Homepage": "https://github.com/centroid457/",
"Source": "https://github.com/centroid457/base_aux"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "79b20f7ae538f4b0b8b02eb7b904e021df63a7eb4298d4761c1c51c613040aae",
"md5": "34da27638b358dd0b828037152a8edbf",
"sha256": "b4130990b66aa3b95883897d6797e379823a595b46cebafa642678018aeb65af"
},
"downloads": -1,
"filename": "base_aux-0.0.16-py3-none-any.whl",
"has_sig": false,
"md5_digest": "34da27638b358dd0b828037152a8edbf",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 244473,
"upload_time": "2024-11-14T15:41:43",
"upload_time_iso_8601": "2024-11-14T15:41:43.270287Z",
"url": "https://files.pythonhosted.org/packages/79/b2/0f7ae538f4b0b8b02eb7b904e021df63a7eb4298d4761c1c51c613040aae/base_aux-0.0.16-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "20d50ab301eaea83576c3ba4c6791790de80733d9b75cafe2e1dada11a094ab1",
"md5": "8a912a03d25043aef7da6910c96a2141",
"sha256": "b6749c8faa86cf36949b171a2946891ac963f9156f6357abe9b3c7ee06ae7745"
},
"downloads": -1,
"filename": "base_aux-0.0.16.tar.gz",
"has_sig": false,
"md5_digest": "8a912a03d25043aef7da6910c96a2141",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 196946,
"upload_time": "2024-11-14T15:41:45",
"upload_time_iso_8601": "2024-11-14T15:41:45.236218Z",
"url": "https://files.pythonhosted.org/packages/20/d5/0ab301eaea83576c3ba4c6791790de80733d9b75cafe2e1dada11a094ab1/base_aux-0.0.16.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-14 15:41:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "centroid457",
"github_project": "base_aux",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "build",
"specs": []
},
{
"name": "twine",
"specs": []
},
{
"name": "setuptools",
"specs": []
},
{
"name": "pytest",
"specs": []
},
{
"name": "numpy",
"specs": []
},
{
"name": "pyserial",
"specs": []
},
{
"name": "smbus2",
"specs": []
},
{
"name": "telebot",
"specs": []
},
{
"name": "PyQt5",
"specs": []
},
{
"name": "aiohttp",
"specs": []
},
{
"name": "FastAPI",
"specs": []
},
{
"name": "requests",
"specs": []
},
{
"name": "uvicorn",
"specs": []
},
{
"name": "PyYAML",
"specs": []
},
{
"name": "pydantic",
"specs": []
},
{
"name": "bs4",
"specs": []
}
],
"lcname": "base-aux"
}