A Git LFS client implementation in Python
Project description
Giftless Client
A Git LFS client library implemented in Python, compatible with the
Giftless server.
giftless-client
is tested on Python 2.7 and 3.6+.
Installation
You can install this library directly from pypi:
(venv) $ pip install giftless-client
API
This module exposes one main class: LfsClient
. Typically, you only need to use this class to perform most
Git LFS operations.
LfsClient
class
Instantiating a Client
from giftless_client import LfsClient
client = LfsClient(lfs_server_url='https://git-lfs.example.com', # Git LFS server URL
auth_token='somer4nd0mT0ken==', # Bearer token if required by the server
transfer_adapters=['basic']) # Enabled transfer adapters (optional)
The transfer_adapters
parameter is optional, and represents a list of supported transfer adapters by priority
to negotiate with the server; Typically, there is no reason to provide this parameter.
Downloading a File from LFS storage
TBD
Uploading a File to LFS storage
TBD
Sending an LFS batch
API request
TBD
Usage in Command Line
While the main use for giftless-client
is as a client library for other projects, this module does include some
command line functionality.
Run the following command to get more information:
(venv) $ giftless-client --help
License
giftless-client
is free software distributed under the terms of the MIT license. See [LICENSE] for details.
giftless-client
is (c) 2020 Datopian / Viderum Inc.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for giftless_client-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 350fa698befb71a08e03a435c586d663c067157ccd31a598c1737e72f4f64fd2 |
|
MD5 | 7463b4231f0ae1f3e75363902a0b1133 |
|
BLAKE2b-256 | beaeb6471d5d38ad23bdb0b5bb274e0ded6866b0715805e525c8732ddf9b55f7 |