Skip to main content

Build Status License Language

Scrippy, my Scrangourou friend

scrippy_git

Git client for the Scrippy framework.

Prerequisites

Python Modules

List of Required Modules

The modules listed below will be automatically installed.

  • GitPython

Installation

Manual

git clone https://codeberg.org/scrippy/scrippy-git.git
cd scrippy-git
python -m pip install -r requirements.txt
make install

With pip

pip install scrippy-git

Usage

The scrippy_git.git module provides the Repo object for easy manipulation of a Git repository.

import os
from scrippy_git import git

username = "git"
host = "gitlab.monty.py"
port = 2242
reponame = "luiggi.vercotti/monty_python.git"
branch = "master"

repo = git.Repo(username, host, port, reponame)
local_path = os.path.join(workspace_path, "monty_python")
repo.clone(branch=branch, path=local_path)

test_fname = os.path.join(local_path, "dead_parrot.txt")
with open(test_fname, mode="w") as test_file:
  test_file.write("Nobody expects the Spanish inquisition !")
  commit_message = "Inquisition shall not be expected"
  repo.commit_push(commit_message)

Download files

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

Source Distribution

scrippy_git-1.1.77.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scrippy_git-1.1.77-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file scrippy_git-1.1.77.tar.gz.

File metadata

  • Download URL: scrippy_git-1.1.77.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.20

File hashes

Hashes for scrippy_git-1.1.77.tar.gz
Algorithm Hash digest
SHA256 b602d757f6aeee4bf71584d3c92b9dd3101cc2793c874d364ff6a8da6dcf4674
MD5 f9f570bcff58b5133822d4cb4c5461ba
BLAKE2b-256 4bb99b0b619f4d9a842c5c5bfa7f4e3b052e11c2626d71969c059156d2aaec83

See more details on using hashes here.

File details

Details for the file scrippy_git-1.1.77-py3-none-any.whl.

File metadata

  • Download URL: scrippy_git-1.1.77-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.20

File hashes

Hashes for scrippy_git-1.1.77-py3-none-any.whl
Algorithm Hash digest
SHA256 13a61f40651067ab7aea3f7b0d1c7a18aa928b2452bce91690369c4e495e6444
MD5 8b02de7d3d89a8c8f1f0f3494a7e0940
BLAKE2b-256 3f19b10b708a9ef3305fcfbcdd757737b4ed118d56dcfc8bc4e5076b0102840e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.77 This release

2 files

1.1.76

2 files

1.1.75

2 files

1.1.74

2 files

1.1.73

2 files

1.1.72

2 files

1.1.71

2 files

1.1.70

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page