Skip to main content

This package helps thoth app's interact with git forges like Github, Gitlab.

Project description

Thoth's Source Management

This library provides abstraction that allow's thoth to interact with various source management systems. We use OGR underneath to interact with git forges.

Install

Use pipenv - This project is released on PyPI, so the latest release can be installed via pip or Pipenv as shown below:

pipenv install thoth-sourcemanagement

How to use -

from sourcemanagement.sourcemanagement import SourceManagement
from sourcemanagement.enums import ServiceType

# Service type you want to use
service_type = ServiceType.GITHUB
sm = SourceManagement(service_type, 'https://www.github.com', `private_token', 'username/repo_name')

You could then call all the functions offered by the Source Management class.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thoth-sourcemanagement-0.2.4.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

thoth_sourcemanagement-0.2.4-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file thoth-sourcemanagement-0.2.4.tar.gz.

File metadata

  • Download URL: thoth-sourcemanagement-0.2.4.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for thoth-sourcemanagement-0.2.4.tar.gz
Algorithm Hash digest
SHA256 0621341500b81a5524299b7e2b26a754f127ec9415caed957b45d7f367e547df
MD5 879b123a706bb1400d9efb2c1fa6a484
BLAKE2b-256 5d3f857178b68e09dd49181b745a4d6c9714b4d32b96af1860a1f035d457dcdd

See more details on using hashes here.

File details

Details for the file thoth_sourcemanagement-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: thoth_sourcemanagement-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for thoth_sourcemanagement-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e320eb154fc40dc8d6b065f7381d8e6029df9e28b63fd88d16b5e9855b399864
MD5 85b63b94bcbbfff40a1c1d7ce301c027
BLAKE2b-256 9c0a1436ec9b381881c8bd6b0811fc17d6bba305a0a8137f054b49af40bc8caa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page