Skip to main content

A lightweight utility to git pull a repository using SSH deploy keys stored in environment variables

Project description

gitpuller

Usage

from gitpuller import GitPullExecutor

executor = GitPullExecutor(slack_webhook_url="your_webhook_url", use_mage_ai=True)
result = executor.execute_with_alerting(
    repo_path="/path/to/repo",
    git_url="git@github.com:user/repo.git",
    branch="master",
    workspace_name="workspace1"
)

Build

rm -rf build dist *.egg-info
python -m build

Upload to PyPI and update version in pyproject.toml.

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

salla_gitpuller-1.0.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

salla_gitpuller-1.0.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file salla_gitpuller-1.0.1.tar.gz.

File metadata

  • Download URL: salla_gitpuller-1.0.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for salla_gitpuller-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e5c469b1257a5aa86d605937dcaf405e1e58bb5bef89510b4913569de7274262
MD5 36d1eb8f17679a228ee107b9e9156d96
BLAKE2b-256 34dd2eb6cf1c39f0eda853d2e391c442c98a34514c2cc85eff4b3fa8f1df872b

See more details on using hashes here.

File details

Details for the file salla_gitpuller-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for salla_gitpuller-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8c16ab53e6a7e85f8d9a7e29b19b9c51e3f2e175ab358861cd6e5c486ffad8e7
MD5 73b67945e76cd9895c82034152c86b55
BLAKE2b-256 55a1fd95c47f2925e1a4755ba3cef0f013cc28f172c5b565006d7d11c72cae9e

See more details on using hashes here.

Supported by

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