maxapi-python 0.1.3__tar.gz → 1.0.1__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.
Files changed (40) hide show
  1. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/.github/FUNDING.yml +15 -15
  2. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/.github/workflows/publish.yml +53 -53
  3. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/.gitignore +117 -117
  4. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/LICENSE +21 -21
  5. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/PKG-INFO +3 -1
  6. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/README.md +141 -141
  7. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/assets/icon.svg +13 -13
  8. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/assets/logo.svg +13 -13
  9. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/docs/api.md +111 -111
  10. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/docs/assets/icon.svg +13 -13
  11. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/docs/examples.md +92 -92
  12. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/docs/index.md +44 -44
  13. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/examples/example.py +71 -68
  14. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/mkdocs.yml +128 -128
  15. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/pyproject.toml +52 -50
  16. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/ruff.toml +75 -75
  17. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/scripts/build.py +47 -47
  18. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/__init__.py +55 -55
  19. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/core.py +170 -156
  20. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/crud.py +99 -99
  21. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/exceptions.py +29 -20
  22. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/files.py +86 -86
  23. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/filters.py +38 -38
  24. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/interfaces.py +73 -67
  25. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/mixins/__init__.py +20 -18
  26. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/mixins/auth.py +81 -81
  27. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/mixins/channel.py +25 -25
  28. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/mixins/group.py +220 -220
  29. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/mixins/handler.py +60 -60
  30. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/mixins/message.py +293 -293
  31. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/mixins/self.py +38 -38
  32. maxapi_python-1.0.1/src/pymax/mixins/telemetry.py +114 -0
  33. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/mixins/user.py +82 -82
  34. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/mixins/websocket.py +262 -243
  35. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/models.py +8 -8
  36. maxapi_python-1.0.1/src/pymax/navigation.py +185 -0
  37. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/payloads.py +195 -175
  38. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/static.py +210 -210
  39. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/types.py +434 -434
  40. {maxapi_python-0.1.3 → maxapi_python-1.0.1}/src/pymax/utils.py +38 -38
@@ -1,15 +1,15 @@
1
- # These are supported funding model platforms
2
-
3
- github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4
- patreon: # Replace with a single Patreon username
5
- open_collective: # Replace with a single Open Collective username
6
- ko_fi: # Replace with a single Ko-fi username
7
- tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8
- community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
- liberapay: # Replace with a single Liberapay username
10
- issuehunt: # Replace with a single IssueHunt username
11
- lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
12
- polar: # Replace with a single Polar username
13
- buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
14
- thanks_dev: # Replace with a single thanks.dev username
15
- custom: ['https://www.donationalerts.com/r/pymax']
1
+ # These are supported funding model platforms
2
+
3
+ github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4
+ patreon: # Replace with a single Patreon username
5
+ open_collective: # Replace with a single Open Collective username
6
+ ko_fi: # Replace with a single Ko-fi username
7
+ tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8
+ community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
+ liberapay: # Replace with a single Liberapay username
10
+ issuehunt: # Replace with a single IssueHunt username
11
+ lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
12
+ polar: # Replace with a single Polar username
13
+ buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
14
+ thanks_dev: # Replace with a single thanks.dev username
15
+ custom: ['https://www.donationalerts.com/r/pymax']
@@ -1,54 +1,54 @@
1
- name: Upload Python Package
2
-
3
- on:
4
- release:
5
- types: [published]
6
- workflow_dispatch:
7
-
8
- permissions:
9
- contents: read
10
-
11
- jobs:
12
- release-build:
13
- runs-on: ubuntu-latest
14
-
15
- steps:
16
- - uses: actions/checkout@v4
17
-
18
- - name: Set up uv
19
- uses: astral-sh/setup-uv@v4
20
- with:
21
- python-version: "3.10"
22
-
23
- - name: Build release distributions
24
- run: |
25
- uv build
26
-
27
- - name: Upload distributions
28
- uses: actions/upload-artifact@v4
29
- with:
30
- name: release-dists
31
- path: dist/
32
-
33
- pypi-publish:
34
- runs-on: ubuntu-latest
35
- needs:
36
- - release-build
37
-
38
- steps:
39
- - name: Retrieve release distributions
40
- uses: actions/download-artifact@v4
41
- with:
42
- name: release-dists
43
- path: dist/
44
-
45
- - name: Set up uv
46
- uses: astral-sh/setup-uv@v4
47
- with:
48
- python-version: "3.10"
49
-
50
- - name: Publish release distributions to PyPI
51
- env:
52
- TOKEN: ${{ secrets.PYPI_API_TOKEN }}
53
- run: |
1
+ name: Upload Python Package
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+ workflow_dispatch:
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ release-build:
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+
18
+ - name: Set up uv
19
+ uses: astral-sh/setup-uv@v4
20
+ with:
21
+ python-version: "3.10"
22
+
23
+ - name: Build release distributions
24
+ run: |
25
+ uv build
26
+
27
+ - name: Upload distributions
28
+ uses: actions/upload-artifact@v4
29
+ with:
30
+ name: release-dists
31
+ path: dist/
32
+
33
+ pypi-publish:
34
+ runs-on: ubuntu-latest
35
+ needs:
36
+ - release-build
37
+
38
+ steps:
39
+ - name: Retrieve release distributions
40
+ uses: actions/download-artifact@v4
41
+ with:
42
+ name: release-dists
43
+ path: dist/
44
+
45
+ - name: Set up uv
46
+ uses: astral-sh/setup-uv@v4
47
+ with:
48
+ python-version: "3.10"
49
+
50
+ - name: Publish release distributions to PyPI
51
+ env:
52
+ TOKEN: ${{ secrets.PYPI_API_TOKEN }}
53
+ run: |
54
54
  uv publish -t $TOKEN
@@ -1,117 +1,117 @@
1
-
2
- # Byte-compiled / optimized / DLL files
3
- __pycache__/
4
- *.py[cod]
5
- *$py.class
6
-
7
- # C extensions
8
- *.so
9
-
10
- # Distribution / packaging
11
- .Python
12
- build/
13
- develop-eggs/
14
- dist/
15
- eggs/
16
- .eggs/
17
- lib/
18
- lib64/
19
- parts/
20
- sdist/
21
- var/
22
- wheels/
23
- pip-wheel-metadata/
24
- share/python-wheels/
25
- *.egg-info/
26
- *.egg
27
-
28
- # PyInstaller
29
- *.manifest
30
- *.spec
31
-
32
- # Installer logs
33
- pip-log.txt
34
- pip-delete-this-directory.txt
35
-
36
- # Unit test / coverage reports
37
- htmlcov/
38
- .tox/
39
- .nox/
40
- .coverage
41
- .coverage.*
42
- .cache
43
- nosetests.xml
44
- coverage.xml
45
- *.cover
46
- *.py,cover
47
- .hypothesis/
48
- .pytest_cache/
49
-
50
- # Jupyter
51
- .ipynb_checkpoints
52
-
53
- # pyenv
54
- .python-version
55
-
56
- # pipenv
57
- Pipfile.lock
58
-
59
- # Poetry / other lock files (optional)
60
- poetry.lock
61
- uv.lock
62
-
63
- # Virtual environments
64
- venv/
65
- ENV/
66
- env/
67
- .env/
68
- .venv/
69
- venv.bak/
70
- venv*/
71
-
72
- # Spyder project settings
73
- .spyproject
74
-
75
- # Rope
76
- .ropeproject
77
-
78
- # mkdocs
79
- /site
80
-
81
- # mypy
82
- .mypy_cache/
83
-
84
- # ruff
85
- .ruff_cache/
86
-
87
- # IDEs and editors
88
- .vscode/
89
- .idea/
90
- *.sublime-project
91
- *.sublime-workspace
92
-
93
- # OS files
94
- .DS_Store
95
- Thumbs.db
96
-
97
- # Logs and databases
98
- *.log
99
- *.sql
100
- *.sqlite
101
- *.sqlite3
102
- *.db
103
- session.db
104
- *.bak
105
- *.swp
106
-
107
- # Environment / secrets
108
- .env
109
- .env.*
110
-
111
- # Project-specific artifacts
112
- max_client.egg-info/
113
- cache/
114
-
115
- # Keep lockfiles and important configs tracked? If you want to track specific lockfiles,
116
- # remove them from this .gitignore (for example: remove poetry.lock or uv.lock).
117
- tests/
1
+
2
+ # Byte-compiled / optimized / DLL files
3
+ __pycache__/
4
+ *.py[cod]
5
+ *$py.class
6
+
7
+ # C extensions
8
+ *.so
9
+
10
+ # Distribution / packaging
11
+ .Python
12
+ build/
13
+ develop-eggs/
14
+ dist/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ pip-wheel-metadata/
24
+ share/python-wheels/
25
+ *.egg-info/
26
+ *.egg
27
+
28
+ # PyInstaller
29
+ *.manifest
30
+ *.spec
31
+
32
+ # Installer logs
33
+ pip-log.txt
34
+ pip-delete-this-directory.txt
35
+
36
+ # Unit test / coverage reports
37
+ htmlcov/
38
+ .tox/
39
+ .nox/
40
+ .coverage
41
+ .coverage.*
42
+ .cache
43
+ nosetests.xml
44
+ coverage.xml
45
+ *.cover
46
+ *.py,cover
47
+ .hypothesis/
48
+ .pytest_cache/
49
+
50
+ # Jupyter
51
+ .ipynb_checkpoints
52
+
53
+ # pyenv
54
+ .python-version
55
+
56
+ # pipenv
57
+ Pipfile.lock
58
+
59
+ # Poetry / other lock files (optional)
60
+ poetry.lock
61
+ uv.lock
62
+
63
+ # Virtual environments
64
+ venv/
65
+ ENV/
66
+ env/
67
+ .env/
68
+ .venv/
69
+ venv.bak/
70
+ venv*/
71
+
72
+ # Spyder project settings
73
+ .spyproject
74
+
75
+ # Rope
76
+ .ropeproject
77
+
78
+ # mkdocs
79
+ /site
80
+
81
+ # mypy
82
+ .mypy_cache/
83
+
84
+ # ruff
85
+ .ruff_cache/
86
+
87
+ # IDEs and editors
88
+ .vscode/
89
+ .idea/
90
+ *.sublime-project
91
+ *.sublime-workspace
92
+
93
+ # OS files
94
+ .DS_Store
95
+ Thumbs.db
96
+
97
+ # Logs and databases
98
+ *.log
99
+ *.sql
100
+ *.sqlite
101
+ *.sqlite3
102
+ *.db
103
+ session.db
104
+ *.bak
105
+ *.swp
106
+
107
+ # Environment / secrets
108
+ .env
109
+ .env.*
110
+
111
+ # Project-specific artifacts
112
+ max_client.egg-info/
113
+ cache/
114
+
115
+ # Keep lockfiles and important configs tracked? If you want to track specific lockfiles,
116
+ # remove them from this .gitignore (for example: remove poetry.lock or uv.lock).
117
+ tests/
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 noxzion
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.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 noxzion
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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maxapi-python
3
- Version: 0.1.3
3
+ Version: 1.0.1
4
4
  Summary: Python wrapper для API мессенджера Max
5
5
  Project-URL: Homepage, https://github.com/noxzion/PyMax
6
6
  Project-URL: Repository, https://github.com/noxzion/PyMax
@@ -14,9 +14,11 @@ Classifier: Programming Language :: Python :: 3
14
14
  Requires-Python: >=3.10
15
15
  Requires-Dist: aiofiles>=24.1.0
16
16
  Requires-Dist: aiohttp>=3.12.15
17
+ Requires-Dist: build>=1.3.0
17
18
  Requires-Dist: lz4>=4.4.4
18
19
  Requires-Dist: msgpack>=1.1.1
19
20
  Requires-Dist: sqlmodel>=0.0.24
21
+ Requires-Dist: twine>=6.2.0
20
22
  Requires-Dist: websockets>=11.0
21
23
  Description-Content-Type: text/markdown
22
24