Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #3225

ANN: czml3 0.3.0 released 🌍

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Juan Luis Cano <juanlu001@gmail.com>
Newsgroups comp.lang.python.announce
Subject ANN: czml3 0.3.0 released 🌍
Date Fri, 25 Oct 2019 22:27:10 +0200
Lines 62
Approved python-announce-list@python.org
Message-ID <157203674894.21236.python-announce-list@python.org> (permalink)
Reply-To python-list@python.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de SoqlrWHr3DfLPc+/24a13Q51dfYGG+Wedf8ATCv4D9Vw==
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; '>>>': 0.02; 'pip': 0.03; 'url:github': 0.03; 'repository': 0.04; 'url-ip:140.82.118.3/32': 0.04; 'url-ip:140.82.118/24': 0.04; 'url-ip:140.82/16': 0.04; 'json': 0.07; 'tries': 0.07; '&gt;&gt;&gt;': 0.09; 'describes': 0.09; 'generic': 0.09; 'specifies': 0.09; 'subject:ANN': 0.09; 'widget': 0.09; 'url-ip:140/8': 0.10; 'python': 0.12; 'install': 0.13; 'code.': 0.15; 'skip:& 40': 0.15; '"name":': 0.16; 'fills': 0.16; 'guide:': 0.16; 'interpreter,': 0.16; 'jupyter': 0.16; 'subject:released': 0.16; 'url:%23': 0.16; 'use:': 0.16; '\xc2\xa0\xc2\xa0\xc2\xa0': 0.16; '(for': 0.17; 'all,': 0.17; 'library': 0.18; 'tests': 0.20; 'running': 0.22; 'issue': 0.22; 'to:addr:python-announce-list': 0.24; 'message- id:@mail.gmail.com': 0.28; 'import': 0.30; 'implemented': 0.30; 'received:google.com': 0.30; 'intent': 0.32; 'points,': 0.32; 'announce': 0.32; 'from:addr:gmail.com': 0.33; 'subject:: ': 0.35; 'display': 0.36; '&gt;': 0.36; 'use': 0.36; 'skip:" 30': 0.36; "skip:' 10": 0.37; 'url-ip:167/8': 0.37; 'proto:https': 0.39; 'charset:utf-8': 0.40; 'scene': 0.60; 'validation': 0.60; 'our': 0.62; 'contains': 0.64; 'to:2**2': 0.64; 'interactive': 0.68; 'browser': 0.68; 'per': 0.73; 'relationship': 0.74; 'earth': 0.74; 'url:%0': 0.74; 'subjectcharset:utf-8': 0.75; 'chat!': 0.84; 'focuses': 0.84; 'github,': 0.84; 'writing.': 0.84; 'joy': 0.91; 'models,': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Xvc65RcVKehn138tJFkoaCFkP0iITFqsVSYOk9iSQwA=; b=tCVzH6IZj4kNxKDyGzWxytmMkrx14SxGLArS0XhHq/jH4qkHuIfTrFIpJUqNTu+brO HMJQXTfWkGnQOZGYOsnPBOPcirRlzRsd3icGWCG12K5lBUdXCg1iUfXaL4IKB2BrlV2k 99jjSYNSRV9GnyxuMRn9470X9eStu7y0Wb/TltdfDAY2F2YUiAqHbw8ovhBZcF5w4F2u MmBryGbA+tqopWb9l3Tyh6kE52p8XqHxE1J6fkY6kJ37k18xM/qa/4bBdw3l/GBR6VKy /I/wFqj3WxEzpkdVLKrW9aErdgp2O66bhprw+SU0A7+ICQh1Ux00g1ywD2loPIIGT4Hx uDNw==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Xvc65RcVKehn138tJFkoaCFkP0iITFqsVSYOk9iSQwA=; b=e5vVncmiFHMaTgcWQQ+kFADlGiVFDbKeu7iHmgQHTDnz388KSVOTKFg1orpxcmQA2Y 8fJjHxmXni2EPc7hyIcqd0RJilvj8CRByCOzOTWKucS9Cn3R3CrYA+hBotB7UUicA9j4 y+NXuiHmVJHWLDS8CG6tliUoORBX+8U905xvm1AhdTPZ+plePIWLcdpCjzX3m1gutFV9 3T9oMOwuNZ7r3/FAcJ2qaU4GAbV4w444YyYqLlag7YAWgIxSHRCW7DP+z/IGWw0uGJEG j3nfBfAPJ1YgSrNrQMhYHL3d/IiUOGMRk9bSO21Q/tpZI5P7AOrRYGY4CCiG65W2n0mu XNYg==
X-Gm-Message-State APjAAAUL+ql04Cw5iJhv1jnoTTRxx14zIZnXba4ieMdOONd8tvS0Mq0I L2nynJEWCQH8oUNFRToc1iLaR9FyJSAA/AQFLi1J22BstjM=
X-Google-Smtp-Source APXvYqxqo80XDtSpCthJPxaunjM+pJy+1YvqxB0A7bHZdqdWHcJWaEECMZxPDURxJhtl11o5dI9lBc5SR8Z1s6zmMRU=
X-Received by 2002:a63:e60b:: with SMTP id g11mr4454626pgh.119.1572035241292; Fri, 25 Oct 2019 13:27:21 -0700 (PDT)
X-MailFrom juanlu001@gmail.com
X-Mailman-Rule-Hits emergency
X-Mailman-Rule-Misses dmarc-mitigation; no-senders; approved
Message-ID-Hash NC3EKLF5CPVJXRPIWJY2K6PEPMAFCBQL
X-Message-ID-Hash NC3EKLF5CPVJXRPIWJY2K6PEPMAFCBQL
X-Mailman-Approved-At Fri, 25 Oct 2019 16:52:22 -0400
X-Content-Filtered-By Mailman/MimeDel 3.3.1
X-Mailman-Version 3.3.1
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
Archived-At <https://mail.python.org/archives/list/python-announce-list@python.org/message/NC3EKLF5CPVJXRPIWJY2K6PEPMAFCBQL/>
List-Archive <https://mail.python.org/archives/list/python-announce-list@python.org/>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Post <mailto:python-announce-list@python.org>
List-Subscribe <mailto:python-announce-list-join@python.org>
List-Unsubscribe <mailto:python-announce-list-leave@python.org>
Xref csiph.com comp.lang.python.announce:3225

