flask-dynamo Documentation

Size: px
Start display at page:

Download "flask-dynamo Documentation"

Transcription

1 flask-dynamo Documentation Release Randall Degges January 22, 2018

2

3 Contents 1 User s Guide Quickstart Getting Help Contributing API Reference API Additional Notes Change Log Upgrade Guide Python Module Index 15 i

4 ii

5 flask-dynamo is an extension for Flask that makes using Amazon s DynamoDB NoSQL database incredibly simple and enjoyable. DynamoDB is my favorite NoSQL database, as it s fast, scalable, requires 0 maintenance, has a simple API, and is a joy to work with. Contents 1

6 2 Contents

7 CHAPTER 1 User s Guide This part of the documentation will show you how to get started with flask-dynamo. If you re a new flask-dynamo user, start here! Quickstart This section will guide you through everything you need to know to get up and running with flask-dynamo! Installation The first thing you need to do is install flask-dynamo. Installation can be done through pip, the Python package manager. To install flask-dynamo, run: $ pip install flask-dynamo If you d like to upgrade an existing installation of flask-dynamo to the latest release, you can run: $ pip install -U flask-dynamo Set Environment Variables In order to run properly, flask-dynamo requires that you set several environment variables. The required environment variables are: AWS_ACCESS_KEY_ID (your Amazon access key ID) AWS_SECRET_ACCESS_KEY (your Amazon secret access key) There are also optional variables you can set: AWS_REGION (defaults to us-east-1) DYNAMO_ENABLE_LOCAL (defaults to False) DYNAMO_LOCAL_HOST (defaults to None) DYNAMO_LOCAL_PORT (defaults to None) 3

8 These credentials can be grabbed from your AWS Console. Note: A full list of Amazon regions can be found here: If you re unsure of how to set environment variables, I recommend you check out this StackOverflow question. Specify Your Tables The next thing you need to do is tell flask-dynamo which tables you ll be using. If you re not sure how tables work with DynamoDB, you should read through the boto DynamoDB tutorial before continuing. The way you can specify your tables is by creating an array called DYNAMO_TABLES (this is what flask-dynamo uses to set everything up). Below is an example: # app.py from flask import Flask from flask_dynamo import Dynamo app = Flask( name ) app.config[ DYNAMO_TABLES ] = [ { TableName= users, KeySchema=[dict(AttributeName= username, KeyType= HASH )], AttributeDefinitions=[dict(AttributeName= username, AttributeType= S )], ProvisionedThroughput=dict(ReadCapacityUnits=5, WriteCapacityUnits=5) }, { TableName= groups, KeySchema=[dict(AttributeName= name, KeyType= HASH )], AttributeDefinitions=[dict(AttributeName= name, AttributeType= S )], ProvisionedThroughput=dict(ReadCapacityUnits=5, WriteCapacityUnits=5) } ] In the above example, I m defining two DynamoDB tables: users and groups, along with their respective schemas. flask-dynamo will respect any boto tables you define it will also respect any of the other fields you specify on your tables. Initialize Dynamo Now that you ve defined your tables, you can initialize flask-dynamo in your app. All you need to do is pass your app to the Dynamo constructor: # app.py from flask import Flask from flask_dynamo import Dynamo app = Flask( name ) app.config[ DYNAMO_TABLES ] = [ { TableName= users, 4 Chapter 1. User s Guide

9 ] }, { } KeySchema=[dict(AttributeName= username, KeyType= HASH )], AttributeDefinitions=[dict(AttributeName= username, AttributeType= S )], ProvisionedThroughput=dict(ReadCapacityUnits=5, WriteCapacityUnits=5) TableName= groups, KeySchema=[dict(AttributeName= name, KeyType= HASH )], AttributeDefinitions=[dict(AttributeName= name, AttributeType= S )], ProvisionedThroughput=dict(ReadCapacityUnits=5, WriteCapacityUnits=5) dynamo = Dynamo(app) If you use the app factory pattern then use: # app.py from flask import Flask from flask_dynamo import Dynamo def create_app(): app = Flask( name ) app.config[ DYNAMO_TABLES ] = [ { TableName= users, KeySchema=[dict(AttributeName= username, KeyType= HASH )], AttributeDefinitions=[dict(AttributeName= username, AttributeType= S )], ProvisionedThroughput=dict(ReadCapacityUnits=5, WriteCapacityUnits=5) }, { TableName= groups, KeySchema=[dict(AttributeName= name, KeyType= HASH )], AttributeDefinitions=[dict(AttributeName= name, AttributeType= S )], ProvisionedThroughput=dict(ReadCapacityUnits=5, WriteCapacityUnits=5) } ] dynamo = Dynamo() dynamo.init_app(app) return app app = create_app() From this point on, you can interact with DynamoDB through the global dynamo object, or through Flask.current_app.extensions[ dynamodb ] if you are using the Flask app factory pattern. Create Your Tables If you haven t already created your DynamoDB tables, flask-dynamo can help you out! After configuring flask-dynamo, you can use the following code snippet to create all of your predefined DynamoDB tables: with app.app_context(): dynamo.create_all() This works great in bootstrap scripts Quickstart 5

