arcanechat-tui 0.11.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 (32) hide show
  1. arcanechat_tui-0.11.0/.github/workflows/python-ci.yml +56 -0
  2. arcanechat_tui-0.11.0/.gitignore +17 -0
  3. arcanechat_tui-0.11.0/LICENSE +674 -0
  4. arcanechat_tui-0.11.0/PKG-INFO +84 -0
  5. arcanechat_tui-0.11.0/README.md +53 -0
  6. arcanechat_tui-0.11.0/arcanechat_tui/__init__.py +3 -0
  7. arcanechat_tui-0.11.0/arcanechat_tui/__main__.py +5 -0
  8. arcanechat_tui-0.11.0/arcanechat_tui/_version.py +21 -0
  9. arcanechat_tui-0.11.0/arcanechat_tui/application.py +165 -0
  10. arcanechat_tui-0.11.0/arcanechat_tui/cards_widget.py +35 -0
  11. arcanechat_tui-0.11.0/arcanechat_tui/chatlist.py +104 -0
  12. arcanechat_tui-0.11.0/arcanechat_tui/cli.py +149 -0
  13. arcanechat_tui-0.11.0/arcanechat_tui/composer.py +86 -0
  14. arcanechat_tui-0.11.0/arcanechat_tui/container.py +31 -0
  15. arcanechat_tui-0.11.0/arcanechat_tui/conversation.py +127 -0
  16. arcanechat_tui-0.11.0/arcanechat_tui/eventcenter.py +45 -0
  17. arcanechat_tui-0.11.0/arcanechat_tui/lazylistwaker.py +33 -0
  18. arcanechat_tui-0.11.0/arcanechat_tui/logger.py +29 -0
  19. arcanechat_tui-0.11.0/arcanechat_tui/main.py +64 -0
  20. arcanechat_tui-0.11.0/arcanechat_tui/util.py +86 -0
  21. arcanechat_tui-0.11.0/arcanechat_tui/welcome_widget.py +10 -0
  22. arcanechat_tui-0.11.0/arcanechat_tui.egg-info/PKG-INFO +84 -0
  23. arcanechat_tui-0.11.0/arcanechat_tui.egg-info/SOURCES.txt +30 -0
  24. arcanechat_tui-0.11.0/arcanechat_tui.egg-info/dependency_links.txt +1 -0
  25. arcanechat_tui-0.11.0/arcanechat_tui.egg-info/entry_points.txt +3 -0
  26. arcanechat_tui-0.11.0/arcanechat_tui.egg-info/requires.txt +16 -0
  27. arcanechat_tui-0.11.0/arcanechat_tui.egg-info/top_level.txt +1 -0
  28. arcanechat_tui-0.11.0/docs/user-guide.md +50 -0
  29. arcanechat_tui-0.11.0/pylama.ini +4 -0
  30. arcanechat_tui-0.11.0/pyproject.toml +65 -0
  31. arcanechat_tui-0.11.0/screenshots/e1.png +0 -0
  32. arcanechat_tui-0.11.0/setup.cfg +4 -0
@@ -0,0 +1,56 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [ main, master ]
6
+ tags:
7
+ - 'v*.*.*'
8
+ pull_request:
9
+ branches: [ main, master ]
10
+
11
+ jobs:
12
+ test:
13
+ runs-on: ubuntu-latest
14
+ strategy:
15
+ matrix:
16
+ python-version: ["3.8", "3.12"]
17
+ steps:
18
+ - uses: actions/checkout@v2
19
+ - name: Set up Python ${{ matrix.python-version }}
20
+ uses: actions/setup-python@v2
21
+ with:
22
+ python-version: ${{ matrix.python-version }}
23
+ - name: Install dependencies
24
+ run: |
25
+ python -m pip install --upgrade pip setuptools
26
+ python -m pip install '.[dev]'
27
+ - name: Check code with black
28
+ run: |
29
+ black --check .
30
+ - name: Lint code with pylama
31
+ run: |
32
+ pylama
33
+ - name: Test with pytest
34
+ run: |
35
+ # pytest
36
+
37
+ deploy:
38
+ needs: test
39
+ runs-on: ubuntu-latest
40
+ steps:
41
+ - uses: actions/checkout@v2
42
+ - uses: actions/setup-python@v2
43
+ with:
44
+ python-version: '3.x'
45
+ - id: check-tag
46
+ run: |
47
+ if [[ "${{ github.event.ref }}" =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
48
+ echo ::set-output name=match::true
49
+ fi
50
+ - name: Create PyPI release
51
+ uses: casperdcl/deploy-pypi@v2
52
+ with:
53
+ password: ${{ secrets.PYPI_TOKEN }}
54
+ build: true
55
+ # only upload if a tag is pushed (otherwise just build & check)
56
+ upload: ${{ github.event_name == 'push' && steps.check-tag.outputs.match == 'true' }}
@@ -0,0 +1,17 @@
1
+ .pytest_cache
2
+ *.pyc
3
+ __pycache__
4
+ .mypy_cache
5
+ muacrypt.egg-info
6
+ doc/_build
7
+ .cache
8
+ *.swp
9
+ .tox
10
+ build
11
+ dist
12
+ *.egg-info
13
+ .eggs
14
+ *~
15
+ .#*
16
+ *#
17
+ _version.py