Show key headers only | View raw


Hi all,

It fills us with astronomical joy to announce the release of czml3 0.3.0! 🌍

czml3 is a Python (3.6+) library to write CZML. Copying from the CZML Guide:

> CZML is a JSON format for describing a time-dynamic graphical scene,
> primarily for display in a web browser running Cesium. It describes
> lines, points, billboards, models, and other graphical primitives, and
> specifies how they change with time. While Cesium has a rich
> client-side API, CZML allows it to be data-driven so that a generic
> Cesium viewer can display a rich scene without the need for any custom
> code. In many ways, the relationship between Cesium and CZML is
> similar to the relationship between Google Earth and KML.

czml3 aims to be useful for interactive use:

>>> from czml3 import Packet
>>> Packet()
{
    "id": "adae4d3a-7087-4fda-a70b-d18a262a890e"
}
>>> packet0 = Packet(id="Facility/AGI", name="AGI")
>>> packet0
{
    "id": "Facility/AGI",
    "name": "AGI"
}
>>> packet0.dumps()
'{"id": "Facility/AGI", "name": "AGI"}'

This new release brings some new properties (Box, BoxDimensions,
EyeOffset), better validation for Position, and a widget for Jupyter
notebook:

  In [1]: from czml3.examples import simple

  In [2]: from czml3.widget import CZMLWidget

  In [3]: CZMLWidget(simple)

You can install it with pip:

pip install --upgrade czml3

And check out the repository on GitHub, which contains a more detailed
README, tests (>99 % coverage) and the issue tracker:

https://github.com/poliastro/czml3

If you have any questions or want to contribute, join our chat!

https://chat.openastronomy.org/#/room/#poliastro-czml:matrix.org

czml3 is similar in intent to czml, a Python library written by
Christian Ledermann. czml3 is implemented from scratch and tries to be
easier to use on an interactive interpreter, and (for the moment)
focuses only on writing.

Per Python ad astra!

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

ANN: czml3 0.3.0 released 🌍 Juan Luis Cano <juanlu001@gmail.com> - 2019-10-25 22:27 +0200

csiph-web