Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Cablemap - WikiLeaks Cablegate Utilities - Cable parser

Project Description

The core package provides utilities which can be used to extract information from diplomatic cables:

>>> from cablemap.core import cable_by_id
>>> from cablemap.core.utils import cable_to_json
>>> # Fetches the cable with the reference id '09BERLIN1167' from the Internet
>>> # and converts it into a Cable object
>>> cable = cable_by_id('09BERLIN1167')
>>> cable.reference_id
u'09BERLIN1167'
>>> cable.subject
u'DATA PRIVACY TRUMPS SECURITY: IMPLICATIONS OF A FDP VICTORY ON COUNTERTERRORISM COOPERATION'
>>> json = cable_to_json(cable)
>>>

The core package has no Topic Maps related code and can be used independently of the other packages.

For other examples see: https://github.com/heuer/cablemap/tree/master/examples

Release History

Release History

This version
History Node

0.2.0

History Node

0.2.0.dev-20110503

History Node

0.2.0.dev-20110428

History Node

0.2.0.dev-20110417

History Node

0.2.0.dev-20110322

History Node

0.2.0.dev-20110321

History Node

0.2.0.dev-20110307

History Node

0.2.0.dev-20110306

History Node

0.2.0.dev-20110224

History Node

0.2.0.dev-20110221

History Node

0.2.0.dev-20110219

History Node

0.2.0.dev-20110218

History Node

0.1.0

History Node

0.1.0.dev-20110214

History Node

0.1.0.dev-20110213

History Node

0.1.0.dev-20110208

History Node

0.1.0.dev-20110207

History Node

0.1.0.dev-20110206

History Node

0.1.0.dev-20110205

History Node

0.1.0.dev-20110204

History Node

0.1.0.dev-20110203

History Node

0.1.0.dev-20110201

History Node

0.1.0.dev-20110127

History Node

0.1.0.dev-20110125

History Node

0.1.0.dev-20110124

History Node

0.1.0.dev

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting