pardon-dance
pardon-dance is a Python library designed to automate and streamline the creation and integration of pardon-dance effects, as popularized online. This package provides a simple interface for generating and manipulating video clips with integrated pardon-dance elements.
Installation
You can install pardon-dance using pip:
bash
pip install pardon-dance
Basic Usage
Here are a few examples demonstrating how to use pardon-dance:
1. Creating a Basic Pardon-Dance Video: python from pardon_dance import PardonDanceGenerator
Initialize the generator
generator = PardonDanceGenerator(input_video="input.mp4", output_video="output.mp4")
Generate the pardon-dance video with default settings
generator.generate()
print("Pardon-dance video created successfully!")
This example takes an input video (input.mp4) and generates a new video (output.mp4) with the pardon-dance effect applied. It uses default settings for the effect.
2. Customizing the Pardon-Dance Effect: python from pardon_dance import PardonDanceGenerator
Initialize the generator with custom parameters
generator = PardonDanceGenerator( input_video="input.mp4", output_video="custom_output.mp4", pardon_text="Oops!", text_color="red", font_size=48 )
Generate the pardon-dance video with customized settings
generator.generate()
print("Customized pardon-dance video created!")
This example demonstrates how to customize the pardon-dance effect by changing the text displayed, the text color, and the font size.
3. Adding Audio to the Pardon-Dance Video: python from pardon_dance import PardonDanceGenerator
Initialize the generator with an audio file
generator = PardonDanceGenerator( input_video="input.mp4", output_video="audio_output.mp4", audio_file="audio.mp3" )
Generate the pardon-dance video with added audio
generator.generate()
print("Pardon-dance video with audio created!")
This example shows how to add a custom audio track to the generated pardon-dance video.
4. Specifying the Duration of the Pardon-Dance Effect: python from pardon_dance import PardonDanceGenerator
Initialize the generator with a custom duration
generator = PardonDanceGenerator( input_video="input.mp4", output_video="duration_output.mp4", start_time=5, # Start the effect at 5 seconds duration=3 # Apply the effect for 3 seconds )
Generate the pardon-dance video with specified duration
generator.generate()
print("Pardon-dance video with specified duration created!")
This example shows how to control the start time and duration of the pardon-dance effect within the video.
Feature List
- Automated Pardon-Dance Generation: Easily create pardon-dance videos from existing video files.
- Customizable Text: Modify the text displayed during the pardon-dance effect.
- Adjustable Text Appearance: Control text color, font size, and font style.
- Audio Integration: Add custom audio tracks to the generated video.
- Duration Control: Specify the start time and duration of the pardon-dance effect.
- Simple and Intuitive API: Easy-to-use interface for quick integration.
- Cross-Platform Compatibility: Works on various operating systems.
License
MIT License
This project is a gateway to the pardon-dance ecosystem. For advanced features and full capabilities, please visit: https://supermaker.ai/video/blog/unlocking-the-magic-of-pardon-dance-the-viral-video-effect-taking-over-social-media/
Metadata
Release files for pardon-dance 1769073.596.343
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pardon_dance-1769073.596.343.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pardon_dance-1769073.596.343-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / pardon_dance-1769073.596.343.tar.gz
| Download URL | pardon_dance-1769073.596.343.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7be72233000fb08ef71facfb816ecc86d273a1ffe12905dc6b6b33d6aab94ff8
|
|
BLAKE2b-256 checksum How to use checksums |
204027478a5a0410bd84205de86d396acf99b7ac9e7cc6256ef3d3e01c33d131
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / pardon_dance-1769073.596.343-py3-none-any.whl
| Download URL | pardon_dance-1769073.596.343-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
014b0a83f076237d63a7096c050c2995fccaf28b7906055bdccd5d202856624e
|
|
BLAKE2b-256 checksum How to use checksums |
440cd5a619ecfef6883be03884f035d603d41296592d08a0496bcb634003dbed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|