Skip to main content

django-brick-astley

Reusable bricks for Django templates.

PyPI version Documentation Status

Documentation | PyPI | GitHub

Installation

pip install django-brick-astley

Usage

Add brickastley to your INSTALLED_APPS:

INSTALLED_APPS = [
    # ...
    'brickastley',
    # ...
]

For detailed usage instructions, see the full documentation.

Example Project

This repository includes a Django demo project in the example/ directory. To run it:

cd example
python -m venv .venv
source .venv/bin/activate
pip install -e ..
pip install Django
python manage.py migrate
python manage.py runserver

Visit http://127.0.0.1:8000/ to see the example in action.

Development

Clone the repository:

git clone https://github.com/philippbosch/django-brick-astley.git
cd django-brick-astley

Create and activate a virtual environment:

# Create virtual environment
python -m venv .venv

# Activate virtual environment
source .venv/bin/activate

Install in development mode with dev dependencies:

pip install -e ".[dev]"

Run tests:

pytest

License

MIT

Metadata

Release files for django-brick-astley 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-brick-astley 0.4.0
File Size Uploaded
django_brick_astley-0.4.0.tar.gz 16.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-brick-astley 0.4.0
File Interpreter ABI Platform
django_brick_astley-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.1 kB

Release files / django_brick_astley-0.4.0.tar.gz

Download URL django_brick_astley-0.4.0.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b353f54b3a074137b84d6a6555463a1b41dee365bfe956b5ebdb575421b98da3
BLAKE2b-256 checksum
How to use checksums
381763e235c93246145e357d523da3853377042dd071b764e41a23af1c805fd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / django_brick_astley-0.4.0-py3-none-any.whl

Download URL django_brick_astley-0.4.0-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea2871fab49a01e6ff5a1a17709c261a3c904e2f7b6db7c3f70ac402c97e398d
BLAKE2b-256 checksum
How to use checksums
f9b71ca9db18d48cded5e2efcbc9d599deea815adbdf668a8ecc4b495bdd3351
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page