Skip to main content

CLI tool and Python library for Lightransfer.com

Project description

Lightransfer Python Library & CLI

Lightransfer.com için resmi olmayan Python kütüphanesi ve komut satırı aracı.

Kurulum

pip install lightransfer

(Not: Henüz PyPI üzerinde yayınlanmadıysa yerel olarak kurabilirsiniz)

cd lib/python
pip install -e .

CLI Kullanımı

Dosya Yükleme

lightransfer upload dosya1.zip dosya2.png --message "İşte dosyalar"

Bilgi Alma

lightransfer info ABC123DEF

Dosya İndirme

lightransfer download ABC123DEF --dir ./indirilenler

Kütüphane Kullanımı

from lightransfer import LightransferAPI

api = LightransferAPI()

# Yükleme
result = api.upload_files(["dosya.zip"], sender_email="test@test.com")
print(result['data']['download_url'])

# Bilgi ve İndirme
info = api.get_transfer_info("ABC123DEF")
for file in info['data']['files']:
    api.download_file("ABC123DEF", file['id'])

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

lightransfer-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

lightransfer-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file lightransfer-0.1.0.tar.gz.

File metadata

  • Download URL: lightransfer-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for lightransfer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cc575306f284206616ecd1b7ec8dafa867dd5ca09b3cd64ea8d0b8701e40662d
MD5 bac2cf77f5579d32ff839042ef4aa416
BLAKE2b-256 c3d2359250b27aa249c62e03b473108e1df425a6eff8ba84bc25fc71e36ab3c5

See more details on using hashes here.

File details

Details for the file lightransfer-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lightransfer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for lightransfer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fdea22b94a7b1dc4282906c4c55428ea6bfd06bfffb8507e5b6be28f4c2d35f0
MD5 a213cd66ef1829e28aa8dc3f7c5ba9da
BLAKE2b-256 c98e879fdd3aa6b5a3fb0c030a59501c945ab1c9cb37c8a8b9f8dd2c4b0edf5b

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