semvec/pypi-packages huggingface dataset:
django-sitegate 1.3.3
Reusable application for Django to ease sign up & sign in processes
License: BSD 3-Clause License

django-sitegate
===============
http://github.com/idlesign/django-sitegate

.. image:: https://img.shields.io/pypi/v/django-sitegate.svg
    :target: https://pypi.python.org/pypi/django-sitegate

.. image:: https://img.shields.io/pypi/l/django-sitegate.svg
    :target: https://pypi.python.org/pypi/django-sitegate

.. image:: https://img.shields.io/coveralls/idlesign/django-sitegate/master.svg
    :target: https://coveralls.io/r/idlesign/django-sitegate


What's that
-----------

*django-sitegate is a reusable application for Django to ease sign up & sign in processes.*

This application will handle most common user registration and log in flows for you.

**Sign in**

* username/e-mail + password
* username + password
* Yandex
* Google

**Sign up**

* username/e-mail + password
* invitation code + username/e-mail + password
* username + password
* username + e-mail + password
* username + password + password confirmation
* username + e-mail + password + password confirmation


Quick example
-------------

Here follows the most straightforward way possible with ``django-sitegate`` to have both sign up & sign in
functionality on your page.


1. Use ``sitegate_view`` decorator to mark your view as the one handling both signups and signins:

    .. code-block:: python

        from django.shortcuts import render

        from sitegate.toolbox import sitegate_view

        @sitegate_view  # This also prevents logged in users from accessing our sign in/sign up page.
        def entrance(request):
            return render(request, 'entrance.html', {'title': 'Sign in & Sign up'})


2. Then in your template load ``sitegate`` tag library and put ``sitegate_signup_form`` & ``sitegate_signin_form`` tags
   in place where you want a registration and sign in forms to be.

    .. code-block:: html

        {% extends "_base.html" %}
        {% load sitegate %}

        {% block page_contents %}
            <div class="my_signin_block">
                {% sitegate_signin_form %}
            </div>
            <div class="my_signup_block">
                {% sitegate_signup_form %}
            </div>
        {% endblock %}


You're done. Now your site visitors have an e-mail + password form to register and username/e-mail + password form to log in.

And mind that we've barely made a scratch of **sitegate**. Read the docs.


Documentation
-------------

http://django-sitegate.readthedocs.org/
webscaff 1.0.0
Remote scaffolding and orchestration for web applications
License: BSD 3-Clause License

webscaff
========
https://github.com/idlesign/webscaff

|release| |lic| |coverage|

.. |release| image:: https://img.shields.io/pypi/v/webscaff.svg
    :target: https://pypi.python.org/pypi/webscaff

.. |lic| image:: https://img.shields.io/pypi/l/webscaff.svg
    :target: https://pypi.python.org/pypi/webscaff

.. |coverage| image:: https://img.shields.io/coveralls/idlesign/webscaff/master.svg
    :target: https://coveralls.io/r/idlesign/webscaff


Description
-----------

*Remote scaffolding and orchestration for web applications*


Used stack
~~~~~~~~~~

* **Debian**-based OS (Ubuntu 18.04, 20.04, 22.04 tested) as a basis.
* **Git** for source code updates.
* **Systemd** to securely run your webservice.
* **PostgreSQL** as a reliable DBMS.
* **uWSGI** as a platform (handling routing, static, background tasks, etc.).
* **Python 3** to cover your needs.
* **Django** as a rich and solid webframework.

And also:

* **Certbot** integration for free HTTPS certificates (webroot plugin).
* SSH Agent forwarding for project code updates on remote using keys from your system.


A taste of it
-------------

After install the ``webscaff`` command is available.

.. code-block:: bash

    ; We rollout project skeleton using `makeapp`.
    $ makeapp new myproject -d "My webscaff project" -t webscaff /home/some/here

    ; Switch into project directory containing `wscaff.yml` which is used by webscaff.
    $ cd /home/some/here

    ; Get basic information about the remote.
    $ webscaff info

    ; Prepare the remote for you web application.
    $ webscaff run.initialize


Webscaff offers a number of useful command, among them:

.. code-block:: bash

    ; Rollout a new version of yor project from repository.
    $ webscaff rollout

    ; Make a backup and download to local directory.
    $ webscaff run.backup


More commands are available.

Detailed instructions could be found in the documentation.


Documentation
-------------

http://webscaff.readthedocs.org/