10 Working with Tables Now that you ve got everything setup, you can easily access your tables in a dictionary-like format through dynamo.tables. Below is an example view which creates a new user account: # /create_user ) def create_user(): dynamo.tables[ users ].put_item(data={ username : rdegges, first_name : Randall, last_name : Degges, r@rdegges.com, }) On a related note, you can also use the dynamo.tables dictionary to iterate through all of your tables (this is sometimes useful). Here s how you could iterate over your existing DynamoDB tables: # app.py for table_name, table in dynamo.tables.items(): print(table_name, table) Deleting Tables If, for some reason, you d like to destroy all of your predefined DynamoDB tables, flask-dynamo can also help you with that. The below code snippet will destroy all of your predefined DynamoDB tables: # app.py dynamo.destroy_all() Note: data! Please be extremely careful when running this it has the potential to completely destroy your application s Using DynamoDB Local If you d like to use a local DynamoDB instance, flask-dynamo can help you. The only change you need to make is to your configuration. By specifying a few extra configuration variables, you ll be able to connect to your local DynamoDB instance as opposed to the real AWS cloud service this is great for testing things out. For more information about DynamoDB local, read the official DynamoDB Local documentation. The settings you need to set are: DYNAMO_ENABLE_LOCAL - Set this to True. DYNAMO_LOCAL_HOST - Set this to your local DB hostname usually localhost. DYNAMO_LOCAL_PORT - Set this to your local DB port usually Chapter 1. User s Guide

11 The settings above can be specified in one of two ways, either via environment variables, or via application configuration options directly, eg: app.config[ DYNAMO_ENABLE_LOCAL ] = True app.config[ DYNAMO_LOCAL_HOST ] = localhost app.config[ DYNAMO_LOCAL_PORT ] = 8000 No other code needs to be changed in order to use DynamoDB Local. Specifying boto3 Session If you would like to specify the boto3 session that Flask-dynamo should use, flask-dynamo has an option in the app config. This is optional, and if you don t specify a session, flask-dynamo will create one for you. This may be useful if you want to reuse the boto3 session with multiple plugins. DYNAMO_SESSION - optional Sets the boto3 session that flask-dynamo should use. eg: from boto3.session import Session() boto_sess = Session( region_name= us-east-1, aws_access_key_id= example_key_id, aws_secret_access_key= my_super_secret_key ) app.config[ DYNAMO_SESSION ] = boto_sess Getting Help Have a question you can t find an answer to? Things not working as expected? If you ve found a bug, or think something might not be working correctly, please file an issue on the official flaskdynamo issue tracker. If you need specific help getting something working, please me directly: r@rdegges.com or send me a -Randall Contributing Want to contribute to flask-dynamo? AWESOME! There s only a few things you need to know to get started: 1. All development is done on the Github repo. 2. When you send a pull request, please send it to the develop branch this is where active development happens. 3. Please add tests if you can it ll make accepting your pull requests a lot easier! That s about it! Setup Your Environment To get started developing, you ll want to fork flask-dynamo on Github Getting Help 7

12 After that, you ll need to check out the develop branch, as this is where you should base your development from: $ git clone git@github.com:yourusername/flask-dynamo.git $ cd flask-dynamo $ git fetch origin develop:develop $ git checkout develop Next, create a new branch that describes the change you want to make: $ git checkout -b bug-fix Next, you ll want to install all of the local dependencies with pip: $ pip install -r requirements.txt After that, you ll want to install the flask-dynamo package in development mode: $ python setup.py develop Lastly, you ll want to configure your AWS access keys as environment variables so you can run the tests: $ export AWS_ACCESS_KEY_ID=xxx $ export AWS_SECRET_ACCESS_KEY=xxx Running Tests After writing some code, you ll need to run the tests to ensure everything is still working ok! This can be done by running: $ python setup.py test From the project s root directory. Note: The tests take a while to run this is on purpose, as Amazon rate limits your requests. Submitting Your Pull Request Now that you ve added an awesome feature or fixed a bug, you probably want to submit your pull request, so let s do it! First, you ll want to push your topic branch to your Github fork: $ git push origin bug-fix Then, go to Github on your fork, and submit a pull request from your topic branch into the develop branch on the main flask-dynamo repository. That s it! Thanks! I d also like to give you a big shout out for any contributions you make. You are totally fucking awesome and I love you. -Randall 8 Chapter 1. User s Guide

13 CHAPTER 2 API Reference If you are looking for information on a specific function, class or method, this part of the documentation is for you. API This part of the documentation documents all the public classes, functions, and API details in flask-dynamo. This documentation is auto generated, and is always a good up-to-date reference. Configuration class flask_dynamo.manager.dynamo(app=none) DynamoDB engine manager. init_app(app) Initialize this extension. Parameters app (obj) The Flask application. connection Our DynamoDB connection. This will be lazily created if this is the first time this is being accessed. This connection is reused for performance. DynamoLazyTables = None get_table(table_name) create_all(wait=false) Create all user-specified DynamoDB tables. We ll ignore table(s) that already exists. We ll error out if the tables can t be created for some reason. destroy_all(wait=false) Destroy all user-specified DynamoDB tables. We ll error out if the tables can t be destroyed for some reason. class flask_dynamo.manager.dynamolazytables(connection, table_config) Manages access to Dynamo Tables. keys() The table names in our config. 9

