wefact-mcp 0.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.
- wefact_mcp-0.1.0/.gitignore +63 -0
- wefact_mcp-0.1.0/CHANGELOG.md +29 -0
- wefact_mcp-0.1.0/LICENSE +661 -0
- wefact_mcp-0.1.0/LICENSE-COMMERCIAL.md +43 -0
- wefact_mcp-0.1.0/PKG-INFO +194 -0
- wefact_mcp-0.1.0/README.md +152 -0
- wefact_mcp-0.1.0/pyproject.toml +93 -0
- wefact_mcp-0.1.0/wefact_mcp/__init__.py +3 -0
- wefact_mcp-0.1.0/wefact_mcp/__main__.py +4 -0
- wefact_mcp-0.1.0/wefact_mcp/client.py +198 -0
- wefact_mcp-0.1.0/wefact_mcp/server.py +559 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
*.so
|
|
6
|
+
.Python
|
|
7
|
+
*.egg-info/
|
|
8
|
+
*.egg
|
|
9
|
+
build/
|
|
10
|
+
dist/
|
|
11
|
+
develop-eggs/
|
|
12
|
+
downloads/
|
|
13
|
+
eggs/
|
|
14
|
+
.eggs/
|
|
15
|
+
parts/
|
|
16
|
+
sdist/
|
|
17
|
+
var/
|
|
18
|
+
wheels/
|
|
19
|
+
share/python-wheels/
|
|
20
|
+
MANIFEST
|
|
21
|
+
|
|
22
|
+
# Virtual environments
|
|
23
|
+
.venv/
|
|
24
|
+
venv/
|
|
25
|
+
env/
|
|
26
|
+
ENV/
|
|
27
|
+
.python-version
|
|
28
|
+
|
|
29
|
+
# Testing & coverage
|
|
30
|
+
.pytest_cache/
|
|
31
|
+
.coverage
|
|
32
|
+
.coverage.*
|
|
33
|
+
htmlcov/
|
|
34
|
+
.tox/
|
|
35
|
+
.nox/
|
|
36
|
+
.cache
|
|
37
|
+
nosetests.xml
|
|
38
|
+
coverage.xml
|
|
39
|
+
*.cover
|
|
40
|
+
*.py,cover
|
|
41
|
+
|
|
42
|
+
# Type checkers
|
|
43
|
+
.mypy_cache/
|
|
44
|
+
.pyre/
|
|
45
|
+
.pytype/
|
|
46
|
+
|
|
47
|
+
# IDE / editors
|
|
48
|
+
.vscode/
|
|
49
|
+
.idea/
|
|
50
|
+
*.swp
|
|
51
|
+
*~
|
|
52
|
+
.DS_Store
|
|
53
|
+
|
|
54
|
+
# Local Claude config
|
|
55
|
+
.claude/settings.local.json
|
|
56
|
+
|
|
57
|
+
# Build artifacts (legacy zips)
|
|
58
|
+
*.zip
|
|
59
|
+
|
|
60
|
+
# Secrets (never commit)
|
|
61
|
+
.env
|
|
62
|
+
.env.*
|
|
63
|
+
!.env.example
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [0.1.0] — 2026-05-01
|
|
9
|
+
|
|
10
|
+
Initial public release.
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- `WeFactClient` — async HTTP client for the WeFact v2 JSON-over-POST
|
|
15
|
+
API with retry + exponential backoff.
|
|
16
|
+
- `wefact_request` — generic escape hatch for any WeFact controller /
|
|
17
|
+
action.
|
|
18
|
+
- `whoami` — connection sanity check.
|
|
19
|
+
- Debtor tools: `list_debtors`, `get_debtor`, `create_debtor`,
|
|
20
|
+
`update_debtor`.
|
|
21
|
+
- Invoice tools: `list_invoices`, `get_invoice`, `create_invoice`,
|
|
22
|
+
`send_invoice`, `credit_invoice`, `mark_invoice_paid`.
|
|
23
|
+
- Product tools: `list_products`, `get_product`.
|
|
24
|
+
- Subscription tools: `list_subscriptions`, `get_subscription`.
|
|
25
|
+
- Credit-invoice tools: `list_credit_invoices`, `get_credit_invoice`.
|
|
26
|
+
- Prompts: `export_to_nixfact`, `feature_audit`.
|
|
27
|
+
- Test suite (28 tests, respx-mocked HTTP).
|
|
28
|
+
- Dual licensing: AGPL-3.0-or-later + commercial license.
|
|
29
|
+
- PyPI Trusted Publishing workflow on tag push.
|