Repository navigation
Calculation registry, MCP server, PyPI packaging, Python 3.11–3.15 - #8
Merged
Merged
Conversation
- fpc.registry: a machine-readable catalogue of every calculation (121), built from type hints and [unit] docstring tags, with JSON Schemas. - fpc search / describe / run / llms-txt commands, and a generated llms.txt. - fpc-mcp: an MCP server (optional `mcp` extra) so local models (LM Studio, Ollama front ends) and hosted ones can call the library. - Type hints and [unit] tags on every public method; fpc.hints; py.typed. - PyPI-ready metadata, a Trusted Publishing release workflow (TestPyPI on manual runs), CHANGELOG, and docs/releasing.md. - Supports every CPython not past end-of-life (3.11-3.15), tested on each in CI. scripts/python_support.py keeps the range consistent and a monthly job opens an issue when it is time to ratchet it. - .gitignore: stop the virtualenv template's [Ss]cripts rule from hiding the project's scripts/ folder. - ROADMAP sections 9-11 (AI integration, distribution, trust) and AGENTS.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fpc/registry.py): every calculation (121) catalogued from type hints and[unit]docstring tags, with JSON Schemas. Drives the newfpc search / describe / run / llms-txtcommands and a generatedllms.txt.fpc-mcp, optionalmcpextra): five tools (list domains, search, describe, calculate, reference tables) so LM Studio, Ollama front ends, and Claude can call the library. Guide:docs/ai.md.fpc/hints.py;py.typed.release.yml: TestPyPI on manual runs, PyPI on a published release, tag must match the version),CHANGELOG.md,docs/releasing.md.scripts/python_support.py check|status|setkeeps pyproject, workflows, ruff, and mypy in step; a monthly workflow opens an issue when it's time to ratchet (docs/python-versions.md)..gitignorefix: the virtualenv template's[Ss]criptsrule was hiding the project'sscripts/folder.AGENTS.md.Test plan
uv run pytest: 295 passed locally on 3.11, 3.12, 3.13, 3.14, and 3.15 (rc1)python_support.py check, pre-commit hooksuv build+twine check --strict; wheel installed in clean 3.11 and 3.14 venvs;fpcandfpc-mcp(real stdio) workmkdocs build --strictAfter merging, the one-time PyPI setup is in
docs/releasing.md.🤖 Generated with Claude Code