Py3Link
PyLink is a powerful and beautiful Python library for downloading files and videos from various sources, with multi-threading support and elegant progress bars.
Установка
pip install pylink
Использование
Загрузка файлов
Для загрузки файлов используйте команду pylink с URL-адресом файла. Вы можете указать необязательный путь для сохранения файла.
pylink https://example.com/some_file.zip
pylink https://example.com/another_file.pdf my_document.pdf
Загрузка видео с YouTube, VK, TikTok и других платформ
PyLink автоматически определяет, является ли ссылка видео с поддерживаемой платформы (YouTube, VK, TikTok и т.д.) и использует yt-dlp для загрузки.
pylink https://www.youtube.com/watch?v=dQw4w9WgXcQ
pylink https://vk.com/video-12345678_456239017
pylink https://www.tiktok.com/@username/video/1234567890123456789
Прогресс-бары
Во время загрузки PyLink отображает красивый прогресс-бар, показывающий текущий объем загруженных данных, общий размер файла, скорость загрузки и предполагаемое время завершения.
Разработка
Структура проекта
pylink/
├── pylink/
│ ├── __init__.py
│ ├── cli.py
│ └── downloader.py
├── docs/
│ └── usage.md
├── setup.py
└── README.md
Модули
cli.py: Точка входа для командной строки, обрабатывает аргументы и вызывает функции загрузки.downloader.py: Содержит логику загрузки файлов (прямые ссылки) и медиа (с использованиемyt-dlp), а также управление прогресс-барами и многопоточностью.
Лицензия
Этот проект распространяется под лицензией MIT. Подробности смотрите в файле LICENSE (будет добавлен).
Metadata
Release files for Py3link 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| py3link-0.1.6.tar.gz | 6.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py3link-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.6 kB
Release files / py3link-0.1.6.tar.gz
| Download URL | py3link-0.1.6.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb2448748bdd38f91ac5aab9bdc5378b23668f10f75498c7f24ed43023bae161
|
|
BLAKE2b-256 checksum How to use checksums |
0087c2426bf92dd3c3ac0cefc1d50dcc3497d18cebc4d5270301d1eaa09dd0b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.18
|
Release files / py3link-0.1.6-py3-none-any.whl
| Download URL | py3link-0.1.6-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5837dfb2efb5db4d218ea36d26fcf160b8f1d6b5d9e8e4bbd28ea346bec2048f
|
|
BLAKE2b-256 checksum How to use checksums |
08d16afcdc3c6a26bd1fac4a9f58e1e65d762fd922c2c824bceaccff20688a9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.18
|
Security for Py3link 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.