ers Documentation Release 0.13 ers-devs

Size: px
Start display at page:

Download "ers Documentation Release 0.13 ers-devs"

Transcription

1 ers Documentation Release 0.13 ers-devs November 14, 2013

2

3 Contents 1 Installation 3 2 Run as Virtual Machine 5 3 ers Package ers Package daemon Module ers Module models Module sync_global Module utils Module zeroconf Module Indices and tables 9 i

4 ii

5 Contents: Contents 1

6 2 Contents

7 CHAPTER 1 Installation 3

8 4 Chapter 1. Installation

9 CHAPTER 2 Run as Virtual Machine 1. Download the Virtual Machine with a pre-configured ERS setup: 2. Run the Virtual Machine using virtualization software, like VirtualBox. 5

10 6 Chapter 2. Run as Virtual Machine

11 CHAPTER 3 ers Package 3.1 ers Package 3.2 daemon Module class ers.daemon.ersdaemon(peer_type= contrib, port=5984, dbname= ers-public, pidfile= /var/run/ers_daemon.pid, tries=10, logger=none) The daemon class for the ERS daemon. dbname = None logger = None peer_type = None pidfile = None port = None peer_type ( contrib or bridge ) type of daemon instance port (int.) TCP port number of CouchDB dbname (str.) CouchDB database name pidfile (str.) filepath to a PID file for this ERS daemon instance tries (int.) number of tries to connect to CouchDB logger (Logger instance) logger for the daemon to use start() Starting up an ERS daemon. stop() Stopping an ERS daemon. tries = None class ers.daemon.erspeerinfo(service_name, host, ip, port, dbname= ers-public, peer_type= contrib ) Bases: ers.zeroconf.servicepeer 7

12 This class contains information on an ERS peer. dbname = None static from_service_peer(svc_peer) Get an ERSPeerInfo instance from a given service peer. svc_peer (ServicePeer instance) a service peer Return type ERSPeerInfo instance peer_type = None to_json() Returns the ERS peer information from this instance in JSON format. Return type dict. ers.daemon.run() Parse the given arguments for setting up the daemon and run it. ers.daemon.setup_logging(args) Setup a file or system logger. args (Object) has a logtype attribute (which can be file or syslog ). Return type Logger instance 3.3 ers Module class ers.ers.erslocal(server_url= dbname= ers, model=<ers.models.models object at 0x3a287d0>, fixed_peers=(), local_only=false, reset_database=false) Bases: ers.ers.ersreadonly The read-write local class for an ERS peer. server_url (str.) peer s server URL dbname (str.) CouchDB database name model (LocalModelBase instance) document model fixed_peers (tuple) known peers local_only (bool.) whether or not the peer is local-only reset_database whether or not to reset the CouchDB database on the given server add_data(s, p, o, g) Add a value for a property in an entity in the given graph (create the entity if it does not exist yet). s (str.) RDF subject p (str.) RDF property o (str.) RDF object g (str.) RDF graph 8 Chapter 3. ers Package

13 cache_entity(entity) Place an entity in the cache. This mark the entity as being cached and store the currently loaded documents in the cache. Later on, ERS will automatically update the description of this entity with new / updated entity An entity object create_entity(entity_name) Create a new entity, return it and store in as a new document in the public store delete_entity(entity, graph=none) Delete an entity from the given graph. entity (str.) entity to delete graph (str.) graph to delete from Returns success status Return type bool. delete_value(entity, prop, graph=none) Delete all of the peer s values for a property in an entity from the given graph. entity (str.) entity to delete for prop (str.) property to delete for graph (str.) graph to delete from Returns success status Return type bool. a unique identifier for this ERS node is_cached(entity_name) Check if an entity is listed as being cached persist_entity(entity) Save an updated entity update_value(subject, object, graph=none) Update a value for an identifier + property pair (create it if it does not exist yet). [Not yet implemented] subject (str.) subject to update for object (str.) object to update graph (str.) graph to use for updating write_cache(cache, graph) Write cache to the given graph. cache (array) cache to write graph (str.) graph to write to 3.3. ers Module 9

14 class ers.ers.ersreadonly(server_url= dbname= ers, model=<ers.models.models object at 0x3a287d0>, fixed_peers=(), local_only=false) Bases: object The read-only class for an ERS peer. server_url (str.) peer s server URL dbname (str.) CouchDB database name model (LocalModelBase instance) document model fixed_peers (tuple) known peers local_only (bool.) whether or not the peer is local-only contains_entity(entity_name) Search in the public DB is there is already a document for describing that entity exist(subject, graph) Check whether a subject exists in a given graph. subject (str.) subject to check for graph (str.) graph to use for checking Return type bool. get_annotation(entity) Get data from self and known peers for a given subject. entity (str.) subject to get data for Return type dict. get_data(subject, graph=none) Get all property + value pairs for a given subject and graph. subject (str.) subject to get data for graph (str.) graph to get data for Return type property-value dictionary get_doc(subject, graph) Get the documents for a given subject and graph. subject (str.) subject to get data for graph (str.) graph to get data for Return type array get_entity(entity_name) Create an entity object, fill it will all the relevant documents get_peers() Get the known peers. Return type array 10 Chapter 3. ers Package