14 len() The number of tables we are configured for. items() The table tuples (name, connection.table()). wait_exists(table_name) wait_not_exists(table_name) create_all(wait=false) destroy_all(wait=false) Errors class flask_dynamo.errors.configurationerror This exception is raised if the user hasn t properly configured Flask-Dynamo. 10 Chapter 2. API Reference

15 CHAPTER 3 Additional Notes This part of the documentation covers changes between versions and upgrade information, to help you migrate to newer versions of flask-dynamo easily. flask-dynamo is in the public domain (UNLICENSE), so you can do whatever you want with it! Change Log All library changes, in descending order. Version Released on September 6, Fixing init issues. Version Released on August 21, Added support for shared boto3 session. Version Released on August 21, Added support for flask app factory and traditional methods of initialization. Added documentation for boto3. Fixed reuse of DynamoDB connections across requests. Optimized tests to run faster. Added support for AWS_SESSION_TOKEN. for the code! 11

16 Version Released on August 1, Improving the create_all management command so it won t error out when attempting to re-create already created tables. for the codez! Version Released on May 25, Fixing deferred initialization of app object. for the fix! Version Released on March 29, Allowing users to specify DYNAMO_TABLES dynamically =) This makes it possible to specify your tables dynamically instead of immediately at startup. Version Released on March 29, Merging PR for improved environment variable detection using boto. We ll now allow the user to configure Flask-Dynamo through all of the standard boto methods. Version Released on November 17, Adding support for DynamoDB Local! Version Released on November 17, Fixing packaging issues with import ordering. for the report! Version Released on June 21, Adding tests. Adding docs. Adding logo. Slight refactoring. 12 Chapter 3. Additional Notes

17 Version Released on June 21, First release! Basic functionality. Upgrade Guide This page contains specific upgrading instructions to help you migrate between flask-dynamo releases. Version > Version No changes needed! Version > Version No changes needed! Version > Version Changes required. The app.config[ DYNAMO_TABLES ] schema needs to be updated to boto3 style. See Specify Your Tables for examples of how to do this. OPTIONAL: Use the app factory pattern, and access Dynamo via Flask.current_app.extensions[ dynamodb ] Version > Version No changes needed! Version > Version No changes needed! Version > Version No changes needed! Version > Version No changes needed! 3.2. Upgrade Guide 13

18 Version > Version No changes needed! Version > Version No changes needed! Version > Version No changes needed! 14 Chapter 3. Additional Notes

19 Python Module Index f flask_dynamo, 3 flask_dynamo.errors, 10 flask_dynamo.manager, 9 15

20 16 Python Module Index

21 Index C ConfigurationError (class in flask_dynamo.errors), 10 connection (flask_dynamo.manager.dynamo attribute), 9 create_all() (flask_dynamo.manager.dynamo method), 9 create_all() (flask_dynamo.manager.dynamolazytables method), 10 D destroy_all() (flask_dynamo.manager.dynamo method), 9 destroy_all() (flask_dynamo.manager.dynamolazytables method), 10 Dynamo (class in flask_dynamo.manager), 9 DynamoLazyTables (class in flask_dynamo.manager), 9 DynamoLazyTables (flask_dynamo.manager.dynamo attribute), 9 F flask_dynamo (module), 3 flask_dynamo.errors (module), 10 flask_dynamo.manager (module), 9 G get_table() (flask_dynamo.manager.dynamo method), 9 I init_app() (flask_dynamo.manager.dynamo method), 9 items() (flask_dynamo.manager.dynamolazytables method), 10 K keys() L len() (flask_dynamo.manager.dynamolazytables method), 9 (flask_dynamo.manager.dynamolazytables method), 9 W wait_exists() (flask_dynamo.manager.dynamolazytables method), 10 wait_not_exists() (flask_dynamo.manager.dynamolazytables method), 10 17

nacelle Documentation

nacelle Documentation nacelle Documentation Release 0.4.1 Patrick Carey August 16, 2014 Contents 1 Standing on the shoulders of giants 3 2 Contents 5 2.1 Getting Started.............................................. 5 2.2

More information

Signals Documentation

Signals Documentation Signals Documentation Release 0.1 Yeti November 22, 2015 Contents 1 Quickstart 1 2 What is Signals? 3 3 Contents 5 3.1 Get Started................................................ 5 3.2 Try the Demo Server...........................................

More information

Github/Git Primer. Tyler Hague

Github/Git Primer. Tyler Hague Github/Git Primer Tyler Hague Why Use Github? Github keeps all of our code up to date in one place Github tracks changes so we can see what is being worked on Github has issue tracking for keeping up with

More information

Python simple arp table reader Documentation

Python simple arp table reader Documentation Python simple arp table reader Documentation Release 0.0.1 David Francos Nov 17, 2017 Contents 1 Python simple arp table reader 3 1.1 Features.................................................. 3 1.2 Usage...................................................

More information

Python Schema Generator Documentation

Python Schema Generator Documentation Python Schema Generator Documentation Release 1.0.0 Peter Demin June 26, 2016 Contents 1 Mutant - Python code generator 3 1.1 Project Status............................................... 3 1.2 Design..................................................

More information

Flask-Sitemap Documentation

Flask-Sitemap Documentation Flask-Sitemap Documentation Release 0.3.0 CERN May 06, 2018 Contents 1 Contents 3 2 Installation 5 2.1 Requirements............................................... 5 3 Usage 7 3.1 Simple Example.............................................

More information

withenv Documentation

