winiutils 2.3.12__py3-none-any.whl

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.
Files changed (38) hide show
  1. winiutils/__init__.py +1 -0
  2. winiutils/dev/__init__.py +1 -0
  3. winiutils/dev/builders/__init__.py +1 -0
  4. winiutils/dev/cli/__init__.py +1 -0
  5. winiutils/dev/cli/subcommands.py +6 -0
  6. winiutils/dev/configs/__init__.py +1 -0
  7. winiutils/dev/tests/__init__.py +1 -0
  8. winiutils/dev/tests/fixtures/__init__.py +1 -0
  9. winiutils/dev/tests/fixtures/fixtures.py +32 -0
  10. winiutils/main.py +9 -0
  11. winiutils/py.typed +0 -0
  12. winiutils/resources/__init__.py +1 -0
  13. winiutils/src/__init__.py +4 -0
  14. winiutils/src/data/__init__.py +8 -0
  15. winiutils/src/data/dataframe/__init__.py +7 -0
  16. winiutils/src/data/dataframe/cleaning.py +734 -0
  17. winiutils/src/data/structures/__init__.py +8 -0
  18. winiutils/src/data/structures/dicts.py +40 -0
  19. winiutils/src/data/structures/text/__init__.py +7 -0
  20. winiutils/src/data/structures/text/string.py +157 -0
  21. winiutils/src/iterating/__init__.py +8 -0
  22. winiutils/src/iterating/concurrent/__init__.py +9 -0
  23. winiutils/src/iterating/concurrent/concurrent.py +301 -0
  24. winiutils/src/iterating/concurrent/multiprocessing.py +186 -0
  25. winiutils/src/iterating/concurrent/multithreading.py +132 -0
  26. winiutils/src/iterating/iterate.py +45 -0
  27. winiutils/src/oop/__init__.py +7 -0
  28. winiutils/src/oop/mixins/__init__.py +8 -0
  29. winiutils/src/oop/mixins/meta.py +217 -0
  30. winiutils/src/oop/mixins/mixin.py +58 -0
  31. winiutils/src/security/__init__.py +8 -0
  32. winiutils/src/security/cryptography.py +100 -0
  33. winiutils/src/security/keyring.py +167 -0
  34. winiutils-2.3.12.dist-info/METADATA +283 -0
  35. winiutils-2.3.12.dist-info/RECORD +38 -0
  36. winiutils-2.3.12.dist-info/WHEEL +4 -0
  37. winiutils-2.3.12.dist-info/entry_points.txt +4 -0
  38. winiutils-2.3.12.dist-info/licenses/LICENSE +21 -0
winiutils/__init__.py ADDED
@@ -0,0 +1 @@
1
+ """__init__ module for winipedia_utils."""
@@ -0,0 +1 @@
1
+ """__init__ module."""
@@ -0,0 +1 @@
1
+ """__init__ module."""
@@ -0,0 +1 @@
1
+ """__init__ module."""
@@ -0,0 +1,6 @@
1
+ """Subcommands for the CLI.
2
+
3
+ They will be automatically imported and added to the CLI
4
+ IMPORTANT: All funcs in this file will be added as subcommands.
5
+ So best to define the logic elsewhere and just call it here in a wrapper.
6
+ """
@@ -0,0 +1 @@
1
+ """__init__ module."""
@@ -0,0 +1 @@
1
+ """__init__ module."""
@@ -0,0 +1 @@
1
+ """__init__ module."""
@@ -0,0 +1,32 @@
1
+ """Fixtures for testing.
2
+
3
+ This module provides custom fixtures for pytest that can be pluued into tests
4
+ across the entire test suite.
5
+ All fixtures defined under the fixtures package are auto plugged in automatically
6
+ by pyrig via the pytest_plugins mechanism.
7
+ """
8
+
9
+ from collections.abc import Callable, Iterator
10
+
11
+ import keyring
12
+ import pytest
13
+
14
+
15
+ @pytest.fixture
16
+ def keyring_cleanup() -> Iterator[Callable[[str, str], None]]:
17
+ """Factory fixture to clean up keyring entries after test.
18
+
19
+ Usage:
20
+ def test_something(keyring_cleanup):
21
+ keyring_cleanup("service_name", "username")
22
+ # ... test code that creates keyring entries ...
23
+ """
24
+ entries: list[tuple[str, str]] = []
25
+
26
+ def register(service_name: str, username: str) -> None:
27
+ entries.append((service_name, username))
28
+
29
+ yield register
30
+
31
+ for service_name, username in entries:
32
+ keyring.delete_password(service_name, username)
winiutils/main.py ADDED
@@ -0,0 +1,9 @@
1
+ """Main entrypoint for the project."""
2
+
3
+
4
+ def main() -> None:
5
+ """Main entrypoint for the project."""
6
+
7
+
8
+ if __name__ == "__main__":
9
+ main()
winiutils/py.typed ADDED
File without changes
@@ -0,0 +1 @@
1
+ """__init__ module."""
@@ -0,0 +1,4 @@
1
+ """src package.
2
+
3
+ This package contains the source code for the winiutils library.
4
+ """
@@ -0,0 +1,8 @@
1
+ """Data processing utilities package.
2
+
3
+ This package provides utilities for data manipulation and processing:
4
+
5
+ Modules:
6
+ dataframe: Polars DataFrame cleaning pipeline utilities.
7
+ structures: Data structure utilities including dicts and text processing.
8
+ """
@@ -0,0 +1,7 @@
1
+ """DataFrame processing utilities package.
2
+
3
+ This package provides utilities for working with Polars DataFrames:
4
+
5
+ Modules:
6
+ cleaning: Abstract base class for building DataFrame cleaning pipelines.
7
+ """