15 get_values(entity, prop) Get the value for an identifier + property pair (return null or a special value if it does not exist). entity (str.) entity to get data for prop (str.) property to get data for Returns list of values or an empty list search(prop, value=none) Search entities by property or property + value pair. prop (str.) property to search for value (str.) value to search for Returns list of unique (entity, graph) pairs class ers.ers.entity(entity_name) An entity description is contained in various CouchDB documents add_document(document, source) Add a document to the list of documents that compose this entity add_property(property, value) Add a property to the description of the entity TODO: we can only edit the local or private documents delete_property(property, value) Delete a property to the description of the entity TODO: we can only edit the local or private documents get_documents() Return all the documents associated to this entity and their source get_documents_ids() Get the identifiers of all the documents associated to the entity the name of that entity get_properties() Get the aggregated properties out of all the individual documents get_raw_documents() Get the content of all the documents associated to the entity 3.4 models Module class ers.models.localmodelbase Bases: object Base class for all the serialisations add_data(couch_doc, cache) cache_key(couch_key) Get the default CouchDB cache key. Return type str. content_doc() 3.4. models Module 11

16 couch_key(cache_key, graph) Get the default CouchDB key. Return type str. delete_property(couch_doc, prop, value) get_data(doc, subject, graph) index_doc() Get the default CouchDB index design document. Return type JSON object initial_docs() Get the default initial CouchDB documents (index design document and state document). Return type array initial_docs_cache() initial_docs_private() initial_docs_public() state_doc() Get the default CouchDB state document. Return type JSON object view_name = _all_docs class ers.models.models Bases: ers.models.localmodelbase The model class for document model type S. Example document: { _id : _rev : 1- e004c4ac4b5f ad417d364a85e, : [ } Tim Berners-Lee ], : [ ] TimBL, timbl add_data(couch_doc, cache) Add cache data to a CouchDB document. couch_doc (CouchDB document object) the CouchDB document to add data to cache (dict.) the cache data to add add_property(couch_doc, prop, value) cache_key(couch_key) Get the CouchDB cache key. couch_key (str.) the CouchDB key Return type str. 12 Chapter 3. ers Package

17 couch_key(cache_key, graph) Get the CouchDB key. cache_key (str.) the CouchDB cache key graph (str.) the RDF graph Return type str. delete_property(couch_doc, prop, value) Deletes a property from the given CouchDB document. couch_doc (CouchDB document object) the CouchDB document prop (str.) the property to delete get_data(doc, subject, graph) Get data from a CouchDB document given a subject and graph (call with subject=none and graph=none to get data from a document without an _id). doc (CouchDB document object) the CouchDB document from which to get data subject (str.) the subject to get data for graph (str.) the graph to get data for Return type property-value dictionary classmethod index_doc() Get the CouchDB index design document (containing two views). Return type JSON object 3.5 sync_global Module class ers.sync_global.graphsynch(ersreadwrite, name, graph) Bases: threading.thread Synchronizes a peer s graph data with the global aggregator (creates a synch thread for a given graph using _changes feed). ERSReadWrite (ERSReadWrite instance) ERSReadWrite to used for synchronization name (str.) thread name graph (str.) graph to use for synchronization dump_changes_to_file(prev_seq, stream) Save the changes made to a log file. prev_seq (int.) sequence number of the previous successfully synchronized sequence from the global aggregator stream (ChangesStream instance) stream of made changes 3.5. sync_global Module 13

18 Returns last synchronized sequence number filter_by_graph_doc() Defines the filter document by graph. One DB stores multiple graphs. Returns a CouchDB filter design document Return type JSON object get_previous_seq_num() Ask global server what was the last synchronized sequence number for this graph. Returns previous sequence number (-1 if server request didn t succeed) Return type int. run() Start the synchronization process set_finished() Set the synchronization status to finished. set_new_seq_num(new_seq) Update the global last synchronized sequence number for this graph. new_seq (int.) new sequence number Returns success status Return type bool. class ers.sync_global.synchronizationmanager(ersreadwrite) Bases: object Manages a synchronization process. ERSReadWrite (ERSReadWrite instance) ERSReadWrite to used for synchronization exists_synch_thread(graph) Check whether a synchronization process exists for the given graph. graph (str.) graph to use for synchronization Return type bool. get_thread_name(graph) Get the tread name of the synchronization process. graph (str.) graph used for synchronization Return type str. start_synch(graph) Start the synchronization process. graph (str.) graph to use for synchronization start_synch_everything() stop_synch(graph) Stop the synchronization process. graph (str.) graph used for synchronization stop_synch_everything() ers.sync_global.test() 14 Chapter 3. ers Package

19 3.6 utils Module class ers.utils.entitycache Bases: collections.defaultdict Equivalent to defaultdict(lambda: defaultdict(set)). add(s, p, o) Add <s, p, o> to cache. s (str.) RDF subject p (str.) RDF property o (str.) RDF object parse_nt(**kwargs) Parse N-Triples data. Returns self parse_nt_rdflib(**kwargs) Parse N-Triples data using rdflib. Returns self ers.utils.import_nt(registry, file_name, target_graph) Import N-Triples file. registry (ERSLocal instance) registry used for writing the data file_name (str.) file name target_graph (str.) graph to write to ers.utils.import_nt_rdflib(registry, file_name, target_graph) Import N-Triples file using rdflib. registry (ERSLocal instance) registry used for writing the data file_name (str.) file name target_graph (str.) graph to write to 3.7 zeroconf Module This module contains functions for publishing and discovering services over Zeroconf protocols. Currently only Avahi is supported. class ers.zeroconf.publishedservice(name, service_type, port, domain=, host=, text= ) This class represents a service published over Zeroconf. domain = None host = None name = None 3.6. utils Module 15

