aldheeb-pytools 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Abdullah (github.com/eeeob)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.4
2
+ Name: aldheeb-pytools
3
+ Version: 0.1.0
4
+ Summary: Python Tools library for some services
5
+ Project-URL: Homepage, https://github.com/eeeob/aldheeb-pytools
6
+ Author-email: Abdullah <aldheeb01@gmail.com>
7
+ License-File: LICENSE
8
+ Classifier: Development Status :: 3 - Alpha
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Programming Language :: Python :: 3.13
14
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
15
+ Classifier: Typing :: Typed
16
+ Requires-Python: >=3.12
17
+ Requires-Dist: aiologic>=0.16.0
18
+ Requires-Dist: beautifulsoup4>=4.14.3
19
+ Requires-Dist: cryptography>=46.0.4
20
+ Requires-Dist: kurigram[fast]>=2.2.23
21
+ Requires-Dist: phonenumbers>=9.0.21
22
+ Requires-Dist: pycountry>=26.2.16
23
+ Requires-Dist: pydantic>=2.0
24
+ Requires-Dist: pymongo>=4.16.0
25
+ Provides-Extra: dev
26
+ Requires-Dist: hatch<=1.16.5; extra == 'dev'
27
+ Requires-Dist: twine<=6.2.0; extra == 'dev'
28
+ Provides-Extra: full
29
+ Requires-Dist: aioimaplib>=2.0.1; extra == 'full'
@@ -0,0 +1,78 @@
1
+ # aldheeb-pytools ๐Ÿ› ๏ธ
2
+
3
+ [![PyPI version](https://img.shields.io/pypi/v/aldheeb-pytools.svg)](https://pypi.org/project/aldheeb-pytools/)
4
+ [![Python versions](https://img.shields.io/pypi/pyversions/aldheeb-pytools.svg)](https://pypi.org/project/aldheeb-pytools/)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
6
+
7
+ **aldheeb-pytools** is a modern Python utilities library providing async-ready helpers for backend systems, databases, cryptography, and Telegram automation.
8
+
9
+ ---
10
+
11
+ ## โœจ Features
12
+
13
+ * โšก **Async-first design** built for modern `asyncio` applications
14
+ * ๐Ÿ—„๏ธ **MongoDB utilities** for cleaner and safer database operations
15
+ * ๐Ÿ” **Cryptography helpers** (AES-GCM, secure key derivation)
16
+ * ๐Ÿค– **Telegram utilities** using Kurigram integration
17
+ * ๐Ÿงฐ **General utilities** for parsing, validation, and data handling
18
+ * ๐Ÿงฉ **Fully typed codebase** with strict type hints support
19
+
20
+ ---
21
+
22
+ ## ๐Ÿ“ฆ Installation
23
+
24
+ ### Basic install
25
+
26
+ ```bash
27
+ pip install aldheeb-pytools
28
+ ```
29
+
30
+ ### With optional dependencies
31
+
32
+ ```bash
33
+ pip install "aldheeb-pytools[full]"
34
+ ```
35
+
36
+ ---
37
+
38
+ ## ๐Ÿš€ Quick Start
39
+
40
+ ### ๐Ÿ” Encryption example
41
+
42
+ ```python
43
+ from pytools.crypto import encrypt, decrypt
44
+
45
+ key = "my-secure-key"
46
+
47
+ encrypted = encrypt("secret data", key)
48
+ print(encrypted)
49
+
50
+ decrypted = decrypt(encrypted, key)
51
+ print(decrypted)
52
+ ```
53
+
54
+ ---
55
+
56
+ ## ๐Ÿงช Development Setup
57
+
58
+ ```bash
59
+ git clone https://github.com/eeeob/aldheeb-pytools.git
60
+ cd aldheeb-pytools
61
+ pip install -e .[dev]
62
+ ```
63
+
64
+ ---
65
+
66
+ ## ๐Ÿ“„ License
67
+
68
+ This project is licensed under the **MIT License**.
69
+ See the [LICENSE](LICENSE) file for details.
70
+
71
+ ---
72
+
73
+ ## ๐Ÿ“ฌ Contact
74
+
75
+ * Email: [aldheeb01@gmail.com](mailto:aldheeb01@gmail.com)
76
+ * GitHub: https://github.com/eeeob/aldheeb-pytools
77
+
78
+ ---
@@ -0,0 +1,63 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+
6
+ [project]
7
+ name = "aldheeb-pytools"
8
+ dynamic = ["version"]
9
+ description = "Python Tools library for some services"
10
+ requires-python = ">=3.12"
11
+ authors = [{ name = "Abdullah", email = "aldheeb01@gmail.com" }]
12
+
13
+ classifiers = [
14
+ "Programming Language :: Python :: 3",
15
+ "Programming Language :: Python :: 3.12",
16
+ "Programming Language :: Python :: 3.13",
17
+ "Operating System :: OS Independent",
18
+ "Development Status :: 3 - Alpha",
19
+ "Intended Audience :: Developers",
20
+ "Topic :: Software Development :: Libraries :: Python Modules",
21
+ "Typing :: Typed",
22
+ ]
23
+
24
+ dependencies = [
25
+ "pydantic>=2.0",
26
+ "aiologic>=0.16.0",
27
+ "pymongo>=4.16.0",
28
+ "pycountry>=26.2.16",
29
+ "cryptography>=46.0.4",
30
+ "beautifulsoup4>=4.14.3",
31
+ "phonenumbers>=9.0.21",
32
+ "kurigram[fast]>=2.2.23",
33
+ ]
34
+
35
+
36
+ [project.urls]
37
+ "Homepage" = "https://github.com/eeeob/aldheeb-pytools"
38
+
39
+ [project.optional-dependencies]
40
+ dev = [
41
+ "hatch<=1.16.5",
42
+ "twine<=6.2.0",
43
+ ]
44
+
45
+ full = [
46
+ "aioimaplib>=2.0.1",
47
+ ]
48
+
49
+ [tool.hatch.build.targets.sdist]
50
+ exclude = [
51
+ ".github/",
52
+ ]
53
+
54
+ [tool.hatch.version]
55
+ path = "pytools/__meta__.py"
56
+
57
+
58
+ [tool.hatch.metadata]
59
+ allow-direct-references = true
60
+
61
+ [tool.hatch.build.targets.wheel]
62
+ ignore-vcs = true
63
+ packages = ["pytools"]
@@ -0,0 +1,38 @@
1
+
2
+ from .validate_tools import *
3
+ from .date_tools import *
4
+ from .num_tools import *
5
+ from .files_tools import *
6
+ from .iter_tools import *
7
+ from .text_tools import *
8
+ from .async_tools import *
9
+ from .misc_tools import *
10
+ from .tg_tools import *
11
+ from .phone_tools import *
12
+ from .country_tools import *
13
+ from .crypto_tools import *
14
+ from .data_tools import *
15
+ from .callable_tools import *
16
+ from .logging_tools import *
17
+ from .email_tools import *
18
+ from .classes import *
19
+
20
+ __all__ = (
21
+ *validate_tools.__all__,
22
+ *date_tools.__all__,
23
+ *num_tools.__all__,
24
+ *files_tools.__all__,
25
+ *iter_tools.__all__,
26
+ *text_tools.__all__,
27
+ *async_tools.__all__,
28
+ *misc_tools.__all__,
29
+ *tg_tools.__all__,
30
+ *phone_tools.__all__,
31
+ *country_tools.__all__,
32
+ *crypto_tools.__all__,
33
+ *data_tools.__all__,
34
+ *callable_tools.__all__,
35
+ *classes.__all__,
36
+ *logging_tools.__all__,
37
+ *email_tools.__all__,
38
+ )
@@ -0,0 +1 @@
1
+ __version__ = "0.1.0"