https://github.com/dadananjesha/taggenerator

TagGenerator is a lightweight Django project featuring a reusable app for generating stylish QR codes. It’s designed for seamless integration, allowing you to quickly embed and customize QR codes in your web applications.

https://github.com/dadananjesha/taggenerator

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.6%) to scientific vocabulary

Keywords

ci-cd django-application djnago-project docker open-source open-source-project publishing pypi-package qr-code-generator qrcode tag-generation
Last synced: 5 months ago · JSON representation

Repository

TagGenerator is a lightweight Django project featuring a reusable app for generating stylish QR codes. It’s designed for seamless integration, allowing you to quickly embed and customize QR codes in your web applications.

Basic Info
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 7
Topics
ci-cd django-application djnago-project docker open-source open-source-project publishing pypi-package qr-code-generator qrcode tag-generation
Created over 6 years ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

TagGenerator - Django QR Code Generator 💫📱

PyPI version Python Version Django Version License: MIT Latest Release django status python-publish status publish-docker status

TagGenerator is a sleek, reusable Django app for generating stylish, customizable QR codes on the fly. Easily integrate it into your web applications and give your project that extra visual flair!


📖 Table of Contents


🔍 Overview

In today’s fast-paced digital world, QR codes serve as an essential bridge between offline and online experiences. TagGenerator delivers a dynamic, stylish QR code generation solution for Django projects. With advanced styling options like rounded modules and radial gradients, you can create QR codes that are both functional and visually appealing.


✨ Key Features

  • ⚡ Dynamic Generation: Create QR codes in real time for any URL or text.
  • 🎨 Advanced Styling: Customize QR codes with rounded modules, gradient colors, and more.
  • 🔌 Reusable Django App: Seamlessly plug into any Django project with minimal setup.
  • 📝 Custom Template Tag: Easily render QR codes in templates using {% qrcode_url %}.
  • 🐳 Docker Ready: Simplify deployments with a pre-built Docker image.
  • 🛠️ CI/CD Integration: Automated testing and releases with GitHub Actions.

🔄 Flow Diagram

mermaid flowchart TD A[📥 Input: Text or URL] --> B[🔧 QR Code Generation] B --> C[🎨 Apply Styling Options] C --> D[📤 Output: Styled QR Code Image] D --> E[🖥️ Embed in Django Templates]


🗂️ Project Structure

plaintext TagGenerator/ ├── .github/ # GitHub Actions workflows for CI/CD 🚀 ├── Dockerfile # Docker configuration for containerized deployment 🐳 ├── QrCode/ # Reusable Django app for QR code generation │ ├── migrations/ # Database migrations │ ├── templates/ # Django templates (includes custom tag usage) │ ├── templatetags/ # Custom template tags (e.g., qrcode_tags.py) 🏷️ │ ├── urls.py # URL configuration for the QRCode app │ └── views.py # Views to render QR codes ├── TagGenerator/ # Main Django project directory │ ├── settings.py # Project settings (including app configurations) │ ├── urls.py # Root URL configurations │ └── wsgi.py # WSGI configuration for deployment ├── manage.py # Django project management script ├── requirements.txt # Python dependencies 📦 ├── setup.py # Setup script for packaging and PyPI publishing ├── LICENSE # MIT License └── README.md # Project documentation (this file) 📖


💻 Installation

From PyPI

Install the package directly via pip:

bash pip install TagGenerator

Manual Setup

  1. Clone the Repository:

bash git clone https://github.com/DadaNanjesha/tag-generator.git cd tag-generator

  1. Set Up a Virtual Environment:

bash python -m venv venv source venv/bin/activate # Windows: venv\Scripts\activate

  1. Install Dependencies:

bash pip install -r requirements.txt

  1. Install in Editable Mode (for development):

bash pip install -e .


🚀 Usage

Integrate into Your Django Project

  1. Add to Installed Apps:
    In your settings.py:

python INSTALLED_APPS = [ # ... other apps "QrCode", ]

  1. Include URL Configuration:
    Update your project's urls.py:

```python from django.urls import include, path

urlpatterns = [ # ... other URL patterns path("qrcode/", include("QrCode.urls", namespace="qrcode")), ] ```

  1. Embed QR Code in Templates:
    Load the custom template tag and render a QR code:

django {% load qrcode_tags %} <img src="{% qrcode_url 'https://example.com' %}" alt="QR Code">

  1. Demo:
    Access the demo at http://<your-domain>/qrcode/ to see your QR code in action.

🐳 Deployments

Docker Deployment

Use Docker for a consistent environment:

  1. Build the Docker Image:

bash docker build -t dadananjesha/tag-generator .

  1. Run the Docker Container:

bash docker run -d -p 8000:8000 dadananjesha/tag-generator

Visit http://localhost:8000/qrcode/ to view your app.

CI/CD

TagGenerator leverages GitHub Actions for continuous integration. Check out the workflows in the .github/workflows directory for more details.


🏷️ Releases & Packages

  • Releases:
    The latest release is v1.0.2 (Mar 8, 2025). Each release includes detailed notes on fixes and new features.

  • Packages:
    TagGenerator is available on PyPI. We follow Semantic Versioning to ensure stability.

  • Publishing Workflow:
    To release a new version:

    1. Tag the Release: bash git tag vX.Y.Z git push --tags
    2. Build the Distribution: bash python setup.py sdist bdist_wheel
    3. Upload with Twine: bash twine upload dist/*

🤝 Contributing

Contributions are welcome! Here’s how you can help:

  1. Fork the Repository
  2. Create a Feature Branch: bash git checkout -b feature/your-feature-name
  3. Commit Your Changes:
    Write clear, descriptive commit messages.
  4. Push and Submit a Pull Request:
    Please open an issue first for major changes.

⭐️ Support & Call-to-Action

If you find this project useful, please consider: - Starring the repository ⭐️ - Forking the project to contribute enhancements - Following for updates on future improvements

Your engagement helps increase visibility and encourages further collaboration!


📜 License

This project is licensed under the MIT License.


🙏 Acknowledgements

  • Built With: Django, Python, and the qrcode library.
  • Inspiration: Designed to provide an elegant and customizable QR code solution.
  • CI/CD: Thanks to GitHub Actions for seamless integration and deployment.

Happy coding and may your QR codes always be stylish! 🚀✨

Owner

  • Name: DADA NANJESHA
  • Login: DadaNanjesha
  • Kind: user
  • Location: BERLIN

GitHub Events

Total
  • Release event: 4
  • Public event: 1
  • Push event: 17
  • Pull request event: 10
  • Create event: 4
Last Year
  • Release event: 4
  • Public event: 1
  • Push event: 17
  • Pull request event: 10
  • Create event: 4

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 0
  • Total pull requests: 12
  • Average time to close issues: N/A
  • Average time to close pull requests: less than a minute
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 12
  • Average time to close issues: N/A
  • Average time to close pull requests: less than a minute
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • DadaNanjesha (17)
Top Labels
Issue Labels
Pull Request Labels
enhancement (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 15 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
pypi.org: taggenerator

A reusable Django app for QR Code generation

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 15 Last month
Rankings
Dependent packages count: 9.5%
Average: 31.6%
Dependent repos count: 53.6%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/django.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v3 composite
.github/workflows/python-publish.yml actions
  • actions/checkout v4 composite
  • actions/download-artifact v4 composite
  • actions/setup-python v5 composite
  • actions/upload-artifact v4 composite
  • pypa/gh-action-pypi-publish release/v1 composite
requirements.txt pypi
setup.py pypi
  • Django >=4.0
  • Pillow *
  • qrcode *
.github/workflows/publish-docker.yml actions
  • actions/checkout v4 composite
  • docker/build-push-action v4 composite
  • docker/login-action v2 composite
Dockerfile docker
  • python 3.9-slim-buster build