withenv Documentation withenv Documentation Release 0.7.0 Eric Larson Aug 02, 2017 Contents 1 withenv 3 2 Installation 5 3 Usage 7 3.1 YAML Format.............................................. 7 3.2 Command Substitutions.........................................

More information

TPS Documentation. Release Thomas Roten

TPS Documentation. Release Thomas Roten TPS Documentation Release 0.1.0 Thomas Roten Sep 27, 2017 Contents 1 TPS: TargetProcess in Python! 3 2 Installation 5 3 Contributing 7 3.1 Types of Contributions..........................................

More information

Python wrapper for Viscosity.app Documentation

Python wrapper for Viscosity.app Documentation Python wrapper for Viscosity.app Documentation Release Paul Kremer March 08, 2014 Contents 1 Python wrapper for Viscosity.app 3 1.1 Features.................................................. 3 2 Installation

More information

Tutorial 2 GitHub Tutorial

Tutorial 2 GitHub Tutorial TCSS 360: Software Development Institute of Technology and Quality Assurance Techniques University of Washington Tacoma Winter 2017 http://faculty.washington.edu/wlloyd/courses/tcss360 Tutorial 2 GitHub

More information

chatterbot-weather Documentation

chatterbot-weather Documentation chatterbot-weather Documentation Release 0.1.1 Gunther Cox Nov 23, 2018 Contents 1 chatterbot-weather 3 1.1 Installation................................................ 3 1.2 Example.................................................

More information

Flask-SimpleLDAP Documentation

Flask-SimpleLDAP Documentation Flask-SimpleLDAP Documentation Release 1.1.2 Alexandre Ferland Sep 14, 2017 Contents 1 Quickstart 3 2 Configuration 5 3 API 7 3.1 Classes.................................................. 7 3.2 History..................................................

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

TangeloHub Documentation

TangeloHub Documentation TangeloHub Documentation Release None Kitware, Inc. September 21, 2015 Contents 1 User s Guide 3 1.1 Managing Data.............................................. 3 1.2 Running an Analysis...........................................

More information

django-idioticon Documentation

django-idioticon Documentation django-idioticon Documentation Release 0.0.1 openpolis June 10, 2014 Contents 1 django-idioticon 3 1.1 Documentation.............................................. 3 1.2 Quickstart................................................

More information

What is version control? (discuss) Who has used version control? Favorite VCS? Uses of version control (read)

What is version control? (discuss) Who has used version control? Favorite VCS? Uses of version control (read) 1 For the remainder of the class today, I want to introduce you to a topic we will spend one or two more classes discussing and that is source code control or version control. What is version control?

More information

2 Initialize a git repository on your machine, add a README file, commit and push

2 Initialize a git repository on your machine, add a README file, commit and push BioHPC Git Training Demo Script First, ensure that git is installed on your machine, and you have configured an ssh key. See the main slides for instructions. To follow this demo script open a terminal

More information

django-dynamic-db-router Documentation

django-dynamic-db-router Documentation django-dynamic-db-router Documentation Release 0.1.1 Erik Swanson August 24, 2016 Contents 1 Table of Contents 3 1.1 Installation................................................ 3 1.2 Quickstart................................................

More information

What is git? Distributed Version Control System (VCS); Created by Linus Torvalds, to help with Linux development;

What is git? Distributed Version Control System (VCS); Created by Linus Torvalds, to help with Linux development; What is git? Distributed Version Control System (VCS); Created by Linus Torvalds, to help with Linux development; Why should I use a VCS? Repositories Types of repositories: Private - only you and the

More information

dj-libcloud Documentation

dj-libcloud Documentation dj-libcloud Documentation Release 0.2.0 Daniel Greenfeld December 19, 2016 Contents 1 dj-libcloud 3 1.1 Documentation.............................................. 3 1.2 Quickstart................................................

More information

git-pr Release dev2+ng5b0396a

git-pr Release dev2+ng5b0396a git-pr Release 0.2.1.dev2+ng5b0396a Mar 20, 2017 Contents 1 Table Of Contents 3 1.1 Installation................................................ 3 1.2 Usage...................................................

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

pydrill Documentation

pydrill Documentation pydrill Documentation Release 0.3.4 Wojciech Nowak Apr 24, 2018 Contents 1 pydrill 3 1.1 Features.................................................. 3 1.2 Installation................................................

More information

pycall Documentation Release Randall Degges

pycall Documentation Release Randall Degges pycall Documentation Release 2.3.2 Randall Degges Sep 28, 2017 Contents 1 Foreword 3 1.1 What is Asterisk?............................................. 3 1.2 What Are Call Files?...........................................

More information

Django Wordpress API Documentation

Django Wordpress API Documentation Django Wordpress API Documentation Release 0.1.0 Swapps Jun 28, 2017 Contents 1 Django Wordpress API 3 1.1 Documentation.............................................. 3 1.2 Quickstart................................................

More information

Roman Numeral Converter Documentation

Roman Numeral Converter Documentation Roman Numeral Converter Documentation Release 0.1.0 Adrian Cruz October 07, 2014 Contents 1 Roman Numeral Converter 3 1.1 Features.................................................. 3 2 Installation 5

More information

Created by: Nicolas Melillo 4/2/2017 Elastic Beanstalk Free Tier Deployment Instructions 2017

Created by: Nicolas Melillo 4/2/2017 Elastic Beanstalk Free Tier Deployment Instructions 2017 Created by: Nicolas Melillo 4/2/2017 Elastic Beanstalk Free Tier Deployment Instructions 2017 Detailed herein is a step by step process (and explanation) of how to prepare a project to be deployed to Amazon

More information

Python Project Example Documentation

Python Project Example Documentation Python Project Example Documentation Release 0.1.0 Neil Stoddard Mar 22, 2017 Contents 1 Neilvana Example 3 1.1 Features.................................................. 3 1.2 Credits..................................................

More information

contribution-guide.org Release

contribution-guide.org Release contribution-guide.org Release August 06, 2018 Contents 1 About 1 1.1 Sources.................................................. 1 2 Submitting bugs 3 2.1 Due diligence...............................................

More information

Flask-Sendmail Documentation

Flask-Sendmail Documentation Flask-Sendmail Documentation Release 0.1 Anthony Ford February 14, 2014 Contents 1 Installing Flask-Sendmail 3 2 Configuring Flask-Sendmail 5 3 Sending messages 7 4 Bulk emails 9 5 Attachments 11 6 Unit

More information

django-reinhardt Documentation

django-reinhardt Documentation django-reinhardt Documentation Release 0.1.0 Hyuntak Joo December 02, 2016 Contents 1 django-reinhardt 3 1.1 Installation................................................ 3 1.2 Usage...................................................

More information

Archan. Release 2.0.1

Archan. Release 2.0.1 Archan Release 2.0.1 Jul 30, 2018 Contents 1 Archan 1 1.1 Features.................................................. 1 1.2 Installation................................................ 1 1.3 Documentation..............................................

More information

Git, the magical version control

Git, the magical version control Git, the magical version control Git is an open-source version control system (meaning, it s free!) that allows developers to track changes made on their code files throughout the lifetime of a project.

More information

Google Domain Shared Contacts Client Documentation

Google Domain Shared Contacts Client Documentation Google Domain Shared Contacts Client Documentation Release 0.1.0 Robert Joyal Mar 31, 2018 Contents 1 Google Domain Shared Contacts Client 3 1.1 Features..................................................

More information

google-search Documentation

google-search Documentation google-search Documentation Release 1.0.0 Anthony Hseb May 08, 2017 Contents 1 google-search 3 1.1 Features.................................................. 3 1.2 Credits..................................................

More information

Intro to Github. Jessica Young

Intro to Github. Jessica Young Intro to Github Jessica Young jyoung22@nd.edu GitHub Basics 1. Installing GitHub and Git 2. Connecting Git and GitHub 3. Why use Git? Installing GitHub If you haven t already, create an account on GitHub

More information

Aircrack-ng python bindings Documentation

Aircrack-ng python bindings Documentation Aircrack-ng python bindings Documentation Release 0.1.1 David Francos Cuartero January 20, 2016 Contents 1 Aircrack-ng python bindings 3 1.1 Features..................................................

More information

Using GitHub to Share with SparkFun a

Using GitHub to Share with SparkFun a Using GitHub to Share with SparkFun a learn.sparkfun.com tutorial Available online at: http://sfe.io/t52 Contents Introduction Gitting Started Forking a Repository Committing, Pushing and Pulling Syncing

More information

Poulpe Documentation. Release Edouard Klein

Poulpe Documentation. Release Edouard Klein Poulpe Documentation Release 0.0.5 Edouard Klein Jul 18, 2017 Contents 1 Poulpe 1 1.1 Features.................................................. 1 2 Usage 3 3 Installation 5 4 Contributing 7 4.1 Types

More information

sainsmart Documentation

sainsmart Documentation sainsmart Documentation Release 0.3.1 Victor Yap Jun 21, 2017 Contents 1 sainsmart 3 1.1 Install................................................... 3 1.2 Usage...................................................

More information

Simple libtorrent streaming module Documentation

Simple libtorrent streaming module Documentation Simple libtorrent streaming module Documentation Release 0.1.0 David Francos August 31, 2015 Contents 1 Simple libtorrent streaming module 3 1.1 Dependences...............................................

More information

Django MFA Documentation

Django MFA Documentation Django MFA Documentation Release 1.0 Micro Pyramid Sep 20, 2018 Contents 1 Getting started 3 1.1 Requirements............................................... 3 1.2 Installation................................................

More information

Release Nicholas A. Del Grosso

Release Nicholas A. Del Grosso wavefront r eaderdocumentation Release 0.1.0 Nicholas A. Del Grosso Apr 12, 2017 Contents 1 wavefront_reader 3 1.1 Features.................................................. 3 1.2 Credits..................................................

More information

django-responsive2 Documentation

django-responsive2 Documentation django-responsive2 Documentation Release 0.1.3 Mishbah Razzaque Sep 27, 2017 Contents 1 django-responsive2 3 1.1 Why would you use django-responsive2?................................ 3 1.2 Using django-responsive2

More information

PyCRC Documentation. Release 1.0

PyCRC Documentation. Release 1.0 PyCRC Documentation Release 1.0 Cristian Năvălici May 12, 2018 Contents 1 PyCRC 3 1.1 Features.................................................. 3 2 Installation 5 3 Usage 7 4 Contributing 9 4.1 Types

More information

Software Development I

Software Development I 6.148 Software Development I Two things How to write code for web apps. How to collaborate and keep track of your work. A text editor A text editor A text editor Anything that you re used to using Even

More information

cwmon-mysql Release 0.5.0

cwmon-mysql Release 0.5.0 cwmon-mysql Release 0.5.0 October 18, 2016 Contents 1 Overview 1 1.1 Installation................................................ 1 1.2 Documentation.............................................. 1 1.3

More information

Kivy Designer Documentation

Kivy Designer Documentation Kivy Designer Documentation Release 0.9 Kivy October 02, 2016 Contents 1 Installation 3 1.1 Prerequisites............................................... 3 1.2 Installation................................................

More information

open-helpdesk Documentation

open-helpdesk Documentation open-helpdesk Documentation Release 0.9.9 Simone Dalla Nov 16, 2017 Contents 1 Overview 3 1.1 Dependencies............................................... 3 1.2 Documentation..............................................

More information

Rubix Documentation. Release Qubole

Rubix Documentation. Release Qubole Rubix Documentation Release 0.2.12 Qubole Jul 02, 2018 Contents: 1 RubiX 3 1.1 Usecase.................................................. 3 1.2 Supported Engines and Cloud Stores..................................

More information

django-konfera Documentation

django-konfera Documentation django-konfera Documentation Release 0.1 SPy o.z. Mar 21, 2017 Contents 1 Installation 3 1.1 Using Pip................................................. 3 1.2 Using the Source.............................................

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

django simple pagination Documentation

django simple pagination Documentation django simple pagination Documentation Release 1.1.5 Micro Pyramid Nov 08, 2017 Contents 1 Getting started 3 1.1 Requirements............................................... 3 1.2 Installation................................................

More information

I2C LCD Documentation

I2C LCD Documentation I2C LCD Documentation Release 0.1.0 Peter Landoll Sep 04, 2017 Contents 1 I2C LCD 3 1.1 Features.................................................. 3 1.2 Credits..................................................

More information

Release Ralph Offinger

Release Ralph Offinger nagios c heck p aloaltodocumentation Release 0.3.2 Ralph Offinger May 30, 2017 Contents 1 nagios_check_paloalto: a Nagios/Icinga Plugin 3 1.1 Documentation..............................................

More information

Technical Note: On The Usage and Development of the AWAKE Web Server and Web Applications

Technical Note: On The Usage and Development of the AWAKE Web Server and Web Applications Technical Note: On The Usage and Development of the AWAKE Web Server and Web Applications Dillon Berger August 10, 2017 Introduction The purpose of this technical note is to give a brief explanation of

More information

e24paymentpipe Documentation

e24paymentpipe Documentation e24paymentpipe Documentation Release 1.2.0 Burhan Khalid Oct 30, 2017 Contents 1 e24paymentpipe 3 1.1 Features.................................................. 3 1.2 Todo...................................................

More information

Game Server Manager Documentation

Game Server Manager Documentation Game Server Manager Documentation Release 0.1.1+0.gc111f9c.dirty Christopher Bailey Dec 16, 2017 Contents 1 Game Server Manager 3 1.1 Requirements............................................... 3 1.2

More information

Mantis STIX Importer Documentation

Mantis STIX Importer Documentation Mantis STIX Importer Documentation Release 0.2.0 Siemens February 27, 2014 Contents 1 Mantis STIX Importer 3 1.1 Documentation.............................................. 3 1.2 Quickstart................................................

More information

Version Control. Second level Third level Fourth level Fifth level. - Software Development Project. January 11, 2017

Version Control. Second level Third level Fourth level Fifth level. - Software Development Project. January 11, 2017 Version Control Click to edit Master EECS text 2311 styles - Software Development Project Second level Third level Fourth level Fifth level January 11, 2017 1 Scenario 1 You finished the assignment at

More information

Django-CSP Documentation

Django-CSP Documentation Django-CSP Documentation Release 3.0 James Socol, Mozilla September 06, 2016 Contents 1 Installing django-csp 3 2 Configuring django-csp 5 2.1 Policy Settings..............................................

More information

Building a Django Twilio Programmable Chat Application

Building a Django Twilio Programmable Chat Application Building a Django Twilio Programmable Chat Application twilio.com/blog/08/0/python-django-twilio-programmable-chat-application.html March 7, 08 As a developer, I ve always wanted to include chat capabilities

More information

FPLLL. Contributing. Martin R. Albrecht 2017/07/06

FPLLL. Contributing. Martin R. Albrecht 2017/07/06 FPLLL Contributing Martin R. Albrecht 2017/07/06 Outline Communication Setup Reporting Bugs Topic Branches and Pull Requests How to Get your Pull Request Accepted Documentation Overview All contributions

More information

Aldryn Installer Documentation

Aldryn Installer Documentation Aldryn Installer Documentation Release 0.2.0 Iacopo Spalletti February 06, 2014 Contents 1 django CMS Installer 3 1.1 Features.................................................. 3 1.2 Installation................................................

More information

Introduction to Git and GitHub for Writers Workbook February 23, 2019 Peter Gruenbaum

Introduction to Git and GitHub for Writers Workbook February 23, 2019 Peter Gruenbaum Introduction to Git and GitHub for Writers Workbook February 23, 2019 Peter Gruenbaum Table of Contents Preparation... 3 Exercise 1: Create a repository. Use the command line.... 4 Create a repository...

