arcanechat-tui 0.11.1__tar.gz → 0.12.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 (33) hide show
  1. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/.github/workflows/python-ci.yml +1 -1
  2. {arcanechat_tui-0.11.1/arcanechat_tui.egg-info → arcanechat_tui-0.12.0}/PKG-INFO +30 -14
  3. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/README.md +21 -6
  4. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui/_version.py +16 -3
  5. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui/composer.py +2 -2
  6. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui/util.py +4 -2
  7. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0/arcanechat_tui.egg-info}/PKG-INFO +30 -14
  8. arcanechat_tui-0.12.0/arcanechat_tui.egg-info/requires.txt +16 -0
  9. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/pylama.ini +1 -1
  10. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/pyproject.toml +6 -6
  11. arcanechat_tui-0.11.1/arcanechat_tui.egg-info/requires.txt +0 -16
  12. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/.gitignore +0 -0
  13. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/LICENSE +0 -0
  14. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui/__init__.py +0 -0
  15. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui/__main__.py +0 -0
  16. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui/application.py +0 -0
  17. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui/cards_widget.py +0 -0
  18. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui/chatlist.py +0 -0
  19. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui/cli.py +0 -0
  20. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui/container.py +0 -0
  21. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui/conversation.py +0 -0
  22. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui/eventcenter.py +0 -0
  23. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui/lazylistwaker.py +0 -0
  24. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui/logger.py +0 -0
  25. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui/main.py +0 -0
  26. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui/welcome_widget.py +0 -0
  27. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui.egg-info/SOURCES.txt +0 -0
  28. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui.egg-info/dependency_links.txt +0 -0
  29. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui.egg-info/entry_points.txt +0 -0
  30. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/arcanechat_tui.egg-info/top_level.txt +0 -0
  31. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/docs/user-guide.md +0 -0
  32. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/screenshots/e1.png +0 -0
  33. {arcanechat_tui-0.11.1 → arcanechat_tui-0.12.0}/setup.cfg +0 -0
@@ -13,7 +13,7 @@ jobs:
13
13
  runs-on: ubuntu-latest
14
14
  strategy:
15
15
  matrix:
16
- python-version: ["3.8", "3.12"]
16
+ python-version: ["3.10", "3.14"]
17
17
  steps:
18
18
  - uses: actions/checkout@v2
19
19
  - name: Set up Python ${{ matrix.python-version }}
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: arcanechat-tui
3
- Version: 0.11.1
3
+ Version: 0.12.0
4
4
  Summary: ArcaneChat client for the command line
5
5
  Author-email: adbenitez <adb@merlinux.eu>
6
6
  Project-URL: Homepage, https://github.com/ArcaneChat/arcanechat-tui
@@ -11,15 +11,15 @@ Classifier: Intended Audience :: End Users/Desktop
11
11
  Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
12
12
  Classifier: Operating System :: POSIX
13
13
  Classifier: Programming Language :: Python :: 3
14
- Requires-Python: >=3.8
14
+ Requires-Python: >=3.10
15
15
  Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
- Requires-Dist: deltachat2>=0.2.0
18
- Requires-Dist: urwid>=2.6.10
19
- Requires-Dist: urwid-readline>=0.14
20
- Requires-Dist: appdirs>=1.4.4
17
+ Requires-Dist: deltachat2==0.9.0
18
+ Requires-Dist: urwid==3.0.5
19
+ Requires-Dist: urwid-readline==0.15.1
20
+ Requires-Dist: appdirs==1.4.4
21
21
  Provides-Extra: full
22
- Requires-Dist: deltachat-rpc-server>=1.136.6; extra == "full"
22
+ Requires-Dist: deltachat-rpc-server==2.39.0; extra == "full"
23
23
  Provides-Extra: dev
24
24
  Requires-Dist: deltachat-rpc-server; extra == "dev"
25
25
  Requires-Dist: black; extra == "dev"
@@ -28,6 +28,7 @@ Requires-Dist: isort; extra == "dev"
28
28
  Requires-Dist: pylint; extra == "dev"
29
29
  Requires-Dist: pylama; extra == "dev"
30
30
  Requires-Dist: pytest; extra == "dev"
31
+ Dynamic: license-file
31
32
 
32
33
  # ArcaneChat TUI
33
34
 