20 port = None publish() Publishes the service defined by this handle. service_type = None text = None unpublish() Unpublishes the service. class ers.zeroconf.servicemonitor(service_type, on_join=none, on_leave=none, on_error=none, see_self=false) This class represents a monitor for services of a given type advertised over the network. Whenever a peer that publishes a service of type service_type comes into range, a series on on_join functions specified by the user will be called. They will receive as their only parameter an object describing the peer (its IP, port, etc.). The object also acts as a handle for recognizing a peer that has gone offline (in which case the on_leave functions are similarly called). Finally, the on_error functions will be called whenever an error occurs in the monitoring process. Notes: In order for the monitor to work, you must have a GTK mainloop running in your application. This library does not automatically create one. When the monitor starts up, a series of join events will be perceived for every peer that is currently online, even if the service was published some time in the past. Note: If see_self is set to True, the monitor will also report services published locally. get_peers() Gets a dictionary of all currently online peers for this service. on_error = None on_join = None on_leave = None see_self = None service_type = None shutdown() Shuts down this monitor. start() Starts the monitor. class ers.zeroconf.servicepeer(service_name, service_type, host, ip, port) This class represents a peer over a given service published via Zeroconf on the network. host = None ip = None port = None service_name = None service_type = None ers.zeroconf.test() Runs a test of this module. 16 Chapter 3. ers Package

21 Note: This test requires user interaction zeroconf Module 17

22 18 Chapter 3. ers Package

23 CHAPTER 4 Indices and tables genindex modindex search 19

24 20 Chapter 4. Indices and tables

25 Python Module Index e ers. init,?? ers.daemon,?? ers.ers,?? ers.models,?? ers.sync_global,?? ers.utils,?? ers.zeroconf,?? 21

Kaiso Documentation. Release 0.1-dev. onefinestay

Kaiso Documentation. Release 0.1-dev. onefinestay Kaiso Documentation Release 0.1-dev onefinestay Sep 27, 2017 Contents 1 Neo4j visualization style 3 2 Contents 5 2.1 API Reference.............................................. 5 3 Indices and tables

More information

streamio Documentation

streamio Documentation streamio Documentation Release 0.1.0.dev James Mills April 17, 2014 Contents 1 About 3 1.1 Examples................................................. 3 1.2 Requirements...............................................

More information

maya-cmds-help Documentation

maya-cmds-help Documentation maya-cmds-help Documentation Release Andres Weber May 28, 2017 Contents 1 1.1 Synopsis 3 1.1 1.1.1 Features.............................................. 3 2 1.2 Installation 5 2.1 1.2.1 Windows, etc............................................

More information

cursesmenu Documentation

cursesmenu Documentation cursesmenu Documentation Release 0.5.0 Author March 04, 2016 Contents 1 Installation 3 2 Usage 5 2.1 Getting a selection............................................ 6 3 API Reference 7 3.1 CursesMenu

More information

RPLidar Documentation

RPLidar Documentation RPLidar Documentation Release 0.9.1 Artyom Pavlov May 13, 2017 Contents Python Module Index 5 i ii RPLidar Documentation, Release 0.9.1 Simple and lightweight module for working with RPLidar rangefinder

More information

Canvas Data Utilities Documentation

Canvas Data Utilities Documentation Canvas Data Utilities Documentation Release 0.0.1a Kajigga Dev Mar 07, 2017 Contents 1 CanvasData Utilities 3 1.1 Module Usage.............................................. 3 1.2 Config File................................................

More information

redis-lua Documentation

redis-lua Documentation redis-lua Documentation Release 2.0.8 Julien Kauffmann October 12, 2016 Contents 1 Quick start 3 1.1 Step-by-step analysis........................................... 3 2 What s the magic at play here?

More information

Python-Tempo Documentation

Python-Tempo Documentation Python-Tempo Documentation Release 0.1.0 Andrew Pashkin October 25, 2015 Contents 1 Links 3 2 Features 5 3 Quick example 7 4 Schedule model 9 4.1 Example.................................................

More information

deluge Documentation Release 2.0b2.dev43 Deluge Team

deluge Documentation Release 2.0b2.dev43 Deluge Team deluge Documentation Release 2.0b2.dev43 Deluge Team December 17, 2017 Contents 1 The Deluge Core 3 1.1 Deluge RPC............................................... 3 2 Deluge s Interfaces 11 2.1 Deluge

More information

prompt Documentation Release Stefan Fischer

prompt Documentation Release Stefan Fischer prompt Documentation Release 0.4.1 Stefan Fischer Nov 14, 2017 Contents: 1 Examples 1 2 API 3 3 Indices and tables 7 Python Module Index 9 i ii CHAPTER 1 Examples 1. Ask for a floating point number: >>>

More information

pyprika Documentation

pyprika Documentation pyprika Documentation Release 1.0.0 Paul Kilgo February 16, 2014 Contents i ii Pyprika is a Python library for parsing and managing recipes. Its major features are: Support for recognizing a human-friendly

More information

pymemcache Documentation

pymemcache Documentation pymemcache Documentation Release 2.1.0 Charles Gordon, Nicholas Charriere, Jon Parise, Joe Gordon Jan 08, 2019 Contents 1 Getting started! 3 1.1 Basic Usage...............................................

More information

