capnpy
stable
  • Usage
  • Changelog
  • Benchmarks
capnpy
  • Docs »
  • capnpy documentation
  • Edit on GitHub

capnpy documentationΒΆ

capnpy is an implementation of Cap’n Proto for Python. Its primary goal is to provide a library which is fast, both on CPython and PyPy, and which offers a pythonic API and feeling whenever possible.

  • Usage
    • Installation and requirements
    • Quick example
    • Compiling schemas
      • Integration with setuptools
      • Manual compilation
      • Dynamic loading
      • Compilation options
      • Options annotation
    • Loading and dumping messages
    • Loading from sockets
    • Raw dumps
    • capnproto types
      • Text
      • Struct
      • Enum
      • Union
      • Groups
      • Virtual groups
      • Named unions
    • “Compact” structs
      • List items
      • The compact() method
    • Equality and hashing
      • Rationale
    • Extending capnpy structs
    • Reflection API
      • Nodes vs Python entities
      • Inspecting annotations
    • capnpy vs pycapnp
  • Changelog
    • 0.8.1
    • 0.8.0
    • 0.7.0
    • 0.6.4
    • 0.6.3
    • 0.6.2
    • 0.6.1
    • 0.6
  • Benchmarks
    • How to read the charts
    • Get Attribute
    • Special union attributes
    • Lists
    • Hashing
    • Constructors
    • Deep copy
    • Loading messages
    • Buffered streams
    • Dumping messages
    • Evolution over time
Next

© Copyright 2016, Antonio Cuni Revision 36e78b71.

Built with Sphinx using a theme provided by Read the Docs.