Personal tools
Skip to content. | Skip to navigation
This module parses the most common forms of ISO 8601 date strings (e.g. 2007-01-14T20:34:22+00:00) into datetime objects.
This module implements ISO 8601 date, time and duration parsing. The implementation follows ISO8601:2004 standard, and implements only date/time representations mentioned in the standard. If something is not mentioned there, then it is treated as non existent, and not as an allowed option. For instance, ISO8601:2004 never mentions 2 digit years. So, it is not intended by this module to support 2 digit years. (while it may still be valid as ISO date, because it is not explicitly forbidden.) Another example is, when no time zone information is given for a time, then it should be interpreted as local time, and not UTC. As this module maps ISO 8601 dates/times to standard Python data types, like date, time, datetime and timedelta, it is not possible to convert all possible ISO 8601 dates/times. For instance, dates before 0001-01-01 are not allowed by the Python date and datetime classes. Additionally fractional seconds are limited to microseconds. That means if the parser finds for instance nanoseconds it will round it to microseconds.
A python module to simplify the process of getting log data to Initial State's platform Start Streaming! Review or copy the following example: import time from ISStreamer.Streamer import Streamer logger = Streamer(bucket="Stream Example", client_key="[Place Your Client Key Here]") logger.log("My Messages", "Stream Starting") for num in range(1, 20): time.sleep(0.1) logger.log("My Numbers", num) if num%2 == 0: logger.log("My Booleans", "false") else: logger.log("My Booleans", "true") if num%3 == 0: logger.log("My Events", "pop") if num%10 == 0: logger.log("My Messages", "Stream Half Done") logger.log("My Messages", "Stream Done") In this example, the logs will show up in Initial State under the name "Stream Example".
Python bindings for the iwlib kernel interface, that provides functions to examine the wireless network devices installed on the system.
Python Jenkins is a library for the remote API of the Jenkins continuous integration server. It is useful for creating and managing jobs as well as build nodes.