StratumGS Documentation

StratumGS Documentation StratumGS Documentation Release 0.1.0 Dave Korhumel May 14, 2016 Contents 1 Documentation 3 1.1 Design.................................................. 3 1.2 Guides..................................................

More information

Stepic Plugins Documentation

Stepic Plugins Documentation Stepic Plugins Documentation Release 0 Stepic Team May 06, 2015 Contents 1 Introduction 3 1.1 Quiz Architecture............................................ 3 1.2 Backend Overview............................................

More information

Home Assistant Documentation

Home Assistant Documentation Home Assistant Documentation Release 0.73.0.dev0 Home Assistant Team Jul 14, 2018 Contents 1 homeassistant.bootstrap 3 2 homeassistant.core 5 3 Module contents 7 4 homeassistant.components.device_tracker

More information

Pulp Python Support Documentation

Pulp Python Support Documentation Pulp Python Support Documentation Release 1.0.1 Pulp Project October 20, 2015 Contents 1 Release Notes 3 1.1 1.0 Release Notes............................................ 3 2 Administrator Documentation

More information

BanzaiDB Documentation

BanzaiDB Documentation BanzaiDB Documentation Release 0.3.0 Mitchell Stanton-Cook Jul 19, 2017 Contents 1 BanzaiDB documentation contents 3 2 Indices and tables 11 i ii BanzaiDB is a tool for pairing Microbial Genomics Next

More information

pygenbank Documentation

pygenbank Documentation pygenbank Documentation Release 0.0.1 Matthieu Bruneaux February 06, 2017 Contents 1 Description 1 2 Contents 3 2.1 Installation................................................ 3 2.2 genbank module.............................................

More information

FriendlyShell Documentation

FriendlyShell Documentation FriendlyShell Documentation Release 0.0.0.dev0 Kevin S. Phillips Nov 15, 2018 Contents: 1 friendlyshell 3 1.1 friendlyshell package........................................... 3 2 Overview 9 3 Indices

More information

python-ipfix Documentation

python-ipfix Documentation python-ipfix Documentation Release 0.9 Brian Trammell July 02, 2013 CONTENTS 1 module ipfix.types 3 2 module ipfix.ie 7 3 module ipfix.template 11 4 module ipfix.message 13 5 module ipfix.reader 19 6

More information

tld Documentation Release 0.9 Artur Barseghyan

tld Documentation Release 0.9 Artur Barseghyan tld Documentation Release 0.9 Artur Barseghyan Jun 13, 2018 Contents 1 Prerequisites 3 2 Documentation 5 3 Installation 7 4 Usage examples 9 5 Update the list of TLD names

More information

Basilisk Documentation

Basilisk Documentation Basilisk Documentation Release 0.1 Bonnier Business Polska November 12, 2015 Contents 1 Indices and tables 7 Python Module Index 9 i ii Contents: Basilisk enables Pythonic use of Redis hashes, lists and

More information

solrq Documentation Release Michał Jaworski

solrq Documentation Release Michał Jaworski solrq Documentation Release 1.1.1 Michał Jaworski Mar 27, 2017 Contents 1 solrq 1 2 usage 3 2.1 quick reference.............................................. 4 3 contributing 7 4 testing 9 5 Detailed

More information

picrawler Documentation

picrawler Documentation picrawler Documentation Release 0.1.1 Ikuya Yamada October 07, 2013 CONTENTS 1 Installation 3 2 Getting Started 5 2.1 PiCloud Setup.............................................. 5 2.2 Basic Usage...............................................

More information

pyensembl Documentation

pyensembl Documentation pyensembl Documentation Release 0.8.10 Hammer Lab Oct 30, 2017 Contents 1 pyensembl 3 1.1 pyensembl package............................................ 3 2 Indices and tables 25 Python Module Index 27

More information

Mongo Task Queue Documentation

Mongo Task Queue Documentation Mongo Task Queue Documentation Release 0.0.0 Sean Ross-Ross April 30, 2015 Contents 1 API 3 1.1 Connection................................................ 3 1.2 Queue...................................................

More information

python-json-patch Documentation

python-json-patch Documentation python-json-patch Documentation Release 1.21 Stefan Kögl Jan 16, 2018 Contents 1 Tutorial 3 1.1 Creating a Patch............................................. 3 1.2 Applying a Patch.............................................

More information

python-anyvcs Documentation

python-anyvcs Documentation python-anyvcs Documentation Release 1.4.0 Scott Duckworth Sep 27, 2017 Contents 1 Getting Started 3 2 Contents 5 2.1 The primary API............................................. 5 2.2 Git-specific functionality.........................................

More information

SpaceEZ Documentation

SpaceEZ Documentation SpaceEZ Documentation Release v1.0.0 Juniper Networks Inc. July 13, 2015 Contents 1 Class Index 1 2 Module Index 3 3 Rest 5 4 Resource 9 5 Collection 13 6 Method 17 7 Service 19 8 Application 21 9 Async

More information

databuild Documentation

databuild Documentation databuild Documentation Release 0.0.10 Flavio Curella May 15, 2015 Contents 1 Contents 3 1.1 Installation................................................ 3 1.2 Quickstart................................................

More information

CGI Architecture Diagram. Web browser takes response from web server and displays either the received file or error message.

CGI Architecture Diagram. Web browser takes response from web server and displays either the received file or error message. What is CGI? The Common Gateway Interface (CGI) is a set of standards that define how information is exchanged between the web server and a custom script. is a standard for external gateway programs to

