txcosm is a Python Twisted package to communicate with the Cosm API.
txcosm is a Python Twisted package to communicate with the Cosm API. Use it to integrate non blocking access to the Cosm API into your Python Twisted application.
It implements the full Cosm API (Feeds, Datastreams, Datapoints, Triggers, Users, Keys) and many of the data structures (Unit, Location, Datapoint, Datastream, Environment, EnvironmentList, Trigger, TriggerList Key, KeyList, User, UserList) contained in requests and responses.
The data structures support encoding and decoding from JSON/XML formats. These structures are useful when building data to send to Cosm and also for processing Cosm data returned from queries.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.