Skip to main content

Dlsys v2.1.0

Dlsys is a powerful and versatile Python package for downloading and processing various types of content from the internet, including YouTube videos, websites, images, and audio files.

Features

  • Download audio and video from YouTube and other supported platforms
  • Split audio files into customizable segments
  • Download images from URLs with error handling
  • Download and save webpages
  • Support for multiprocessing to speed up downloads
  • Improved error handling and logging
  • Customizable output formats for audio and video

Installation

You can install Dlsys using pip:

pip install dlsys

Usage

Here are some examples of how to use Dlsys v2.1.0:

from dlsys import Dlsys

# Download audio from a YouTube video and split it into 60-minute segments
Dlsys().set_url("https://youtu.be/Y3whytmX51w").split(60).audio()

# Download video from a YouTube URL in MP4 format
Dlsys().set_url("https://youtu.be/Y3whytmX51w").set_format("mp4").video()

# Download multiple audio files using multiprocessing
urls = ["https://youtu.be/video1", "https://youtu.be/video2", "https://youtu.be/video3"]
Dlsys().set_url(urls).output_dir("downloads").multi().audio()

# Download images
image_urls = ["https://example.com/image1.jpg", "https://example.com/image2.png"]
Dlsys().set_url(image_urls).output_dir("images").download_images()

# Download webpages
webpage_urls = ["https://example.com", "https://example.org"]
Dlsys().set_url(webpage_urls).output_dir("webpages").download_webpages()

New in v2.1.0

  • Added set_format() method to specify output format for audio and video
  • Improved error handling with more informative error messages
  • Enhanced logging capabilities for better debugging
  • Performance optimizations for faster downloads
  • Updated dependencies to their latest versions

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

If you encounter any issues or have questions, please open an issue on the GitHub repository.

Metadata

Release files for dlsys 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dlsys 2.1.0
File Size Uploaded Provenance Actions
dlsys-2.1.0.tar.gz 6.1 kB Without provenance Details for dlsys-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dlsys 2.1.0
File Interpreter ABI Platform Actions
dlsys-2.1.0-py3-none-any.whl Python 3 none any Details for dlsys-2.1.0-py3-none-any.whl

Total release size: 12.3 kB

Release files / dlsys-2.1.0.tar.gz

Download URL dlsys-2.1.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
45ec7e1784c296cf90ee25ae32a010e7ab9db3cd71474c48984315825054c72d
BLAKE2b-256 checksum
How to use checksums
b18448c459e73a04b74dae4941f8f4234b5cceafab4c3e6cc93cbffe68a1af4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.0

Release files / dlsys-2.1.0-py3-none-any.whl

Download URL dlsys-2.1.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27e009e059096289c7719697634d196e8f379b53b76cfcdb5760576deb7f460f
BLAKE2b-256 checksum
How to use checksums
b6fad594f1e07fdb077a0ad63001b9f956bcb91bf9162cd502e68e7bb4601267
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.0

Security for dlsys 2.1.0

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