Skip to main content

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/

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pardon_dance-1769073.596.343.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pardon_dance-1769073.596.343-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file pardon_dance-1769073.596.343.tar.gz.

File metadata

  • Download URL: pardon_dance-1769073.596.343.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pardon_dance-1769073.596.343.tar.gz
Algorithm Hash digest
SHA256 7be72233000fb08ef71facfb816ecc86d273a1ffe12905dc6b6b33d6aab94ff8
MD5 7ddfaa91e928e740e5726ab4bea6bb88
BLAKE2b-256 204027478a5a0410bd84205de86d396acf99b7ac9e7cc6256ef3d3e01c33d131

See more details on using hashes here.

File details

Details for the file pardon_dance-1769073.596.343-py3-none-any.whl.

File metadata

File hashes

Hashes for pardon_dance-1769073.596.343-py3-none-any.whl
Algorithm Hash digest
SHA256 014b0a83f076237d63a7096c050c2995fccaf28b7906055bdccd5d202856624e
MD5 c9b191c5ec6bc3edf4337291d3e1234e
BLAKE2b-256 440cd5a619ecfef6883be03884f035d603d41296592d08a0496bcb634003dbed

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1769073.596.343 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page