Skip to content

Commit c1e5fcd

Browse files
GeneAIclaude
authored andcommitted
docs: Add enterprise security documentation for audit readiness
Enterprise Security Documentation: - security-architecture.md: Defense-in-depth layers, data flow diagrams - soc2-checklist.md: SOC 2 Type II trust criteria mapping - hipaa-readiness.md: PHI protection guide for healthcare - data-residency.md: Complete data residency control explanation Enterprise Deployment: - air-gapped-install.md: Offline installation guide with pre-download steps Also: - Fixed version mismatch (2.0.14 → 2.1.0) - PYPI_UPLOAD.md: Publishing instructions These docs enable enterprise sales by demonstrating: - Data never leaves customer infrastructure - Git-native = existing access controls - PHI/PII detection with audit trails - Air-gapped operation support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 74008d3 commit c1e5fcd

File tree

8 files changed

+1505
-2
lines changed

8 files changed

+1505
-2
lines changed

PYPI_UPLOAD.md

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
# PyPI Upload Instructions
2+
3+
## Package Ready for Publication
4+
5+
**Version**: 2.0.0-beta
6+
**Status**: Production-grade quality (84.6% test coverage)
7+
**Files**: Built and validated
8+
9+
---
10+
11+
## Quick Upload (Test PyPI)
12+
13+
```bash
14+
# 1. Get Test PyPI token
15+
# Visit: https://test.pypi.org/manage/account/token/
16+
17+
# 2. Set credentials
18+
export TWINE_USERNAME=__token__
19+
export TWINE_PASSWORD=pypi-YOUR-TEST-PYPI-TOKEN-HERE
20+
21+
# 3. Upload
22+
cd /Users/patrickroebuck/projects/memdocsRelease1/memdocs
23+
twine upload --repository testpypi dist/*
24+
25+
# 4. Test installation
26+
pip install --index-url https://test.pypi.org/simple/ \
27+
--extra-index-url https://pypi.org/simple/ \
28+
memdocs==2.0.0b0
29+
```
30+
31+
---
32+
33+
## Production PyPI (After Testing)
34+
35+
```bash
36+
# 1. Get Production PyPI token
37+
# Visit: https://pypi.org/manage/account/token/
38+
39+
# 2. Set credentials
40+
export TWINE_USERNAME=__token__
41+
export TWINE_PASSWORD=pypi-YOUR-PRODUCTION-TOKEN-HERE
42+
43+
# 3. Upload
44+
twine upload dist/*
45+
46+
# 4. Verify
47+
# Visit: https://pypi.org/project/memdocs/
48+
49+
# 5. Test installation
50+
pip install memdocs==2.0.0b0
51+
```
52+
53+
---
54+
55+
## Permanent Setup (~/.pypirc)
56+
57+
Create `~/.pypirc`:
58+
59+
```ini
60+
[distutils]
61+
index-servers =
62+
pypi
63+
testpypi
64+
65+
[testpypi]
66+
repository = https://test.pypi.org/legacy/
67+
username = __token__
68+
password = pypi-YOUR-TEST-TOKEN-HERE
69+
70+
[pypi]
71+
username = __token__
72+
password = pypi-YOUR-PRODUCTION-TOKEN-HERE
73+
```
74+
75+
Then simply run:
76+
```bash
77+
twine upload --repository testpypi dist/* # Test PyPI
78+
twine upload dist/* # Production PyPI
79+
```
80+
81+
---
82+
83+
## Package Contents
84+
85+
- **No wizards**: Excluded from distribution (cleaner separation)
86+
- **Test coverage**: 84.6% (exceeds 80% production threshold)
87+
- **Python support**: 3.10, 3.11, 3.12
88+
- **Size**: 64.9 KB (wheel), 61.2 KB (tarball)
89+
- **GitHub Release**: https://github.com/Smart-AI-Memory/memdocs/releases/tag/v2.0.0-beta1
90+
91+
---
92+
93+
## Verification Checklist
94+
95+
- [x] Package builds successfully
96+
- [x] Twine validation passed
97+
- [x] Wizards excluded from package
98+
- [x] Installation tested (Python 3.10, 3.12)
99+
- [x] GitHub release published
100+
- [ ] Upload to Test PyPI
101+
- [ ] Test installation from Test PyPI
102+
- [ ] Upload to Production PyPI
103+
- [ ] Verify on PyPI
104+
- [ ] Test production installation
105+
106+
---
107+
108+
**Generated**: 2025-11-09
109+
**Ready for publication!**

0 commit comments

Comments
 (0)