More information

Contents: 1 Basic socket interfaces 3. 2 Servers 7. 3 Launching and Controlling Processes 9. 4 Daemonizing Command Line Programs 11

Contents: 1 Basic socket interfaces 3. 2 Servers 7. 3 Launching and Controlling Processes 9. 4 Daemonizing Command Line Programs 11 nclib Documentation Release 0.7.0 rhelmot Apr 19, 2018 Contents: 1 Basic socket interfaces 3 2 Servers 7 3 Launching and Controlling Processes 9 4 Daemonizing Command Line Programs 11 5 Indices and tables

More information

pylog Documentation Release nir0s

pylog Documentation Release nir0s pylog Documentation Release 0.1.4 nir0s August 03, 2014 Contents 1 Quick Start 3 2 Installation 5 3 CLI 7 4 Configuration 9 5 Advanced Configuration 11 6 Formatters 13 7 Transports 15 8 API 17 9 Indices

More information

mprpc Documentation Release Studio Ousia

mprpc Documentation Release Studio Ousia mprpc Documentation Release 0.1.13 Studio Ousia Apr 05, 2017 Contents 1 Introduction 3 1.1 Installation................................................ 3 1.2 Examples.................................................

More information

turbo-hipster Documentation

turbo-hipster Documentation turbo-hipster Documentation Release 0.1 Joshua Hesketh October 07, 2015 Contents 1 Turbo-hipster 3 1.1 Turbo-hipster and Zuul.......................................... 3 1.2 Typical workflow diagram........................................

More information

YouTube API Wrapper Documentation

YouTube API Wrapper Documentation YouTube API Wrapper Documentation Release 0.1 Alessandro De Noia (Global Radio) June 09, 2016 Contents 1 Installation 3 1.1 Install the library............................................. 3 2 Basic usage

More information

python-json-pointer Documentation

python-json-pointer Documentation python-json-pointer Documentation Release 1.14 Stefan Kögl Jan 16, 2018 Contents 1 Tutorial 3 2 The jsonpointer module 5 3 The jsonpointer commandline utility 9 3.1 Example.................................................

More information

drove.io Documentation

drove.io Documentation drove.io Documentation Release 0.1 Andrés J. Díaz November 20, 2014 Contents 1 Installation 3 2 Usage 5 3 Plugins 7 4 Reference 9 4.1 drove................................................... 9 4.2 drove.command.............................................

More information

RiotWatcher Documentation

RiotWatcher Documentation RiotWatcher Documentation Release 2.5.0 pseudonym117 Jan 29, 2019 Contents 1 To Start... 3 2 Using it... 5 3 Main API and other topics 7 4 Indices and tables 15 Python Module Index 17 i ii RiotWatcher

More information

django-auditlog Documentation

django-auditlog Documentation django-auditlog Documentation Release 0.4.3 Jan-Jelle Kester Jul 05, 2017 Contents 1 Contents 3 1.1 Installation................................................ 3 1.2 Usage...................................................

More information

edeposit.amqp.antivirus Release 1.0.1

edeposit.amqp.antivirus Release 1.0.1 edeposit.amqp.antivirus Release 1.0.1 February 05, 2015 Contents 1 Installation 3 1.1 Initialization............................................... 3 2 Usage 5 3 Content 7 3.1 Standalone script.............................................

More information

eoddata-client Documentation

eoddata-client Documentation eoddata-client Documentation Release 0.3.3 Aleksey Sep 27, 2017 Table of Contents: 1 Usage 1 2 Client API 3 2.1 Http client................................................ 3 2.2 Errors...................................................

More information

Python Release September 11, 2014

Python Release September 11, 2014 Python Release September 11, 2014 Contents 1 Overview 3 2 History 5 3 Changes 7 4 API 9 4.1 Basic usage................................................ 9 4.2 Exceptions................................................

More information

Kinto Documentation. Release Mozilla Services Da French Team

Kinto Documentation. Release Mozilla Services Da French Team Kinto Documentation Release 0.2.2 Mozilla Services Da French Team June 23, 2015 Contents 1 In short 3 2 Table of content 5 2.1 API Endpoints.............................................. 5 2.2 Installation................................................

More information

Queries Documentation

Queries Documentation Queries Documentation Release 2.0.0 Gavin M. Roy Jan 31, 2018 Contents 1 Installation 3 2 Contents 5 3 Issues 27 4 Source 29 5 Inspiration 31 6 Indices and tables 33 i ii Queries is a BSD licensed opinionated

More information

spacetrack Documentation

spacetrack Documentation spacetrack Documentation Release 0.13.1 Frazer McLean Feb 03, 2018 Contents 1 Installation 3 1.1 pip.................................................. 3 1.2 Git..................................................

More information

python-docker-machine Documentation

python-docker-machine Documentation python-docker-machine Documentation Release 0.2.4 Gijs Molenaar Aug 25, 2017 Contents 1 Introduction 3 2 installation 5 3 Usage 7 4 Indices and tables 11 Python Module Index 13 i ii python-docker-machine

More information

NiFpga Example Documentation

NiFpga Example Documentation NiFpga Example Documentation Release 18.0.0 National Instruments Apr 03, 2018 User Documentation 1 About 3 2 Bugs / Feature Requests 5 2.1 Information to Include When Asking For Help.............................

More information

Mapview Documentation

