Skip to content

katrinleinweber/gitator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitator

This is a python class with utilities createdd to interact with Git and GitHub APIs.

Utilization

Installation

pip install gitator

Execution

First, import the class:

from gitator import Gitator

Then create an object and use whatever method you need:

gitator = Gitator()
gitator.create_github_connection(github_token)

Development

Dependencies

Runtime

Tests

Test Strategy

This script uses the pytest framework in order to run unit tests.

Test Setup

In order to run tests, firt clone the repo and create a virtualenv:

git clone [email protected]:enkelbr/gitator.git
virtualenv -p python3 gitator
cd gitator
source bin/activate

Then install the deps. For example (on Enterprise Linux):

sudo yum install python pip
cd gitator
pip install -r requirements.txt

Test Execution

To run tests, just run pytest:

pytest

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 100.0%