Skip to content

Translate to English, expand documentation and add uv packaging#2

Merged
Hotion13 merged 1 commit into
mainfrom
claude/project-analysis-improvements-ua38gs
Jul 8, 2026
Merged

Translate to English, expand documentation and add uv packaging#2
Hotion13 merged 1 commit into
mainfrom
claude/project-analysis-improvements-ua38gs

Conversation

@Hotion13

@Hotion13 Hotion13 commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Follow-up to #1 — this commit was pushed to the branch right after that PR was merged, so it never reached main.

Internationalization

  • Translate the module docstring, all comments, CLI help, stderr summary and error messages of sanitize_netconfig.py to English. Sanitization behavior is unchanged (59 tests pass, markers were already English).
  • Rename the mapping-file warning key _avertissement to _warning.
  • Translate the test suite, align assertions with the new CLI strings, and add a test covering the JSON mapping file output.

Documentation

  • Rewrite README.md in English with a real before/after example generated by the tool itself, motivation, installation via uv / uvx / pip / single-file copy, options and exit-code tables, detailed destroyed/pseudonymized/preserved lists, mapping-file guidance, limitations, development instructions and a CI badge.

uv / packaging support

  • Add pyproject.toml (setuptools backend, single py-module, dynamic version from __version__, netanom console entry point, MIT SPDX license metadata, Python >= 3.9) and commit uv.lock.
  • uv run, uv build, uv tool install git+… and uvx now work out of the box; verified locally (lock, sdist+wheel build, CLI smoke test, full test suite under a uv-managed venv).
  • CI now uses astral-sh/setup-uv: unit tests on Python 3.9 and 3.13, smoke test of the installed CLI entry point (--version + a --strict sanitization pass) and an sdist/wheel build on every push.
  • Bump version to 0.3.0.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Sra7y2NhqmvwkvWSB5Q5D4


Generated by Claude Code

Internationalization:
- Translate the module docstring, all comments, CLI help, stderr summary
  and error messages of sanitize_netconfig.py to English. Sanitization
  behavior is unchanged (markers were already English).
- Rename the mapping-file warning key "_avertissement" to "_warning".
- Translate the test suite and align assertions with the new CLI
  strings; add a test covering the JSON mapping file output.

Documentation:
- Rewrite README.md in English with a real before/after example
  (generated by the tool itself), motivation, installation via
  uv/uvx/pip/single-file copy, options and exit-code tables, detailed
  destroyed/pseudonymized/preserved lists, mapping-file guidance,
  limitations and development instructions, plus a CI badge.

uv / packaging support:
- Add pyproject.toml (setuptools backend, single py-module, dynamic
  version from __version__, netanom console entry point, MIT SPDX
  license metadata, Python >= 3.9).
- Commit uv.lock; uv run / uv build / uv tool install now work
  out of the box.
- CI now uses astral-sh/setup-uv, runs the unit tests on Python 3.9
  and 3.13, smoke-tests the installed CLI entry point (--version and
  a --strict sanitization pass) and builds the sdist/wheel.
- Bump version to 0.3.0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sra7y2NhqmvwkvWSB5Q5D4
@Hotion13
Hotion13 merged commit d3fd7ac into main Jul 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants