Skip to content

🍊 Squeeze dynamic content into your files with Tangerine's template magic.

Notifications You must be signed in to change notification settings

liblaf/tangerine

✨ Features

  • 🍊 Dynamic Templates: Embed live content in your files with Jinja2 templates that can pull data from GitHub, environment variables, and project configurations;
  • ⚑ Async Rendering: Process multiple files concurrently with asynchronous template rendering for improved performance;
  • πŸ”§ Extensible Filters: Customize output with built-in filters like emoji stripping and GitHub description fetching, plus support for custom Jinja2 filters;
  • πŸ“ Flexible Input/Output: Process files in-place or stream content via stdin/stdout, making it ideal for both manual use and CI/CD pipelines;
  • 🧩 Template Discovery: Automatically loads templates from both package resources and user-configured directories for easy customization;
  • πŸ” Git Integration: Seamlessly reads Copier answers from Git repositories to provide context-aware template variables.

πŸ“¦ Installation

To install liblaf-tangerine, run the following command:

uv add liblaf-tangerine

⌨️ Local Development

You can use Github Codespaces for online development:

Open in GitHub Codespaces

Or clone it for local development:

gh repo clone liblaf/tangerine
cd tangerine
mise run install

🀝 Contributing

Contributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub Issues to get stuck in to show us what you're made of.

PR Welcome

Contributors

πŸ”— More Fruits

  • πŸ‡ Grapes - Supercharge your Python with rich logging, precise timing, and seamless serialization.
  • πŸ‰ Melon - A comprehensive Python library for 3D mesh processing with advanced I/O capabilities, proximity analysis, and integration with external mesh processing tools.
  • 🍊 Tangerine - Squeeze dynamic content into your files with Tangerine's template magic.
  • πŸ‹β€πŸŸ© Lime - AI-powered Git commit assistant and repository documentation generator
  • 🍎 Apple - A JAX and Warp library for differentiable physics simulation, featuring elastic energy models and finite element methods.
  • πŸ’ Cherries - Sweet experiment tracking with Comet, DVC, and Git integration.

πŸ“ License

Copyright Β© 2025 liblaf.
This project is MIT licensed.

About

🍊 Squeeze dynamic content into your files with Tangerine's template magic.

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 5