Mapview Documentation Mapview Documentation Release 0.2 Mathieu Virbel Nov 16, 2017 Contents 1 Requirements 3 2 Current limitations 5 3 Usage 7 4 API 9 5 Indices and tables 15 Python Module Index 17 i ii MapView is a Kivy

More information

Representing Documents; Unit Testing II

Representing Documents; Unit Testing II Representing Documents; Unit Testing II Benjamin Roth CIS LMU Benjamin Roth (CIS LMU) Representing Documents;Unit Testing II 1 / 26 Documents and Word Statistics Often, documents are the units a natural

More information

requests-cache Documentation

requests-cache Documentation requests-cache Documentation Release 0.4.13 Roman Haritonov Nov 09, 2017 Contents 1 User guide 3 1.1 Installation................................................ 3 1.2 Usage...................................................

More information

Unicum Documentation. Release alpha. Deutsche Postbank AG

Unicum Documentation. Release alpha. Deutsche Postbank AG Unicum Documentation Release alpha Deutsche Postbank AG Nov 21, 2017 Contents 1 About 1 1.1 unicum.................................................. 1 2 Getting started 3 2.1 Installing.................................................

More information

MyGeotab Python SDK Documentation

MyGeotab Python SDK Documentation MyGeotab Python SDK Documentation Release 0.8.0 Aaron Toth Dec 13, 2018 Contents 1 Features 3 2 Usage 5 3 Installation 7 4 Documentation 9 5 Changes 11 5.1 0.8.0 (2018-06-18)............................................

More information

txzmq Documentation Release Andrey Smirnov

txzmq Documentation Release Andrey Smirnov txzmq Documentation Release 0.8.0 Andrey Smirnov Apr 21, 2017 Contents 1 Installation 3 1.1 Requirements............................................... 3 1.2 MacOS X.................................................

More information

django-embed-video Documentation

django-embed-video Documentation django-embed-video Documentation Release 1.1.2-stable Juda Kaleta Nov 10, 2017 Contents 1 Installation & Setup 3 1.1 Installation................................................ 3 1.2 Setup...................................................

More information

Bitdock. Release 0.1.0

Bitdock. Release 0.1.0 Bitdock Release 0.1.0 August 07, 2014 Contents 1 Installation 3 1.1 Building from source........................................... 3 1.2 Dependencies............................................... 3

More information

django-redis-cache Documentation

django-redis-cache Documentation django-redis-cache Documentation Release 1.5.2 Sean Bleier Nov 15, 2018 Contents 1 Intro and Quick Start 3 1.1 Intro................................................... 3 1.2 Quick Start................................................

More information

Requests Mock Documentation

Requests Mock Documentation Requests Mock Documentation Release 1.5.1.dev4 Jamie Lennox Jun 16, 2018 Contents 1 Overview 3 2 Using the Mocker 5 2.1 Activation................................................ 5 2.2 Class Decorator.............................................

More information

gevent-tools Documentation

gevent-tools Documentation gevent-tools Documentation Release 0.6.0 Jeff Lindsay May 17, 2014 Contents i ii Release: v0.6.0 (Installation) License: MIT Ginkgo is a lightweight framework for writing network service daemons in Python.

More information

pydas Documentation Release Kitware, Inc.

pydas Documentation Release Kitware, Inc. pydas Documentation Release 0.3.6 Kitware, Inc. January 28, 2016 Contents 1 Introduction To pydas 3 1.1 Requirements............................................... 3 1.2 Installing and Upgrading pydas.....................................

More information

CS 234 Python Review Part 2

CS 234 Python Review Part 2 CS 234 Python Review Part 2 Recap import function: define, return boolean, conditional, branching loop: for, range, while file: open, close, readlines string: split Classes Define blueprint for a custom

More information

Kiki Documentation. Release 0.7a1. Stephen Burrows

Kiki Documentation. Release 0.7a1. Stephen Burrows Kiki Documentation Release 0.7a1 Stephen Burrows August 14, 2013 CONTENTS i ii Kiki Documentation, Release 0.7a1 Kiki is envisioned as a Django-based mailing list manager which can replace Mailman. CONTENTS

More information

pysharedutils Documentation

pysharedutils Documentation pysharedutils Documentation Release 0.5.0 Joel James August 07, 2017 Contents 1 pysharedutils 1 2 Indices and tables 13 i ii CHAPTER 1 pysharedutils pysharedutils is a convenient utility module which

More information

.. Documentation. Release Author

.. Documentation. Release Author .. Documentation Release 0.4.3 Author May 31, 2015 Contents 1 Browser 3 1.1 Basic usages............................................... 3 1.2 Form manipulation............................................

More information

.. Documentation. Release 0.4 beta. Author

.. Documentation. Release 0.4 beta. Author .. Documentation Release 0.4 beta Author May 06, 2015 Contents 1 Browser 3 1.1 Basic usages............................................... 3 1.2 Form manipulation............................................

More information

discord.py Documentation

discord.py Documentation discord.py Documentation Release 0.6.0 Rapptz February 13, 2017 Contents 1 Setting Up Logging 3 2 API Reference 5 2.1 Client................................................... 5 2.2 Utility Functions.............................................

More information

mpv Documentation Release Cory Parsons

mpv Documentation Release Cory Parsons mpv Documentation Release 0.3.0 Cory Parsons Aug 07, 2017 Contents 1 The Mpv Object 3 2 Templates 7 2.1 Base................................................... 7 2.2 Pure Python Template..........................................

