Skip to main content

core-package

Author: puzzllium · puzzllium@gmail.com · LinkedIn

Shared Django/Ninja foundation (auth, RBAC, logging, base models, realtime) that downstream site packages (blog, ecommerce, portfolio, community, ...) install as a dependency.

Install

pip install core-package
pip install "core-package[postgres,redis,server]"   # optional extras

Requires Python 3.10+ and Django 5.2.

What's inside

The package ships the reusable apps.* library:

App Purpose
apps.core Session-bound JWT auth, permissions, middleware, pagination, throttling, exceptions, audit logging, SMS helper, shared utils
apps.users User model and user/auth API
apps.roles Role-based access control (RBAC): roles, permissions, assignment
apps.realtime Socket.IO server with JWT authentication
apps.contacts Contact messages model, API and admin
apps.events Events model, API and admin

config/ (settings, urls, asgi, the NinjaAPI instance) and manage.py are host-project-only and are not part of the installable package. A site is a host project with this package and one or more site packages installed and wired into its settings and API.

Dependencies

Version ranges are used (this is a library), so it won't conflict with the host project.

Required

Package Used for
Django >=5.2,<5.3 Web framework
django-ninja >=1.4,<2 REST API layer
asgiref >=3.8 ASGI support
email-validator >=2.2,<3 Email validation
python-socketio >=5.11,<6, python-engineio >=4.9,<5 Realtime (Socket.IO)
django-environ >=0.12,<1 Environment-based settings
argon2-cffi >=23 Password hashing
PyJWT >=2.8,<3 JWT tokens
django-cors-headers >=4.4,<5 CORS
django-unfold >=0.60 Admin theme
whitenoise >=6.7,<7 Static file serving
Pillow >=10 Image handling
requests >=2.31,<3 HTTP client

Optional extras

Extra Installs
postgres psycopg[binary]>=3.2,<4
redis django-redis>=5.4, redis>=5,<9
server uvicorn[standard]>=0.30

License

MIT. See LICENSE.

Metadata

Release files for core-package 0.1.2

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

Source distribution (sdist)

Source distribution for core-package 0.1.2
File Size Uploaded
core_package-0.1.2.tar.gz 41.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for core-package 0.1.2
File Interpreter ABI Platform
core_package-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 98.7 kB

Release files / core_package-0.1.2.tar.gz

Download URL core_package-0.1.2.tar.gz
Size 41.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e41eb800d03ea99d68d036ac04d556c06e60fe512005d226ece5421439ddaa4c
BLAKE2b-256 checksum
How to use checksums
aad7b7f2f9452eefeb7b5c2f95b84d1e67f02ebc1cebd5f96f096020a8c06ff7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

Release files / core_package-0.1.2-py3-none-any.whl

Download URL core_package-0.1.2-py3-none-any.whl
Size 57.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fbe99f3f9f8fefb7f8af37ea94215ac052698caa6604ff01aa9cf4df7d15cbee
BLAKE2b-256 checksum
How to use checksums
3b6917ce8c510ab0062a6e408789007857acdcd527868649850b01fd379c2c47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

1 release file

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