fastsmtp-cli 0.6.0__py3-none-any.whl
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.
- fastsmtp_cli/__init__.py +3 -0
- fastsmtp_cli/client.py +681 -0
- fastsmtp_cli/commands/__init__.py +13 -0
- fastsmtp_cli/commands/auth.py +130 -0
- fastsmtp_cli/commands/config.py +136 -0
- fastsmtp_cli/commands/domains.py +365 -0
- fastsmtp_cli/commands/operations.py +174 -0
- fastsmtp_cli/commands/options.py +84 -0
- fastsmtp_cli/commands/recipients.py +223 -0
- fastsmtp_cli/commands/rules.py +469 -0
- fastsmtp_cli/commands/users.py +178 -0
- fastsmtp_cli/config.py +218 -0
- fastsmtp_cli/main.py +59 -0
- fastsmtp_cli/output.py +700 -0
- fastsmtp_cli-0.6.0.dist-info/METADATA +78 -0
- fastsmtp_cli-0.6.0.dist-info/RECORD +19 -0
- fastsmtp_cli-0.6.0.dist-info/WHEEL +4 -0
- fastsmtp_cli-0.6.0.dist-info/entry_points.txt +2 -0
- fastsmtp_cli-0.6.0.dist-info/licenses/LICENSE +661 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: fastsmtp-cli
|
|
3
|
+
Version: 0.6.0
|
|
4
|
+
Summary: Remote CLI client for FastSMTP server
|
|
5
|
+
Project-URL: Homepage, https://jsenecal.github.io/fastsmtp/cli/fsmtp/
|
|
6
|
+
Project-URL: Documentation, https://jsenecal.github.io/fastsmtp/cli/fsmtp/
|
|
7
|
+
Project-URL: Source, https://github.com/jsenecal/fastsmtp
|
|
8
|
+
Project-URL: Issues, https://github.com/jsenecal/fastsmtp/issues
|
|
9
|
+
Project-URL: Changelog, https://github.com/jsenecal/fastsmtp/releases
|
|
10
|
+
Author: Jonathan Senecal
|
|
11
|
+
License-Expression: AGPL-3.0-or-later
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Keywords: cli,email,fastsmtp,smtp,webhook
|
|
14
|
+
Classifier: Development Status :: 4 - Beta
|
|
15
|
+
Classifier: Environment :: Console
|
|
16
|
+
Classifier: Intended Audience :: System Administrators
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
+
Classifier: Topic :: Communications :: Email
|
|
21
|
+
Classifier: Topic :: System :: Systems Administration
|
|
22
|
+
Requires-Python: >=3.12
|
|
23
|
+
Requires-Dist: httpx>=0.28
|
|
24
|
+
Requires-Dist: pydantic-settings>=2.6
|
|
25
|
+
Requires-Dist: pydantic>=2.9
|
|
26
|
+
Requires-Dist: rich>=13.9
|
|
27
|
+
Requires-Dist: tomli-w>=1.0
|
|
28
|
+
Requires-Dist: typer>=0.14
|
|
29
|
+
Provides-Extra: dev
|
|
30
|
+
Requires-Dist: pytest-cov>=4.0; extra == 'dev'
|
|
31
|
+
Requires-Dist: pytest>=8.0; extra == 'dev'
|
|
32
|
+
Requires-Dist: respx>=0.21; extra == 'dev'
|
|
33
|
+
Requires-Dist: ruff>=0.8; extra == 'dev'
|
|
34
|
+
Description-Content-Type: text/markdown
|
|
35
|
+
|
|
36
|
+
# fastsmtp-cli
|
|
37
|
+
|
|
38
|
+
The remote CLI client for [FastSMTP](https://github.com/jsenecal/fastsmtp), an async SMTP
|
|
39
|
+
server that forwards received email to webhooks.
|
|
40
|
+
|
|
41
|
+
This package talks to a running FastSMTP server over its HTTP API. It does not import or
|
|
42
|
+
depend on the server package, so it installs cleanly on a workstation with none of the
|
|
43
|
+
server's dependencies.
|
|
44
|
+
|
|
45
|
+
## Install
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
pip install fastsmtp-cli
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
The command is `fsmtp`.
|
|
52
|
+
|
|
53
|
+
## Use
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
fsmtp config set default --url https://smtp.example.com --api-key <key>
|
|
57
|
+
|
|
58
|
+
fsmtp domain list
|
|
59
|
+
fsmtp domain create example.com
|
|
60
|
+
fsmtp recipient create <domain-id> https://hooks.example.com/support --local support
|
|
61
|
+
fsmtp ops log list <domain-id> --status failed
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Profiles are stored in a config file, so several servers can be addressed from one machine
|
|
65
|
+
with `--profile`. `fsmtp config init` sets the first one up interactively.
|
|
66
|
+
|
|
67
|
+
## Documentation
|
|
68
|
+
|
|
69
|
+
Command reference and examples: <https://jsenecal.github.io/fastsmtp/cli/fsmtp/>.
|
|
70
|
+
|
|
71
|
+
Source and issue tracker: <https://github.com/jsenecal/fastsmtp>.
|
|
72
|
+
|
|
73
|
+
## License
|
|
74
|
+
|
|
75
|
+
AGPL-3.0-or-later - this program is free software: you can redistribute it and/or
|
|
76
|
+
modify it under the terms of the GNU Affero General Public License as published by the
|
|
77
|
+
Free Software Foundation, either version 3 of the License, or (at your option) any later
|
|
78
|
+
version. See [LICENSE](LICENSE).
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
fastsmtp_cli/__init__.py,sha256=80l_6ZK8VxUtvZM1W_ZAUxy3XiALRZ4XxY3p3eFLPvY,83
|
|
2
|
+
fastsmtp_cli/client.py,sha256=_cLp1yoI_f-T2t4SbKN3OhJilMst4_Z5vPYUE3kKASE,24379
|
|
3
|
+
fastsmtp_cli/config.py,sha256=FXyTVa6xxTljF28fCNBfuQMEd_WpD8vxD1UNYY2k2dU,6921
|
|
4
|
+
fastsmtp_cli/main.py,sha256=Vc2VEe8pLmGjF0xPDKkedlwAu6CWCK3GVajnFGENyq4,1703
|
|
5
|
+
fastsmtp_cli/output.py,sha256=2PxbzOZEpVOMY4ilq4vxaotZuYFily0c4lmBY7vsbdM,23744
|
|
6
|
+
fastsmtp_cli/commands/__init__.py,sha256=8BuEjp_rWF4bq7rmCj4l8qfsCyz-OKiqArKNOThXyY4,240
|
|
7
|
+
fastsmtp_cli/commands/auth.py,sha256=3Ha5G4lf-TNgKVXexH6iDnONPCLs93olmD4XbA1xZfE,4004
|
|
8
|
+
fastsmtp_cli/commands/config.py,sha256=vMTo7A-vCg6NOuYjZRXU8bnNyEftp4NcIAzojJRsBOY,3821
|
|
9
|
+
fastsmtp_cli/commands/domains.py,sha256=z4vhwslE0FgBkFcPLQmvarMTrDUr-np-fUkYu9vAZNk,11759
|
|
10
|
+
fastsmtp_cli/commands/operations.py,sha256=9cWvuPXIs6NvULJWYRIN3NMt9aaRW95tKE8JrQxdzwA,5262
|
|
11
|
+
fastsmtp_cli/commands/options.py,sha256=AAxwaHyFTMT-lbX9PsAfzqkMhIcObLELTD6FDjrXLlE,3004
|
|
12
|
+
fastsmtp_cli/commands/recipients.py,sha256=zdGqvtV8VsuZtW-UlkH9tjfArlLZ3qKis0nVshAzVyI,7602
|
|
13
|
+
fastsmtp_cli/commands/rules.py,sha256=esgnZ-wY4AuELrVB2nmjRLLnmlq4ZuufHPo0IROauYw,14880
|
|
14
|
+
fastsmtp_cli/commands/users.py,sha256=dW-74DIvVfHxz782hHZ1a468SdG2h2tywXSsgetI3IY,5948
|
|
15
|
+
fastsmtp_cli-0.6.0.dist-info/METADATA,sha256=nhqiuwP6KM5RcnY9fTqWyd8rPccG93QPc2ws8PRrC8A,2732
|
|
16
|
+
fastsmtp_cli-0.6.0.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
|
|
17
|
+
fastsmtp_cli-0.6.0.dist-info/entry_points.txt,sha256=oimHncvJgN8jYqvH0EfPWwlhaeW6ZokRSgh49kZ-S9A,48
|
|
18
|
+
fastsmtp_cli-0.6.0.dist-info/licenses/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
|
|
19
|
+
fastsmtp_cli-0.6.0.dist-info/RECORD,,
|