Skip to main content

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)

Source distribution for Py3link 0.1.6
File Size Uploaded Provenance
py3link-0.1.6.tar.gz 6.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for Py3link 0.1.6
File Interpreter ABI Platform
py3link-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 13.6 kB

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page