{ "info": { "author": "Christian Ledermann", "author_email": "christian.ledermann@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Scientific/Engineering :: GIS" ], "description": "Introduction\n############\n\nThis is an open source python library to read and write CZML_ files for Cesium_, the WebGL Earth modeling engine.\n\n.. _CZML: https://github.com/AnalyticalGraphicsInc/czml-writer/wiki/CZML-Guide\n.. _Cesium: http://cesiumjs.org/\n\nRequirements\n------------\n\n* pygeoif: https://github.com/cleder/pygeoif\n* pytz: https://pypi.python.org/pypi/pytz\n\nTests\n-----\n\nTo run the tests (in the czml directory)::\n\n > python setup.py test\n\nczml is continually tested with *Travis CI*\n\n.. image:: https://api.travis-ci.org/cleder/czml.png\n :target: https://travis-ci.org/cleder/czml\n\n.. image:: https://coveralls.io/repos/cleder/czml/badge.png?branch=master\n :target: https://coveralls.io/r/cleder/czml?branch=master\n\nUsage and Examples\n------------------\n\n**Reading CZML**\n\nReading a CZML file into a mutable document object can be done by initializing a CZML document and then reading the file's contents into the `loads()` method on the document, like so::\n\n # Import the library\n from czml import czml\n\n # Read an existing CZML file\n filename = 'example.czml'\n with open(filename, 'r') as example:\n doc = czml.CZML()\n doc.loads(example.read())\n\n**Writing CZML**\n\nThe general approach to writing CZML with this python library is to define a document object, define packets and append them to the document, and then write the document to a file using the `write()` method::\n\n # Import the library\n from czml import czml\n\n # Initialize a document\n doc = czml.CZML()\n\n # Create and append the document packet\n packet1 = czml.CZMLPacket(id='document',version='1.0')\n doc.packets.append(packet1)\n \n # Create and append a billboard packet\n packet2 = czml.CZMLPacket(id='billboard')\n bb = czml.Billboard(scale=0.7, show=True)\n bb.image = 'http://localhost/img.png'\n bb.color = {'rgba': [0, 255, 127, 55]}\n packet2.billboard = bb\n doc.packets.append(packet2)\n \n # Write the CZML document to a file\n filename = \"example.czml\"\n doc.write(filename)\n\nSupported CZML Components\n-------------------------\n\nThe components in this library are developed to follow the `CZML Content documentation`_. Supported components and subcomponents are listed in `docs/COMPONENTS.md`_.\n\n.. _CZML Content documentation: https://github.com/AnalyticalGraphicsInc/czml-writer/wiki/Packet\n.. _docs/COMPONENTS.md: https://github.com/cleder/czml/blob/master/docs/COMPONENTS.md\n\nv 0.3.3 (2016-11-30)\n-------------------\n\n- Added support for outlineWidth on polygons and ellipses [Christopher Clark (Frencil)]\n- Allow passing references [Tim O'Shea (osh)]\n- Allow passing kwargs to dumps [Tim O'Shea (osh)]\n\nv 0.3.2 (2015/03/23)\n--------------------\n\n- Added czml.write() method\n- Updated broken write example in README to use write() method\n- Added read example to README\n- Cleaned up some of the framework (load/data/init) methods for CZMLPacket and others\n\nv 0.3.1 (2015/03/19)\n--------------------\n\n- Added usage example to README\n- Added docs/COMPONENTS.md\n- Minor cleanup from 0.3 release\n\nv 0.3 (2015/03/09)\n------------------\n\n- Replace VertexPositions with Positions [Christopher Clark (Frencil)]\n- Rebuild two-dimensional object classes and tests for current CZML [Christopher Clark (Frencil)]\n- Add/update all documented material subclasses (Grid, Image, Stripe, SolidColor, PolylineGlow, PolylineOutline) [Christopher Clark (Frencil)]\n- Add document object support (including version and Clock) [Christopher Clark (Frencil)]\n- Restrict support to Python 2.7 and 3.3+ [Christopher Clark (Frencil)]\n\n\nv 0.2 (unreleased)\n------------------\n- Fixed bug in the Number class [Carl Fischer (Carl4)]\n- Add Radii, Orientation, Path, Ellipsoid, Cone, Ellipse [Carl Fischer (Carl4)]\n\n\nv 0.1 (2013/04/05)\n------------------\n\n- Initial release [Christian Lederman (cleder)]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cleder/czml", "keywords": "GIS JOSN CZML Cesium Globe", "license": "LGPL", "maintainer": null, "maintainer_email": null, "name": "czml", "package_url": "https://pypi.org/project/czml/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/czml/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/cleder/czml" }, "release_url": "https://pypi.org/project/czml/0.3.3/", "requires_dist": null, "requires_python": null, "summary": "Read and write CZML in Python", "version": "0.3.3" }, "last_serial": 2492301, "releases": { "0.1dev": [ { "comment_text": "", "digests": { "md5": "c83ea84f4828607d50580ac9421e60dd", "sha256": "33bd5a95f0777475b67165bb0c1da39000ad55cb180e0c0f212d187c2bd979c0" }, "downloads": -1, "filename": "czml-0.1dev.tar.gz", "has_sig": false, "md5_digest": "c83ea84f4828607d50580ac9421e60dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22814, "upload_time": "2013-04-05T12:22:26", "url": "https://files.pythonhosted.org/packages/60/a6/b0c88f867682329d6f009d886242ae0b560c6f890490a81add03be498946/czml-0.1dev.tar.gz" } ], "0.2": [], "0.3": [ { "comment_text": "", "digests": { "md5": "f8ab6485685ba2e3c56021b126a27950", "sha256": "b4890957151cd7e2809fc1e3e38736c34ed63a52d4d27a57b8de0a081e853da9" }, "downloads": -1, "filename": "czml-0.3-py2.7.egg", "has_sig": false, "md5_digest": "f8ab6485685ba2e3c56021b126a27950", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 44932, "upload_time": "2015-03-09T20:38:18", "url": "https://files.pythonhosted.org/packages/3e/6c/5ffc113ba78e032132e7a683ab527fd33e4a6077aa31071a6d8663a9c0e7/czml-0.3-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "954e2168fad7b52f5cb31c4c306cbf96", "sha256": "70438ce4394d18128398f7657da173b702d130474a9699c7ebce621129b240cb" }, "downloads": -1, "filename": "czml-0.3-py3.3.egg", "has_sig": false, "md5_digest": "954e2168fad7b52f5cb31c4c306cbf96", "packagetype": "bdist_egg", "python_version": "3.3", "requires_python": null, "size": 46256, "upload_time": "2015-03-09T20:50:10", "url": "https://files.pythonhosted.org/packages/10/96/1b288a8fea6478076f59ca723e234bbcfa42bf3855bef4ce485404e9045f/czml-0.3-py3.3.egg" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "262e42ab1173f53b5f20ff65ac7ec472", "sha256": "4fa810c20d4efad472f569c6c6611b584c877f5d7da50c77111f53d4f869d73b" }, "downloads": -1, "filename": "czml-0.3.1-py2.7.egg", "has_sig": false, "md5_digest": "262e42ab1173f53b5f20ff65ac7ec472", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 45519, "upload_time": "2015-03-20T01:28:24", "url": "https://files.pythonhosted.org/packages/74/66/e34bcb930c93fa33c929c50eca59be7e0331488d8bfec94957391644798f/czml-0.3.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "45bb7d8f2c8611962754968fb935913d", "sha256": "826fe0520902cb786b92cf7daa7098091e7f94f30f099a8e122d77e67ff5cc45" }, "downloads": -1, "filename": "czml-0.3.1-py3.3.egg", "has_sig": false, "md5_digest": "45bb7d8f2c8611962754968fb935913d", "packagetype": "bdist_egg", "python_version": "3.3", "requires_python": null, "size": 46843, "upload_time": "2015-03-20T01:28:32", "url": "https://files.pythonhosted.org/packages/be/5f/a02d16ea33006882a70fda44ff49f619cbd191260341e60df12ce067c006/czml-0.3.1-py3.3.egg" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "e8f7149ca5dd52a7568a6a7509be8585", "sha256": "08726fad6eeb42254074f6941221a44f62a9ab5f9c247b217acc3a2ef5325efb" }, "downloads": -1, "filename": "czml-0.3.2-py2.7.egg", "has_sig": false, "md5_digest": "e8f7149ca5dd52a7568a6a7509be8585", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 45412, "upload_time": "2015-03-23T18:02:46", "url": "https://files.pythonhosted.org/packages/15/c2/529f14536f6e3f6e321ae37c64bdf467b82fac6bd5f05bb75da6c066241e/czml-0.3.2-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "bc1eb7572f4b055c7af841a469849018", "sha256": "719e1f18876625d5f01de83faa390f56839e33e13c9f7da0a80336bd4588b500" }, "downloads": -1, "filename": "czml-0.3.2-py3.3.egg", "has_sig": false, "md5_digest": "bc1eb7572f4b055c7af841a469849018", "packagetype": "bdist_egg", "python_version": "3.3", "requires_python": null, "size": 46684, "upload_time": "2015-03-23T18:02:49", "url": "https://files.pythonhosted.org/packages/de/8c/d96b13ac97a70a0505cbf6887eca386fd0504ee084e23235bdca9384e971/czml-0.3.2-py3.3.egg" }, { "comment_text": "", "digests": { "md5": "b0f88f5c5366c2d12bb1b4fad8e32c3c", "sha256": "76b1c4324fadb2787cbd403c131efbf91c484331a44542022d461e46f83d61f2" }, "downloads": -1, "filename": "czml-0.3.2.tar.gz", "has_sig": false, "md5_digest": "b0f88f5c5366c2d12bb1b4fad8e32c3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30789, "upload_time": "2015-06-04T16:41:59", "url": "https://files.pythonhosted.org/packages/01/9c/f51b8b3569717dd12cc3db5d1c2d35033cac9edaed4d6eeec02020e12d54/czml-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "555778c6f014fee06c9851207e04d53d", "sha256": "ed14e24852082c71a19ec8e8ebe35cf838ab54df4886d4f68294f609b126347a" }, "downloads": -1, "filename": "czml-0.3.3.tar.gz", "has_sig": false, "md5_digest": "555778c6f014fee06c9851207e04d53d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30991, "upload_time": "2016-11-30T18:49:34", "url": "https://files.pythonhosted.org/packages/d9/86/910f69a4b9dd4421c4ce0b9ee1f95380b88517202b63ba201af74f227515/czml-0.3.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "555778c6f014fee06c9851207e04d53d", "sha256": "ed14e24852082c71a19ec8e8ebe35cf838ab54df4886d4f68294f609b126347a" }, "downloads": -1, "filename": "czml-0.3.3.tar.gz", "has_sig": false, "md5_digest": "555778c6f014fee06c9851207e04d53d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30991, "upload_time": "2016-11-30T18:49:34", "url": "https://files.pythonhosted.org/packages/d9/86/910f69a4b9dd4421c4ce0b9ee1f95380b88517202b63ba201af74f227515/czml-0.3.3.tar.gz" } ] }