wokomod 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.
Files changed (35) hide show
  1. wokomod-1.0/.github/workflows/deploy.yml +52 -0
  2. wokomod-1.0/.github/workflows/test-deploy.yml +32 -0
  3. wokomod-1.0/.gitignore +58 -0
  4. wokomod-1.0/COPYING +674 -0
  5. wokomod-1.0/COPYING.lesser +165 -0
  6. wokomod-1.0/NOTICE +17 -0
  7. wokomod-1.0/PKG-INFO +8 -0
  8. wokomod-1.0/README.md +0 -0
  9. wokomod-1.0/pyproject.toml +21 -0
  10. wokomod-1.0/pyromod/__init__.py +26 -0
  11. wokomod-1.0/pyromod/config/__init__.py +12 -0
  12. wokomod-1.0/pyromod/config.py +12 -0
  13. wokomod-1.0/pyromod/exceptions/__init__.py +4 -0
  14. wokomod-1.0/pyromod/exceptions/listener_stopped.py +5 -0
  15. wokomod-1.0/pyromod/exceptions/listener_timeout.py +13 -0
  16. wokomod-1.0/pyromod/helpers/__init__.py +22 -0
  17. wokomod-1.0/pyromod/helpers/helpers.py +91 -0
  18. wokomod-1.0/pyromod/listen/__init__.py +15 -0
  19. wokomod-1.0/pyromod/listen/callback_query_handler.py +148 -0
  20. wokomod-1.0/pyromod/listen/chat.py +25 -0
  21. wokomod-1.0/pyromod/listen/client.py +242 -0
  22. wokomod-1.0/pyromod/listen/message.py +34 -0
  23. wokomod-1.0/pyromod/listen/message_handler.py +106 -0
  24. wokomod-1.0/pyromod/listen/user.py +25 -0
  25. wokomod-1.0/pyromod/nav/__init__.py +22 -0
  26. wokomod-1.0/pyromod/nav/pagination.py +88 -0
  27. wokomod-1.0/pyromod/types/__init__.py +5 -0
  28. wokomod-1.0/pyromod/types/identifier.py +71 -0
  29. wokomod-1.0/pyromod/types/listener.py +49 -0
  30. wokomod-1.0/pyromod/types/listener_types.py +10 -0
  31. wokomod-1.0/pyromod/utils/__init__.py +3 -0
  32. wokomod-1.0/pyromod/utils/patch.py +92 -0
  33. wokomod-1.0/requirements.lock +11 -0
  34. wokomod-1.0/venv/.gitignore +2 -0
  35. wokomod-1.0/venv/pyvenv.cfg +5 -0
@@ -0,0 +1,52 @@
1
+ name: Deploy to GitHub Pages
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ # Review gh actions docs if you want to further define triggers, paths, etc.
8
+ # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
9
+
10
+ permissions:
11
+ contents: write
12
+
13
+ jobs:
14
+ deploy:
15
+ name: Deploy to GitHub Pages
16
+ runs-on: ubuntu-latest
17
+ env:
18
+ working-dir: ./docs
19
+ defaults:
20
+ run:
21
+ working-directory: ${{ env.working-dir }}
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+ with:
25
+ fetch-depth: 0
26
+ - uses: actions/setup-node@v4
27
+ with:
28
+ node-version: 18
29
+ cache: yarn
30
+ cache-dependency-path: ./docs/yarn.lock
31
+
32
+ - name: Install dependencies
33
+ run: yarn install --frozen-lockfile
34
+ - name: Build website
35
+ run: yarn build
36
+
37
+ # Popular action to deploy to GitHub Pages:
38
+ # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
39
+ - name: Deploy to GitHub Pages
40
+ uses: peaceiris/actions-gh-pages@v3
41
+ with:
42
+ github_token: ${{ secrets.GITHUB_TOKEN }}
43
+ # Build output to publish to the `gh-pages` branch:
44
+ publish_dir: ./docs/build
45
+ cname: pyromod.pauxis.dev
46
+ # The following lines assign commit authorship to the official
47
+ # GH-Actions bot for deploys to `gh-pages` branch:
48
+ # https://github.com/actions/checkout/issues/13#issuecomment-724415212
49
+ # The GH actions bot is used by default if you didn't specify the two fields.
50
+ # You can swap them out with your own user credentials.
51
+ user_name: github-actions[bot]
52
+ user_email: 41898282+github-actions[bot]@users.noreply.github.com
@@ -0,0 +1,32 @@
1
+ name: Test deployment
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - master
7
+ # Review gh actions docs if you want to further define triggers, paths, etc
8
+ # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
9
+
10
+ jobs:
11
+ test-deploy:
12
+ name: Test deployment
13
+ runs-on: ubuntu-latest
14
+ env:
15
+ working-dir: ./docs
16
+ defaults:
17
+ run:
18
+ working-directory: ${{ env.working-dir }}
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ with:
22
+ fetch-depth: 0
23
+ - uses: actions/setup-node@v4
24
+ with:
25
+ node-version: 18
26
+ cache: yarn
27
+ cache-dependency-path: ./docs/yarn.lock
28
+
29
+ - name: Install dependencies
30
+ run: yarn install --frozen-lockfile
31
+ - name: Test build website
32
+ run: yarn build
wokomod-1.0/.gitignore ADDED
@@ -0,0 +1,58 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+
5
+ # C extensions
6
+ *.so
7
+
8
+ # Distribution / packaging
9
+ bin/
10
+ build/
11
+ develop-eggs/
12
+ dist/
13
+ eggs/
14
+ lib/
15
+ lib64/
16
+ parts/
17
+ sdist/
18
+ var/
19
+ *.egg-info/
20
+ .installed.cfg
21
+ *.egg
22
+
23
+ # Installer logs
24
+ pip-log.txt
25
+ pip-delete-this-directory.txt
26
+
27
+ # Unit test / coverage reports
28
+ .tox/
29
+ .coverage
30
+ .cache
31
+ nosetests.xml
32
+ coverage.xml
33
+
34
+ # Translations
35
+ *.mo
36
+
37
+ # Mr Developer
38
+ .mr.developer.cfg
39
+ .project
40
+ .pydevproject
41
+
42
+ # Rope
43
+ .ropeproject
44
+
45
+ # Django stuff:
46
+ *.log
47
+ *.pot
48
+
49
+ # Sphinx documentation
50
+ docs/_build/
51
+
52
+ # Custom
53
+ test.py
54
+ .vscode
55
+ Session.vim
56
+
57
+ .python-version
58
+ .venv