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
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
lightransfer-0.1.0.tar.gz
(4.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc575306f284206616ecd1b7ec8dafa867dd5ca09b3cd64ea8d0b8701e40662d
|
|
| MD5 |
bac2cf77f5579d32ff839042ef4aa416
|
|
| BLAKE2b-256 |
c3d2359250b27aa249c62e03b473108e1df425a6eff8ba84bc25fc71e36ab3c5
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdea22b94a7b1dc4282906c4c55428ea6bfd06bfffb8507e5b6be28f4c2d35f0
|
|
| MD5 |
a213cd66ef1829e28aa8dc3f7c5ba9da
|
|
| BLAKE2b-256 |
c98e879fdd3aa6b5a3fb0c030a59501c945ab1c9cb37c8a8b9f8dd2c4b0edf5b
|