pyRPC
← Back to Blog

v0.3.0 - pyrpc-cli merged into core, one-command install

·5 min read

v0.3.0 is the simplest install yet. pip install pyrpc-core now gives you the entire pyRPC stack - runtime, CLI, and code generation - in a single command.

What changed

Previously, pyRPC shipped as three separate packages to break a circular dependency between core and codegen. After pyrpc-codegen was refactored into a pure library with zero pyrpc imports, the circular dependency no longer existed. The middle package (pyrpc-cli) no longer served a purpose.

We merged pyrpc-cli's source into pyrpc-core and deleted the separate package. The dependency chain went from three packages to two:

Before:  pyrpc-core → pyrpc-cli → pyrpc-codegen  (3 packages)
After:   pyrpc-core → pyrpc-codegen                (2 packages)

Install is now one command

pip install pyrpc-core

That's it. The pyrpc CLI is available immediately - pyrpc serve, pyrpc dev, pyrpc inspect, pyrpc codegen, and pyrpc pull all work out of the box. No extras, no optional dependencies, no separate install steps.

Frontend-only developers just npm install @pyrpc/client - the postinstall script fetches the schema from your server and generates types automatically. The pyrpc-codegen library is an internal dependency; you never install it directly.

No API changes

Nothing moved or changed names. The same @rpc decorator, the same Router and Interpreter, the same adapters for FastAPI and Flask. If you were on v0.2.0, upgrade is just:

pip install --upgrade pyrpc-core

The only difference is one fewer package to install.

Full changelog

  • Packaging: pyrpc-cli merged into pyrpc-core. pip install pyrpc-core is now the single entry point.
  • CLI: All commands live in pyrpc_core.cli. Entry point registered via [project.scripts] in pyproject.toml.
  • Docs: README, CONTRIBUTING, PYRPC.md, installation guides, plugin docs - all rewritten for single-install flow. No more pyrpc-cli references.
  • System design: Architecture diagram and dependency section updated to reflect the 2-package structure.
  • Blog: New post explaining the merge rationale and trade-offs.
  • Favicon: pyrpc mark added as site favicon.

See the full changelog for details.