semvec/pypi-packages huggingface dataset:
django-user-authentication 0.0.1
A Django app for user authentication
Requires Python: >=3.8

# Authentication
Authentication is a Django app to authenticate users.
#### `pip install django-user-authentication`

Quick start

### 1.	Add "authentication" to your INSTALLED_APPS setting like this:

        INSTALLED_APPS = [
		    ...
		    'authentication',
		]

### 2.	The App requires [bootstrap@5.3.1](https://getbootstrap.com/docs/5.1/getting-started/introduction/), [bootstrap-icons@1.8.1](https://icons.getbootstrap.com/) and [Django Sessions](https://docs.djangoproject.com/en/4.0/topics/http/sessions/#enabling-sessions)

### 3.	Include the authentication URLconf in your project urls.py like this:

		path('authentication/', include('authentication.urls')),

### 4.	Run `python manage.py migrate` to create the User models (you'll need the Admin app enabled).

### 5.  In your settings.py file include the following:

        SITE_TITLE = 'your site title'
        
        LOGIN_URL = '/authentication/'

        EMAIL_HOST = 'email-host'
        EMAIL_PORT = email-port
        EMAIL_HOST_USER = 'email-address'
        EMAIL_HOST_PASSWORD = 'email-password'
        EMAIL_USE_TLS = True

### 6.  Include these lines within the head tag of your [base template](https://docs.djangoproject.com/en/4.0/ref/templates/language/#template-inheritance-1) (optional)

        <link rel="stylesheet" href="{% static 'authentication/authentication.css' %}">
        <script src="{% static 'authentication/authentication.js' %}"></script>
        <script>
        	var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
            var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
                return new bootstrap.Tooltip(tooltipTriggerEl)
            })
        </script>

### 7.  Include this line within the body tag of your [base template](https://docs.djangoproject.com/en/4.0/ref/templates/language/#template-inheritance-1) (optional)
	
    	{% include 'authentication/modals.html' %}

### 8.  For login and logout functionality, use - 
- #### Login
            <a href="{% url 'authentication:login' %}">Login</a> or
		    <a href='/authentication/'>Login</a>
- #### The above functionality will redirect to the "next" parameter in the url after logging the user in.
- #### Logout
            <a href="{% url 'authentication:logout' %}">Logout</a> or
		    <a href="/authentication/logout/">Logout</a>
- #### The above functionality will redirect to the login page after logging the user out.

### 9.  If you have included all the lines mentioned in point 6 and 7, you can also use -
- #### Login via [Bootstrap Modal](https://getbootstrap.com/docs/5.1/components/modal/)
            <button data-bs-toggle="modal" data-bs-target="#loginModal">
                Login
            </button>
- #### The above functionality will display the bootstrap login form Modal and reload the current page after logging the user in.
- #### Logout using JS
            <a href="" onclick="logout(event);">Logout</a>
- #### The above functionality will reload the current page after logging the user out
kcf.tools 0.0.9
Library with CLI tools to help in development of Keboola Python components
Requires Python: >=3.7


This library contains CLI tools for generating documentation and config schemas 

 ### Links
 
 - PYPI project code: [https://pypi.org/project/kcf.tools/](https://pypi.org/project/kcf.tools/)

# Quick start
 
## Installation 
 
 The package may be installed via PIP:
 
 ```
pip install kcf.tools
```


## Functionality

There are many functions of this CLI tool. They are all explained in the subsections of this section. 
If you forget any, you can type 'kcf_help', this will print all possible options.

All generated files will go into the 'generated' directory


### Readme Generator
To generate a readme run the command 'generate_readme' 

The readme generator uses the component config to generate a readme file.

### Help Documentation Generator
To generate help documentation (for help.keboola.com) run the command 'generate_help' 

The help generator uses the component config to generate an index.md in the necessary directory.

### Generate Config Schema

To generate a config schema run the command 'generate_config_schema'

This will take the parameters in the config.json and create a config schema and config row schema
based on some questions answered with the cli tool.

### Key Definition Generator

To generate key definitions run the command 'generate_key_definitions'.

This will use the config.json file to generate all key definitions.

###  Client Generator

To generate a client run the command 'generate_client'.

This will generate a client based on an user inputted client name
pyeconomy 0.1.26
A simple to use economy module
Keywords: python,json,discord,discord-bot,cryptocurrency,economy


# py-economy
<a href="https://pypi.org/project/pyeconomy/0.1.26/"><img src="https://shields.io/pypi/v/pyeconomy.svg" alt="pypi_version" /></a>
<a href="https://pypi.org/project/pyeconomy/0.1.26/"><img src="https://img.shields.io/pypi/pyversions/pyeconomy.svg" alt="python_supported_versions" /></a>

A simple to use economy module.
WARNING: This project is in alpha release and may be unstable and buggy.
Developers: Konrad (@konradsic)
## Install
```pip install pyeconomy```
## Links
* [PyPi - Python Package Index](https://pypi.org/project/pyeconomy/0.1.26/)
## How it works
It is very simple:
* Everything is stored in `.json` files
* Discord async functions works same as normal, but it returns an embed object that you can send.
## Code example:
```py
import pyeconomy as economy
instance = economy.Economy(discord_mode=False)

user = instance.get_user_by_id(id="1234567890") # enter user id here
if user is None:
    print("User not found!")
else:
    print(f"{user.name}'s balance: {user.wallet}")
```
This easy example will create an economy instance (`economy.Economy`) set discord mode to `False`.
Then it searches for a user with id `1234567890`, checks if it exists and prints it's balance.
Please note, that its an pre-alpha relase and it does not support discord yet.