More information

I hate money. Release 1.0

I hate money. Release 1.0 I hate money Release 1.0 Nov 01, 2017 Contents 1 Table of content 3 2 Indices and tables 15 i ii «I hate money» is a web application made to ease shared budget management. It keeps track of who bought

More information

Python State Machine Documentation

Python State Machine Documentation Python State Machine Documentation Release 0.6.2 Fernando Macedo Aug 25, 2017 Contents 1 Python State Machine 3 1.1 Getting started.............................................. 3 2 Installation 7 2.1

More information

eventbrite-sdk-python Documentation

eventbrite-sdk-python Documentation eventbrite-sdk-python Documentation Release 3.3.4 Eventbrite December 18, 2016 Contents 1 eventbrite-sdk-python 3 1.1 Installation from PyPI.......................................... 3 1.2 Usage...................................................

More information

Versioning with git. Moritz August Git/Bash/Python-Course for MPE. Moritz August Versioning with Git

Versioning with git. Moritz August Git/Bash/Python-Course for MPE. Moritz August Versioning with Git Versioning with git Moritz August 13.03.2017 Git/Bash/Python-Course for MPE 1 Agenda What s git and why is it good? The general concept of git It s a graph! What is a commit? The different levels Remote

More information

Improving Your Life With Git

Improving Your Life With Git Improving Your Life With Git Lizzie Lundgren elundgren@seas.harvard.edu Graduate Student Forum 26 April 2018 Scenarios to Avoid My code was deleted from 90-day retention! Crap, I can t remember what I

More information

SendCloud OpenCart 2 Extension Documentation

SendCloud OpenCart 2 Extension Documentation SendCloud OpenCart 2 Extension Documentation Release 1.2.0 Comercia November 22, 2017 Contents 1 GitHub README info 3 1.1 Links................................................... 3 1.2 Version Support.............................................

More information

Handel-CodePipeline Documentation

Handel-CodePipeline Documentation Handel-CodePipeline Documentation Release 0.0.6 David Woodruff Dec 11, 2017 Getting Started 1 Introduction 3 2 Installation 5 3 Tutorial 7 4 Using Handel-CodePipeline 11 5 Handel-CodePipeline File 13

More information

Gunnery Documentation

Gunnery Documentation Gunnery Documentation Release 0.1 Paweł Olejniczak August 18, 2014 Contents 1 Contents 3 1.1 Overview................................................. 3 1.2 Installation................................................

More information

Git. Charles J. Geyer School of Statistics University of Minnesota. Stat 8054 Lecture Notes

Git. Charles J. Geyer School of Statistics University of Minnesota. Stat 8054 Lecture Notes Git Charles J. Geyer School of Statistics University of Minnesota Stat 8054 Lecture Notes 1 Before Anything Else Tell git who you are. git config --global user.name "Charles J. Geyer" git config --global

More information

pytest-benchmark Release 2.5.0

pytest-benchmark Release 2.5.0 pytest-benchmark Release 2.5.0 September 13, 2015 Contents 1 Overview 3 1.1 pytest-benchmark............................................ 3 2 Installation 7 3 Usage 9 4 Reference 11 4.1 pytest_benchmark............................................

More information

Revision control. INF5750/ Lecture 2 (Part I)

Revision control. INF5750/ Lecture 2 (Part I) Revision control INF5750/9750 - Lecture 2 (Part I) Problem area Software projects with multiple developers need to coordinate and synchronize the source code Approaches to version control Work on same

More information

django-users2 Documentation

django-users2 Documentation django-users2 Documentation Release 0.2.1 Mishbah Razzaque Mar 16, 2017 Contents 1 django-users2 3 1.1 Features.................................................. 3 1.2 Documentation..............................................

More information

Frontier Documentation

Frontier Documentation Frontier Documentation Release 0.1.3-dev Sam Nicholls August 14, 2014 Contents 1 Frontier 3 1.1 Requirements............................................... 3 1.2 Installation................................................

More information

bootmachine Documentation

bootmachine Documentation bootmachine Documentation Release 0.6.0 Thomas Schreiber April 20, 2015 Contents 1 bootmachine 3 1.1 Configuration Management Tools.................................... 3 1.2 Providers.................................................

More information

Lecture 6 Remotes. Sign in on the attendance sheet!

Lecture 6 Remotes. Sign in on the attendance sheet! Lecture 6 Remotes Sign in on the attendance sheet! Midterm Review Everyone did great! What We ve Learned So Far Creating and cloning repositories git init, git clone Linear commit histories and diffs git

More information

Gearthonic Documentation

Gearthonic Documentation Gearthonic Documentation Release 0.2.0 Timo Steidle August 11, 2016 Contents 1 Quickstart 3 2 Contents: 5 2.1 Usage................................................... 5 2.2 API....................................................

More information

Flask Web Development Course Catalog

Flask Web Development Course Catalog Flask Web Development Course Catalog Enhance Your Contribution to the Business, Earn Industry-recognized Accreditations, and Develop Skills that Help You Advance in Your Career March 2018 www.iotintercon.com

More information

Common Git Commands. Git Crash Course. Teon Banek April 7, Teon Banek (TakeLab) Common Git Commands TakeLab 1 / 18

