Skip to main content

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

Project description

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 thoth.sourcemanagement.sourcemanagement import SourceManagement
from thoth.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.3.3.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

thoth_sourcemanagement-0.3.3-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: thoth-sourcemanagement-0.3.3.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.8

File hashes

Hashes for thoth-sourcemanagement-0.3.3.tar.gz
Algorithm Hash digest
SHA256 150b2b3e0e0c0ee1f86d62fd060f93e08137320e0af7ef6c3b8cbef267d2f864
MD5 8f270dd7966c7c297ee26b1c66755f06
BLAKE2b-256 6249a850adf0113ff4d576949c2e1f390fe49a1d90523ec909521b1463705065

See more details on using hashes here.

File details

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

File metadata

  • Download URL: thoth_sourcemanagement-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.8

File hashes

Hashes for thoth_sourcemanagement-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9930f87cbd67fb9ee28d133ca3148a7ddfb687d46ec96bb25317d6d3c0c0cfd0
MD5 354e19112e61f0903c2174d76f1c1eec
BLAKE2b-256 0ca0e7e1a7c13dd3acb502f2b5484cf6bf110b6b8fd38b9ee90d8c9869e9e543

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