How to install txcosm
- Download and install ActivePython
- Open Command Prompt
pypm install txcosm
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.