@@ -64,20 +65,35 @@ ArcaneChat TUI is a ncurses Delta Chat client developed in Python with the urwid
64
65
  - [ ] Open HTML messages
65
66
  - [ ] View archived chats
66
67
 
67
- ## Installation
68
+ ## Installing
68
69
 
69
- Install ArcaneChat TUI with pip:
70
+ #### With pip
71
+
72
+ This program depends on the `deltachat-rpc-server` program to be installed in your system,
73
+ if you want to try to install it using pip run:
74
+
75
+ ```
76
+ $ pip install -U "arcanechat-tui[full]"
77
+ ```
78
+
79
+ If you will manually install the `deltachat-rpc-server` program in
80
+ your PATH on your own, then run:
70
81
 
71
82
  ```
72
83
  $ pip install -U arcanechat-tui
73
84
  ```
74
85
 
75
- This program depends on the `deltachat-rpc-server` program to be installed in your system,
76
- if you want to try to install it using pip run:
86
+ #### With pipx
87
+
88
+ To install ArcaneChat TUI with [pipx](https://pipx.pypa.io):
77
89
 
78
90
  ```
79
- $ pip install -U arcanechat-tui[full]
91
+ $ pipx install arcanechat-tui deltachat-rpc-server
80
92
  ```
81
93
 
82
- After installation the command `arcanechat-tui` (and `arcanechat` alias) should be available.
94
+ ## Using
95
+
96
+ After installation the command `arcanechat-tui`
97
+ (and `arcanechat` alias) should be available.
98
+
83
99
  For more tips and info check [the user guide](https://github.com/ArcaneChat/arcanechat-tui/blob/main/docs/user-guide.md)
@@ -33,20 +33,35 @@ ArcaneChat TUI is a ncurses Delta Chat client developed in Python with the urwid
33
33
  - [ ] Open HTML messages
34
34
  - [ ] View archived chats
35
35
 
36
- ## Installation
36
+ ## Installing
37
37
 
38
- Install ArcaneChat TUI with pip:
38
+ #### With pip
39
+
40
+ This program depends on the `deltachat-rpc-server` program to be installed in your system,
41
+ if you want to try to install it using pip run:
42
+
43
+ ```
44
+ $ pip install -U "arcanechat-tui[full]"
45
+ ```
46
+
47
+ If you will manually install the `deltachat-rpc-server` program in
48
+ your PATH on your own, then run:
39
49
 
40
50
  ```
41
51
  $ pip install -U arcanechat-tui
42
52
  ```
43
53
 
44
- This program depends on the `deltachat-rpc-server` program to be installed in your system,
45
- if you want to try to install it using pip run:
54
+ #### With pipx
55
+
56
+ To install ArcaneChat TUI with [pipx](https://pipx.pypa.io):
46
57
 
47
58
  ```
48
- $ pip install -U arcanechat-tui[full]
59
+ $ pipx install arcanechat-tui deltachat-rpc-server
49
60
  ```
50
61
 
51
- After installation the command `arcanechat-tui` (and `arcanechat` alias) should be available.
62
+ ## Using
63
+
64
+ After installation the command `arcanechat-tui`
65
+ (and `arcanechat` alias) should be available.
66
+
52
67
  For more tips and info check [the user guide](https://github.com/ArcaneChat/arcanechat-tui/blob/main/docs/user-guide.md)
@@ -1,7 +1,14 @@
1
1
  # file generated by setuptools-scm
2
2
  # don't change, don't track in version control
3
3
 
4
- __all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
4
+ __all__ = [
5
+ "__version__",
6
+ "__version_tuple__",
7
+ "version",
8
+ "version_tuple",
9
+ "__commit_id__",
10
+ "commit_id",
11
+ ]
5
12
 
6
13
  TYPE_CHECKING = False
7
14
  if TYPE_CHECKING:
@@ -9,13 +16,19 @@ if TYPE_CHECKING:
9
16
  from typing import Union
10
17
 
11
18
  VERSION_TUPLE = Tuple[Union[int, str], ...]
19
+ COMMIT_ID = Union[str, None]
12
20
  else:
13
21
  VERSION_TUPLE = object
22
+ COMMIT_ID = object
14
23
 
15
24
  version: str
16
25
  __version__: str
17
26
  __version_tuple__: VERSION_TUPLE
18
27
  version_tuple: VERSION_TUPLE
28
+ commit_id: COMMIT_ID
29
+ __commit_id__: COMMIT_ID
19
30
 
20
- __version__ = version = '0.11.1'
21
- __version_tuple__ = version_tuple = (0, 11, 1)
31
+ __version__ = version = '0.12.0'
32
+ __version_tuple__ = version_tuple = (0, 12, 0)
33
+
34
+ __commit_id__ = commit_id = 'gf37e18f23'
@@ -51,7 +51,7 @@ class ComposerWidget(urwid.Filler):
51
51
  accid, chatid = self.chat or (0, 0)
52
52
  if accid:
53
53
  chat = self.client.rpc.get_basic_chat_info(accid, chatid)
54
- if chat.is_contact_request or chat.is_protection_broken:
54
+ if chat.is_contact_request:
55
55
  # accept contact requests automatically on sending
56
56
  self.client.rpc.accept_chat(accid, chatid)
57
57
  try:
@@ -65,7 +65,7 @@ class ComposerWidget(urwid.Filler):
65
65
  def _update_status_bar(self, chat: Optional[Tuple[int, int]]) -> None:
66
66
  if chat:
67
67
  info = self.client.rpc.get_basic_chat_info(*chat)
68
- verified = "✓ " if info.is_protected or info.is_device_chat else ""
68
+ verified = "✓ " if info.is_self_talk or info.is_device_chat else ""
69
69
  muted = " (muted)" if info.is_muted else ""
70
70
  name = shorten_text(info.name, 40)
71
71
 
@@ -22,13 +22,15 @@ def get_subtitle(rpc: Rpc, accid: int, chat: Any) -> str:
22
22
  return "Locally generated messages"
23
23
  if chat.chat_type == ChatType.MAILINGLIST:
24
24
  return "Mailing List"
25
+ if chat.chat_type == ChatType.IN_BROADCAST:
26
+ return "Channel"
25
27
 
26
28
  members = rpc.get_chat_contacts(accid, chat.id)
27
29
  if chat.chat_type == ChatType.SINGLE:
28
30
  subtitle = rpc.get_contact(accid, members[0]).address
29
- elif chat.chat_type == ChatType.BROADCAST:
31
+ elif chat.chat_type == ChatType.OUT_BROADCAST:
30
32
  count = len(members)
31
- subtitle = "1 recipient" if count == 1 else f"{count} recipients"
33
+ subtitle = "1 subscribers" if count == 1 else f"{count} subscribers"
32
34
  else:
33
35
  count = len(members)
34
36
  subtitle = "1 member" if count == 1 else f"{count} members"
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: arcanechat-tui
3
- Version: 0.11.1
3
+ Version: 0.12.0
4
4
  Summary: ArcaneChat client for the command line
5
5
  Author-email: adbenitez <adb@merlinux.eu>
6
6
  Project-URL: Homepage, https://github.com/ArcaneChat/arcanechat-tui
@@ -11,15 +11,15 @@ Classifier: Intended Audience :: End Users/Desktop
11
11
  Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
12
12
  Classifier: Operating System :: POSIX
13
13
  Classifier: Programming Language :: Python :: 3
14
- Requires-Python: >=3.8
14
+ Requires-Python: >=3.10
15
15
  Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
- Requires-Dist: deltachat2>=0.2.0
18
- Requires-Dist: urwid>=2.6.10
19
- Requires-Dist: urwid-readline>=0.14
20
- Requires-Dist: appdirs>=1.4.4
17
+ Requires-Dist: deltachat2==0.9.0
18
+ Requires-Dist: urwid==3.0.5
19
+ Requires-Dist: urwid-readline==0.15.1
20
+ Requires-Dist: appdirs==1.4.4
21
21
  Provides-Extra: full
22
- Requires-Dist: deltachat-rpc-server>=1.136.6; extra == "full"
22
+ Requires-Dist: deltachat-rpc-server==2.39.0; extra == "full"
23
23
  Provides-Extra: dev
24
24
  Requires-Dist: deltachat-rpc-server; extra == "dev"
25
25
  Requires-Dist: black; extra == "dev"
@@ -28,6 +28,7 @@ Requires-Dist: isort; extra == "dev"
28
28
  Requires-Dist: pylint; extra == "dev"
29
29
  Requires-Dist: pylama; extra == "dev"
30
30
  Requires-Dist: pytest; extra == "dev"
31
+ Dynamic: license-file
31
32
 
32
33
  # ArcaneChat TUI
33
34
 
@@ -64,20 +65,35 @@ ArcaneChat TUI is a ncurses Delta Chat client developed in Python with the urwid
64
65
  - [ ] Open HTML messages
65
66
  - [ ] View archived chats
66
67
 
67
- ## Installation
68
+ ## Installing
68
69
 
69
- Install ArcaneChat TUI with pip:
70
+ #### With pip
71
+
72
+ This program depends on the `deltachat-rpc-server` program to be installed in your system,
73
+ if you want to try to install it using pip run:
74
+
75
+ ```
76
+ $ pip install -U "arcanechat-tui[full]"
77
+ ```
78
+
79
+ If you will manually install the `deltachat-rpc-server` program in
80
+ your PATH on your own, then run:
70
81
 
71
82
  ```
72
83
  $ pip install -U arcanechat-tui
73
84
  ```
74
85
 
75
- This program depends on the `deltachat-rpc-server` program to be installed in your system,
76
- if you want to try to install it using pip run:
86
+ #### With pipx
87
+
88
+ To install ArcaneChat TUI with [pipx](https://pipx.pypa.io):
77
89
 
78
90
  ```
79
- $ pip install -U arcanechat-tui[full]
91
+ $ pipx install arcanechat-tui deltachat-rpc-server
80
92
  ```
81
93
 
82
- After installation the command `arcanechat-tui` (and `arcanechat` alias) should be available.
94
+ ## Using
95
+
96
+ After installation the command `arcanechat-tui`
97
+ (and `arcanechat` alias) should be available.
98
+
83
99
  For more tips and info check [the user guide](https://github.com/ArcaneChat/arcanechat-tui/blob/main/docs/user-guide.md)
@@ -0,0 +1,16 @@
1
+ deltachat2==0.9.0
2
+ urwid==3.0.5
3
+ urwid-readline==0.15.1
4
+ appdirs==1.4.4
5
+
6
+ [dev]
7
+ deltachat-rpc-server
8
+ black
9
+ mypy
10
+ isort
11
+ pylint
12
+ pylama
13
+ pytest
14
+
15
+ [full]
16
+ deltachat-rpc-server==2.39.0
@@ -1,4 +1,4 @@
1
1
  [pylama]
2
2
  linters=mccabe,pyflakes,pylint,isort,mypy
3
3
  ignore=C0116,R0902,R0913,W1203,W0718,R0903
4
- skip=.*,build/*,tests/*,*/flycheck_*,*/_version.py
4
+ skip=.*,venv/*,build/*,tests/*,*/flycheck_*,*/_version.py
@@ -7,7 +7,7 @@ name = "arcanechat-tui"
7
7
  description = "ArcaneChat client for the command line"
8
8
  dynamic = ["version"]
9
9
  readme = "README.md"
10
- requires-python = ">=3.8"
10
+ requires-python = ">=3.10"
11
11
  keywords = ["deltachat", "ncurses", "tui", "arcanechat"]
12
12
  authors = [
13
13
  {name = "adbenitez", email = "adb@merlinux.eu"},
@@ -20,10 +20,10 @@ classifiers = [
20
20
  "Programming Language :: Python :: 3",
21
21
  ]
22
22
  dependencies = [
23
- "deltachat2>=0.2.0",
24
- "urwid>=2.6.10",
25
- "urwid-readline>=0.14",
26
- "appdirs>=1.4.4",
23
+ "deltachat2==0.9.0",
24
+ "urwid==3.0.5",
25
+ "urwid-readline==0.15.1",
26
+ "appdirs==1.4.4",
27
27
  ]
28
28
 
29
29
  [project.urls]
@@ -32,7 +32,7 @@ Issues = "https://github.com/ArcaneChat/arcanechat-tui/issues"
32
32
 
33
33
  [project.optional-dependencies]
34
34
  full = [
35
- "deltachat-rpc-server>=1.136.6",
35
+ "deltachat-rpc-server==2.39.0",
36
36
  ]
37
37
  dev = [
38
38
  "deltachat-rpc-server",
@@ -1,16 +0,0 @@
1
- deltachat2>=0.2.0
2
- urwid>=2.6.10
3
- urwid-readline>=0.14
4
- appdirs>=1.4.4
5
-
6
- [dev]
7
- deltachat-rpc-server
8
- black
9
- mypy
10
- isort
11
- pylint
12
- pylama
13
- pytest
14
-
15
- [full]
16
- deltachat-rpc-server>=1.136.6
File without changes