Metadata-Version: 2.4
Name: django-polaris-bpv
Version: 2.7.3
Summary: An extendable Django server for Stellar Ecosystem Proposals.
License: Apache-2.0
License-File: LICENSE
Keywords: stellar,anchor,polaris,sep,server
Author: Stellar Development Foundation
Author-email: jake@stellar.org
Requires-Python: >=3.10,<4.0
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 4.2
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Programming Language :: Python :: 3 :: Only
Provides-Extra: dev-server
Provides-Extra: docs
Requires-Dist: aiohttp (>=3.7)
Requires-Dist: asgiref (>=3.2)
Requires-Dist: cryptography (>=41.0)
Requires-Dist: django (>=4.2)
Requires-Dist: django-cors-headers (>=3.7)
Requires-Dist: django-environ
Requires-Dist: django-model-utils (>=4.1)
Requires-Dist: djangorestframework (>=3.12)
Requires-Dist: gunicorn ; extra == "dev-server"
Requires-Dist: psycopg2-binary (>=2.9) ; extra == "dev-server"
Requires-Dist: pyjwt (>=2.1)
Requires-Dist: pytz
Requires-Dist: readthedocs-sphinx-ext (>=2.1,<3.0) ; extra == "docs"
Requires-Dist: sphinx (>=8.1,<9.0) ; extra == "docs"
Requires-Dist: sphinx-autodoc-typehints ; extra == "docs"
Requires-Dist: sphinx-rtd-theme (>=3.0,<4.0) ; extra == "docs"
Requires-Dist: sqlparse (>=0.4.2)
Requires-Dist: stellar-sdk[aiohttp] (>=10)
Requires-Dist: toml
Requires-Dist: watchdog ; extra == "dev-server"
Requires-Dist: whitenoise (>=5.3)
Project-URL: Bug Tracker, https://github.com/bp-ventures/django-polaris-bpv/issues
Project-URL: Documentation, https://django-polaris-bpv.readthedocs.io/en/latest/
Project-URL: Homepage, https://github.com/bp-ventures/django-polaris-bpv
Project-URL: Repository, https://github.com/bp-ventures/django-polaris-bpv
Project-URL: Release Notes, https://github.com/bp-ventures/django-polaris-bpv/releases
Description-Content-Type: text/x-rst

==================
Django Polaris BPV
==================

*A modernised, actively maintained fork of* `django-polaris <https://github.com/stellar/django-polaris>`_ *from the Stellar Development Foundation.*

|build| |coverage| |pypi| |python| |django| |license|

.. |build| image:: https://img.shields.io/github/actions/workflow/status/bp-ventures/django-polaris-bpv/test.yml?branch=master&style=flat-square
    :alt: Build
    :target: https://github.com/bp-ventures/django-polaris-bpv/actions

.. |coverage| image:: https://img.shields.io/codecov/c/github/bp-ventures/django-polaris-bpv?style=flat-square
    :alt: Coverage
    :target: https://codecov.io/gh/bp-ventures/django-polaris-bpv

.. |pypi| image:: https://img.shields.io/pypi/v/django-polaris-bpv?style=flat-square
    :alt: PyPI
    :target: https://pypi.python.org/pypi/django-polaris-bpv

.. |python| image:: https://img.shields.io/badge/python-3.12%20%7C%203.13-blue?style=flat-square
    :alt: Python
    :target: https://pypi.python.org/pypi/django-polaris-bpv

.. |django| image:: https://img.shields.io/badge/django-%3E%3D%206.0-0C4B33?style=flat-square
    :alt: Django
    :target: https://pypi.python.org/pypi/django-polaris-bpv

.. |license| image:: https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square
    :alt: License
    :target: https://github.com/bp-ventures/django-polaris-bpv/blob/master/LICENSE

----

Why This Fork?
--------------

The upstream `django-polaris`_ (v2.6.0) targets Python 3.10+ and Django 4.2.
This fork brings the stack up to date:

.. list-table::
   :header-rows: 1
   :widths: 25 35 35

   * -
     - Upstream (stellar)
     - **BPV Fork**
   * - Python
     - >= 3.10
     - **>= 3.12**
   * - Django
     - >= 4.2
     - **>= 6.0**
   * - Django REST Framework
     - >= 3.12
     - **>= 3.16**
   * - stellar-sdk
     - >= 10
     - **>= 10** *(aiohttp async transport)*
   * - pytz
     - required
     - **removed** *(stdlib zoneinfo)*

**Python 3.12+**
    ~25 % average speed-up over 3.10 thanks to the Faster CPython project
    (PEP 659 adaptive interpreter, inlined calls, optimised comprehensions).

**Django 6.0**
    Latest release track with improved async views and native ``zoneinfo`` support.

**stellar-sdk >= 10 with aiohttp**
    Async-first Stellar SDK, tested against current v13.x releases.

**No pytz**
    Replaced by the stdlib ``zoneinfo`` module — one fewer dependency to manage.

----

Quick Start
-----------

.. code-block:: bash

   pip install django-polaris-bpv

Add to ``INSTALLED_APPS``:

.. code-block:: python

   INSTALLED_APPS = [
       ...,
       "polaris",
   ]

See the full `documentation`_ for integration details, or explore the
`reference server`_ with the `demo wallet`_.

----

About Polaris
-------------

Polaris is an extendable `django app`_ for Stellar Ecosystem Proposal (SEP)
implementations. Using Polaris, you can run a web server supporting any
combination of SEP-1, 6, 10, 12, 24, 31, & 38.

----

About BP Ventures
-----------------

Since 2020, `BP Ventures`_ has helped fintechs, banks, and charities with
comprehensive blockchain and payment solutions:

- **Anchor in the Box** — Join the Stellar Ecosystem
- **White label wallet** — No gas fee transfers
- **Guard / SEP-30** — Key security solutions

Focus on serving your clients while we handle all your blockchain infrastructure needs.

----

.. _django-polaris: https://github.com/stellar/django-polaris
.. _django app: https://docs.djangoproject.com/en/stable/intro/reusable-apps/
.. _`demo wallet`: http://demo-wallet.stellar.org
.. _`reference server`: https://testanchor.stellar.org/.well-known/stellar.toml
.. _`documentation`: https://django-polaris-bpv.readthedocs.io/
.. _`BP Ventures`: https://www.bpventures.us/

