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.
- arcanechat_tui-0.11.0/.github/workflows/python-ci.yml +56 -0
- arcanechat_tui-0.11.0/.gitignore +17 -0
- arcanechat_tui-0.11.0/LICENSE +674 -0
- arcanechat_tui-0.11.0/PKG-INFO +84 -0
- arcanechat_tui-0.11.0/README.md +53 -0
- arcanechat_tui-0.11.0/arcanechat_tui/__init__.py +3 -0
- arcanechat_tui-0.11.0/arcanechat_tui/__main__.py +5 -0
- arcanechat_tui-0.11.0/arcanechat_tui/_version.py +21 -0
- arcanechat_tui-0.11.0/arcanechat_tui/application.py +165 -0
- arcanechat_tui-0.11.0/arcanechat_tui/cards_widget.py +35 -0
- arcanechat_tui-0.11.0/arcanechat_tui/chatlist.py +104 -0
- arcanechat_tui-0.11.0/arcanechat_tui/cli.py +149 -0
- arcanechat_tui-0.11.0/arcanechat_tui/composer.py +86 -0
- arcanechat_tui-0.11.0/arcanechat_tui/container.py +31 -0
- arcanechat_tui-0.11.0/arcanechat_tui/conversation.py +127 -0
- arcanechat_tui-0.11.0/arcanechat_tui/eventcenter.py +45 -0
- arcanechat_tui-0.11.0/arcanechat_tui/lazylistwaker.py +33 -0
- arcanechat_tui-0.11.0/arcanechat_tui/logger.py +29 -0
- arcanechat_tui-0.11.0/arcanechat_tui/main.py +64 -0
- arcanechat_tui-0.11.0/arcanechat_tui/util.py +86 -0
- arcanechat_tui-0.11.0/arcanechat_tui/welcome_widget.py +10 -0
- arcanechat_tui-0.11.0/arcanechat_tui.egg-info/PKG-INFO +84 -0
- arcanechat_tui-0.11.0/arcanechat_tui.egg-info/SOURCES.txt +30 -0
- arcanechat_tui-0.11.0/arcanechat_tui.egg-info/dependency_links.txt +1 -0
- arcanechat_tui-0.11.0/arcanechat_tui.egg-info/entry_points.txt +3 -0
- arcanechat_tui-0.11.0/arcanechat_tui.egg-info/requires.txt +16 -0
- arcanechat_tui-0.11.0/arcanechat_tui.egg-info/top_level.txt +1 -0
- arcanechat_tui-0.11.0/docs/user-guide.md +50 -0
- arcanechat_tui-0.11.0/pylama.ini +4 -0
- arcanechat_tui-0.11.0/pyproject.toml +65 -0
- arcanechat_tui-0.11.0/screenshots/e1.png +0 -0
- 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' }}
|