Common Git Commands. Git Crash Course. Teon Banek April 7, Teon Banek (TakeLab) Common Git Commands TakeLab 1 / 18 Common Git Commands Git Crash Course Teon Banek theongugl@gmail.com April 7, 2016 Teon Banek (TakeLab) Common Git Commands TakeLab 1 / 18 Outline 1 Introduction About Git Setup 2 Basic Usage Trees Branches

More information

django-stored-messages Documentation

django-stored-messages Documentation django-stored-messages Documentation Release 1.4.0 evonove Nov 10, 2017 Contents 1 Features 3 2 Compatibility table 5 3 Contents 7 3.1 Installation................................................ 7 3.2

More information

b. Developing multiple versions of a software project in parallel

b. Developing multiple versions of a software project in parallel Multiple-Choice Questions: 1. Which of these terms best describes Git? a. Integrated Development Environment b. Distributed Version Control System c. Issue Tracking System d. Web-Based Repository Hosting

More information

flask-jwt-simple Documentation

flask-jwt-simple Documentation flask-jwt-simple Documentation Release 0.0.3 vimalloc rlam3 Nov 17, 2018 Contents 1 Installation 3 2 Basic Usage 5 3 Changing JWT Claims 7 4 Changing Default Behaviors 9 5 Configuration Options 11 6 API

More information

New Contributor Tutorial and Best Practices

New Contributor Tutorial and Best Practices New Contributor Tutorial and Best Practices Vicențiu Ciorbaru Software Engineer @ MariaDB Foundation * 2018 MariaDB Foundation * Goal of this session Most attendees here are highly experienced devs Let's

More information

smartfilesorter Documentation

smartfilesorter Documentation smartfilesorter Documentation Release 0.2.0 Jason Short September 14, 2014 Contents 1 Smart File Sorter 3 1.1 Features.................................................. 3 2 Installation 5 3 Usage Example

More information

A L A TEX-oriented intro to Git

A L A TEX-oriented intro to Git A L A TEX-oriented intro to Git the tex part is in the interactive demo not in the slides Danielle Amethyst Brake 22 October - 26 November, 2018 ICERM Semester on Nonlinear Algebra Inter-week collaboration

More information

Submitting your Work using GIT

Submitting your Work using GIT Submitting your Work using GIT You will be using the git distributed source control system in order to manage and submit your assignments. Why? allows you to take snapshots of your project at safe points

More information

django CMS Export Objects Documentation

django CMS Export Objects Documentation django CMS Export Objects Documentation Release 0.1.0 Iacopo Spalletti Sep 07, 2017 Contents 1 django CMS Export Objects 3 1.1 Features.................................................. 3 1.2 Documentation..............................................

More information

Python StatsD Documentation

Python StatsD Documentation Python StatsD Documentation Release 2.0.3 James Socol January 03, 2014 Contents i ii statsd is a friendly front-end to Graphite. This is a Python client for the statsd daemon. Quickly, to use: >>> import

More information

Dragon Mapper Documentation

Dragon Mapper Documentation Dragon Mapper Documentation Release 0.2.6 Thomas Roten March 21, 2017 Contents 1 Support 3 2 Documentation Contents 5 2.1 Dragon Mapper.............................................. 5 2.2 Installation................................................

More information

FEEG Applied Programming 3 - Version Control and Git II

FEEG Applied Programming 3 - Version Control and Git II FEEG6002 - Applied Programming 3 - Version Control and Git II Richard Boardman, Sam Sinayoko 2016-10-19 Outline Learning outcomes Working with a single repository (review) Working with multiple versions

More information

213/513/613 Linux/Git Bootcamp. Cyrus, Eugene, Minji, Niko

213/513/613 Linux/Git Bootcamp. Cyrus, Eugene, Minji, Niko 213/513/613 Linux/Git Bootcamp Cyrus, Eugene, Minji, Niko Outline 1. SSH, bash, and navigating Linux 2. Using VIM 3. Setting up VS Code 4. Git SSH 1. On macos/linux: $ ssh ANDREW-ID@shark.ics.cs.cmu.edu

More information

PynamoDB Documentation

PynamoDB Documentation PynamoDB Documentation Release 0.1.0 Jharrod LaFon January 24, 2014 Contents i ii PynamoDB is a Pythonic interface to Amazon s DynamoDB. By using simple, yet powerful abstractions over the DynamoDB API,

More information

Python Project Documentation

Python Project Documentation Python Project Documentation Release 1.0 Tim Diels Jan 10, 2018 Contents 1 Simple project structure 3 1.1 Code repository usage.......................................... 3 1.2 Versioning................................................

More information

SQLite vs. MongoDB for Big Data

SQLite vs. MongoDB for Big Data SQLite vs. MongoDB for Big Data In my latest tutorial I walked readers through a Python script designed to download tweets by a set of Twitter users and insert them into an SQLite database. In this post

More information

git-flow Documentation

git-flow Documentation git-flow Documentation Release 1.0 Johan Cwiklinski Jul 14, 2017 Contents 1 Presentation 3 1.1 Conventions............................................... 4 1.2 Pre-requisites...............................................

More information

Simple Binary Search Tree Documentation

Simple Binary Search Tree Documentation Simple Binary Search Tree Documentation Release 0.4.1 Adrian Cruz October 23, 2014 Contents 1 Simple Binary Search Tree 3 1.1 Features.................................................. 3 2 Installation

More information