Skip to main content

A collection of add-ons and utilities for Manim Community Edition

Project description

Robo Manim Add-ons

A collection of add-ons and utilities for Manim Community Edition.

Installation

For Users

Install from PyPI (once published):

pip install robo-manim-add-ons

For Development

  1. Clone the repository:
git clone https://github.com/yourusername/robo-manim-add-ons.git
cd robo-manim-add-ons
  1. Create and activate a virtual environment:
# Create venv
python -m venv venv

# Activate on macOS/Linux
source venv/bin/activate

# Activate on Windows
# venv\Scripts\activate
  1. Install manim and development dependencies:
pip install -e .
pip install -e ".[dev]"

Or install from requirements files:

pip install -r requirements.txt
pip install -r requirements-dev.txt

Quick Start

from manim import *
from robo_manim_add_ons import CustomMobject

class MyScene(Scene):
    def construct(self):
        # Use your custom add-ons here
        obj = CustomMobject()
        self.play(Create(obj))
        self.wait()

Running Examples

# Make sure your venv is activated
source venv/bin/activate

# Run the demo
python examples/demo.py

Running Tests

# Make sure your venv is activated
source venv/bin/activate

# Run all tests
pytest

# Run with coverage
pytest --cov=robo_manim_add_ons

Project Structure

robo-manim-add-ons/
├── pyproject.toml              # Package configuration
├── setup.py                    # Setup file
├── README.md                   # This file
├── LICENSE                     # MIT License
├── requirements.txt            # Production dependencies
├── requirements-dev.txt        # Development dependencies
├── robo_manim_add_ons/        # Main package
│   ├── __init__.py
│   └── ...
├── tests/                      # Test suite
│   └── test_*.py
└── examples/                   # Usage examples
    └── demo.py

Development Workflow

  1. Create and activate venv (see above)
  2. Install in editable mode: pip install -e ".[dev]"
  3. Make your changes
  4. Run tests: pytest
  5. Run examples to verify: python examples/demo.py

Building and Publishing

Build the package:

pip install build twine
python -m build

Publish to PyPI:

twine upload dist/*

Publish to TestPyPI (for testing):

twine upload --repository testpypi dist/*

License

MIT License - see LICENSE file for details.

Contributing

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

Project details


Download files

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

Source Distribution

robo_manim_add_ons-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

robo_manim_add_ons-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file robo_manim_add_ons-0.1.0.tar.gz.

File metadata

  • Download URL: robo_manim_add_ons-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for robo_manim_add_ons-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fe6d92e61a226bc6a316335bfc35d593d7a28a8269e265f5bc2a87494d763eb4
MD5 84a05676929cd0420cc3ba956dda364e
BLAKE2b-256 4a794347a4ee2d0201f7e6dad888828f36900d9cf0918a7b9c40cccb00b06bd0

See more details on using hashes here.

File details

Details for the file robo_manim_add_ons-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for robo_manim_add_ons-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c178ff101503ffddaa7cf9451a93832ce872c7d62ce9bbe039e08234dbb55650
MD5 c134b802afe182c6a065e7af28a5e7eb
BLAKE2b-256 22630f67977b7175aae7e242fbd42427733439ded350e03c7f4841fa8a3b5232

See more details on using hashes here.

Supported by

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