More information

ACT-R RPC Interface Documentation. Working Draft Dan Bothell

ACT-R RPC Interface Documentation. Working Draft Dan Bothell AC-R RPC Interface Documentation Working Draft Dan Bothell Introduction his document contains information about a new feature available with the AC-R 7.6 + software. here is now a built-in RPC (remote

More information

webbot Documentation Release Natesh M Bhat

webbot Documentation Release Natesh M Bhat webbot Documentation Release 0.0.1 Natesh M Bhat Oct 06, 2018 Contents: 1 Quick demo code ^_^ 3 1.1 Installation................................................ 3 1.2 License..................................................

More information

bzz Documentation Release Rafael Floriano and Bernardo Heynemann

bzz Documentation Release Rafael Floriano and Bernardo Heynemann bzz Documentation Release 0.1.0 Rafael Floriano and Bernardo Heynemann Nov 15, 2017 Contents 1 Getting Started 3 2 Flattening routes 5 3 Indices and tables 7 3.1 Model Hive................................................

More information

Our Team. Introduction. Language Features. COMSW4115 Proposal

Our Team. Introduction. Language Features. COMSW4115 Proposal RAPID (RAPID API Dialect) COMSW4115 Proposal Our Team Manager Ben Edelstein, bie2103 Language Guru Dan Schlosser, drs2161 System Architect Brendon Fish, bjf2127 System Integrator Nate Brennand, nsb2142

More information

Gimme Documentation. Release Tim Radke

Gimme Documentation. Release Tim Radke Gimme Documentation Release 0.1.3 Tim Radke February 09, 2014 Contents 1 Application Creation 1 2 Requests, Responses, and Controllers 3 3 Engines 11 4 Indices and tables 13 i ii CHAPTER 1 Application

More information

ZeroVM Package Manager Documentation

ZeroVM Package Manager Documentation ZeroVM Package Manager Documentation Release 0.2.1 ZeroVM Team October 14, 2014 Contents 1 Introduction 3 1.1 Creating a ZeroVM Application..................................... 3 2 ZeroCloud Authentication

More information

PYTHON MULTITHREADED PROGRAMMING

PYTHON MULTITHREADED PROGRAMMING PYTHON MULTITHREADED PROGRAMMING http://www.tutorialspoint.com/python/python_multithreading.htm Copyright tutorialspoint.com Running several threads is similar to running several different programs concurrently,

More information

Ockle Documentation. Release Guy Sheffer

Ockle Documentation. Release Guy Sheffer Ockle Documentation Release 0.5.0 Guy Sheffer November 02, 2012 CONTENTS i ii Ockle is a tool which lets you control a group of power distribution units (PDUs) and the servers which connected to them.

More information

How to make a Plugin licensable

How to make a Plugin licensable How to make a Plugin licensable If you are offering your plugin on the SmartStore Community Marketplace, you can easily make it licensable. If a plugin is licensable, it will behave as follows: A shop

More information

dirt Documentation Release 0.6 Andy Mastbaum

dirt Documentation Release 0.6 Andy Mastbaum dirt Documentation Release 0.6 Andy Mastbaum Sep 27, 2017 Contents 1 Quick Start Guide 3 2 Installation 5 3 Documentation 7 3.1 Introduction............................................... 7 3.2 Basic

More information

ipython-gremlin Documentation

ipython-gremlin Documentation ipython-gremlin Documentation Release 0.0.4 David M. Brown Mar 16, 2017 Contents 1 Releases 3 2 Requirements 5 3 Dependencies 7 4 Installation 9 5 Getting Started 11 5.1 Contribute................................................

More information

scrapekit Documentation

scrapekit Documentation scrapekit Documentation Release 0.1 Friedrich Lindenberg July 06, 2015 Contents 1 Example 3 2 Reporting 5 3 Contents 7 3.1 Installation Guide............................................ 7 3.2 Quickstart................................................

More information

pescador Documentation

pescador Documentation pescador Documentation Release Brian McFee and Eric Humphrey July 28, 2016 Contents 1 Simple example 1 1.1 Batch generators............................................. 1 1.2 StreamLearner..............................................

More information

CIS192 Python Programming

CIS192 Python Programming CIS192 Python Programming HTTP & HTML & JSON Harry Smith University of Pennsylvania November 1, 2017 Harry Smith (University of Pennsylvania) CIS 192 Lecture 10 November 1, 2017 1 / 22 Outline 1 HTTP Requests

More information

JSONRPC Documentation

JSONRPC Documentation JSONRPC Documentation Release 1.0 Edward Langley March 29, 2016 Contents 1 Getting Started 3 2 JSON-RPC Server 5 3 JSON-RPC Proxy 7 4 jsonrpc.jsonutil 9 5 Indices and tables 11 Python Module Index 13

More information

Cassette Documentation

Cassette Documentation Cassette Documentation Release 0.3.8 Charles-Axel Dein October 01, 2015 Contents 1 User s Guide 3 1.1 Foreword................................................. 3 1.2 Quickstart................................................

More information

josync Documentation Release 1.0 Joel Goop and Jonas Einarsson

josync Documentation Release 1.0 Joel Goop and Jonas Einarsson josync Documentation Release 1.0 Joel Goop and Jonas Einarsson May 10, 2014 Contents 1 Contents 3 1.1 Getting started.............................................. 3 1.2 Jobs....................................................

More information

g-pypi Documentation Release 0.3 Domen Kožar

g-pypi Documentation Release 0.3 Domen Kožar g-pypi Documentation Release 0.3 Domen Kožar January 20, 2014 Contents i ii Author Domen Kožar Source code Github.com source browser Bug tracker Github.com issues Generated January 20,

More information

Cross-platform daemonization tools.

Cross-platform daemonization tools. Cross-platform daemonization tools. Release 0.1.0 Muterra, Inc Sep 14, 2017 Contents 1 What is Daemoniker? 1 1.1 Installing................................................. 1 1.2 Example usage..............................................

More information

freeze Documentation Release 0.7.0alpha Jean-Louis Fuchs

freeze Documentation Release 0.7.0alpha Jean-Louis Fuchs freeze Documentation Release 0.7.0alpha Jean-Louis Fuchs April 10, 2014 Contents i ii freeze.freeze(data_structure) Freeze tries to convert any data-structure in a hierarchy of tuples. freeze.object_to_items(data_structure)

More information

About Python. Python Duration. Training Objectives. Training Pre - Requisites & Who Should Learn Python

About Python. Python Duration. Training Objectives. Training Pre - Requisites & Who Should Learn Python About Python Python course is a great introduction to both fundamental programming concepts and the Python programming language. By the end, you'll be familiar with Python syntax and you'll be able to

More information

Django-Select2 Documentation. Nirupam Biswas

Django-Select2 Documentation. Nirupam Biswas Nirupam Biswas Mar 07, 2018 Contents 1 Get Started 3 1.1 Overview................................................. 3 1.2 Installation................................................ 3 1.3 External Dependencies..........................................

More information

CNRS ANF PYTHON Objects everywhere

CNRS ANF PYTHON Objects everywhere CNRS ANF PYTHON Objects everywhere Marc Poinot Numerical Simulation Dept. Outline Python Object oriented features Basic OO concepts syntax More on Python classes multiple inheritance reuse introspection

More information

Python INTRODUCTION: Understanding the Open source Installation of python in Linux/windows. Understanding Interpreters * ipython.

Python INTRODUCTION: Understanding the Open source Installation of python in Linux/windows. Understanding Interpreters * ipython. INTRODUCTION: Understanding the Open source Installation of python in Linux/windows. Understanding Interpreters * ipython * bpython Getting started with. Setting up the IDE and various IDEs. Setting up

More information

tapi Documentation Release 0.1 Jimmy John

tapi Documentation Release 0.1 Jimmy John tapi Documentation Release 0.1 Jimmy John July 02, 2014 Contents 1 Why use TAPI? 3 2 Features 5 3 Dependencies 7 4 Installation 9 5 Quick Start 11 6 User Guide 13 6.1 Fundamentals...............................................

More information

CS Programming Languages: Python

CS Programming Languages: Python CS 3101-1 - Programming Languages: Python Lecture 5: Exceptions / Daniel Bauer (bauer@cs.columbia.edu) October 08 2014 Daniel Bauer CS3101-1 Python - 05 - Exceptions / 1/35 Contents Exceptions Daniel Bauer

More information

Good Luck! CSC207, Fall 2012: Quiz 1 Duration 25 minutes Aids allowed: none. Student Number:

Good Luck! CSC207, Fall 2012: Quiz 1 Duration 25 minutes Aids allowed: none. Student Number: CSC207, Fall 2012: Quiz 1 Duration 25 minutes Aids allowed: none Student Number: Last Name: Lecture Section: L0101 First Name: Instructor: Horton Please fill out the identification section above as well

More information

helper Documentation Release Gavin M. Roy

helper Documentation Release Gavin M. Roy helper Documentation Release 2.1.0 Gavin M. Roy September 24, 2013 CONTENTS i ii helper is a command-line/daemon application wrapper package with the aim of creating a consistent and fast way to creating

More information

Announcements. Lecture Agenda. Class Exercise. Hashable. Mutability. COMP10001 Foundations of Computing Iteration

Announcements. Lecture Agenda. Class Exercise. Hashable. Mutability. COMP10001 Foundations of Computing Iteration COMP10001 Foundations of Computing Iteration Announcements Semester 1, 2017 Tim Baldwin & Egemen Tanin First Guest Lecture on Friday (examinable) Grok Worksheets 5 7 due at the end of this week version:

More information

django-subdomains Documentation

django-subdomains Documentation django-subdomains Documentation Release 2.1.0 ted kaemming April 29, 2016 Contents 1 Installation 3 2 Quick Start 5 2.1 Example Configuration.......................................... 5 3 Basic Usage

More information

PYTHON CONTENT NOTE: Almost every task is explained with an example

PYTHON CONTENT NOTE: Almost every task is explained with an example PYTHON CONTENT NOTE: Almost every task is explained with an example Introduction: 1. What is a script and program? 2. Difference between scripting and programming languages? 3. What is Python? 4. Characteristics

More information

Airoscript-ng Documentation

Airoscript-ng Documentation Airoscript-ng Documentation Release 0.0.4 David Francos Cuartero January 22, 2015 Contents 1 Airoscript-ng 3 1.1 Features.................................................. 3 1.2 TODO..................................................

More information

ceda-di Documentation

ceda-di Documentation ceda-di Documentation Release 0.1.1 Charles Newey December 09, 2014 Contents 1 Introduction 1 2 Project Goals 3 3 Command-line Usage 5 3.1 Usage string...............................................

More information