semvec/pypi-packages huggingface dataset:
matt-dj-registry 0.2.5
A simple, easy access key-value registry for Django.
License: MIT
Requires Python: >=3.6,<4.0

# DJ-Registry
This is a simple, easy access key-value registry for Django. Sometimes you would like to have some flexibility in your settings.
Putting your settings in `settings.py` or as environment variables also mean an engineer familiar with code or command line is required to alter them.

This Django app leverage the built-in Django admin so changing settings is easier as you can use the web interface.

## Requirements
* Python = "^3.6"
* Django = "^3"

Run the following command inside project's root folder to install it's dependencies with Poetry:

```
$ poetry install
```
You can specify to the command that you do not want the development dependencies installed by passing the `--no-dev` option.

If you have not yet installed Poetry, please refer to their [official documentation](https://python-poetry.org/docs/#installation).

## Installation

Install DJ-Registry with your favorite Python package manager:

```
(venv)$ pip install dj_registry
```

Add `registry` to your `INSTALLED_APPS` settings:

```py
INSTALLED_APPS = [
    # other apps...

    'registry',
]
```

Migrate the database

```
(venv)$ ./manage.py migrate
```

Then, we're all set!

## Usage

Log in to the admin, and create some keys under the **Django Registry** > **Entries** section. Let's say, we create `mailgun.key` and `mailgun.domain` with the corresponding `string` type and values.
We then create another entry with `game.max_score` as the key, `10000` as the value and `integer` as the type.

The following example shows you how to access them in code:

```py
from registry.helper import reg

key = reg['mailgun.key']            # the key that you set
domain = reg['mailgun.domain']      # the domain that you set

max_score = reg['game.max_score']   # 10000, it is returned as an int
```

You can also use `get` if you want to have a default and avoid exceptions if the key is not available (not enabled or does not exist)

```py
reg.get('game.levels', 10)          # return 10 if key not found or disabled
reg['game.levels']                  # KeyError if key not found or disabled
```

You can set or delete entry if you want
```py
reg['game.levels'] = 12             # Set game.levels to 12 (integer) and save
del reg['game.levels']              # Delete game.levels
```

## Enabled and comment field
If you want to disable a key, just toggle the `enabled` boolean in the admin interface. It would be treated as if the key didn't exist. This is something meant to be used in the admin interface.
If you want to manipulate this in the code, you will have to access the raw model like the following:

```py
from registry.models import Entry

e = Entry.objects.get('game.levels')
e.enabled = False
e.save()
```

The comment field is also meant to be used in the admin interface. It is a convenient cell for user to put comments regarding to the settings, something like the following:

```
50: average use case.
9999: maximum special case
```

## Types
`integer`, `float`, `string`, and `boolean` are the supported types for now.
hashily 0.0.6
A module that allows you to encode and decode text in numerous ciphers.
License: MIT
Keywords: encryption,utils,encode,ciphers,decode

<p align = "center"><img width="750" height="250" src="https://i.imgur.com/1uVjG7d.png"></p>
<p align = "center"><a href = "https://discord.gg/NzR8CgvVwd" target = "_blank"><img src = "https://discord.com/api/guilds/896273743318491157/embed.png"></a></p>

# hashily 0.0.6
![MIT License](https://img.shields.io/apm/l/atomic-design-ui.svg?) [![Downloads](https://static.pepy.tech/personalized-badge/hashily?period=month&units=international_system&left_color=blue&right_color=green&left_text=Downloads)](https://pepy.tech/project/hashily)

hashily is a python module that performs a variety of text decoding and encoding functions. It also various functions for encrypting and decrypting text using various ciphers.

**PyPi:** https://pypi.org/project/hashily

**Docs:** https://hashily.readthedocs.io/en/latest

## `0` Updates
- Added new functions: `pigLatin`
- Change `Integer` class's name to `ASCII`
- Bug Fixes



## `1` Installation 
You may use pip or a similar tool to install latest versions of hashily from the PyPi. To Install the Module - 

- Install the Stable Version: 
```cmd
# Linux/macOS
python3 -m pip install -U hashily

# Windows
py -3 -m pip install -U hashily
```
- Install the Beta Version:
```cmd
pip install git+https://github.com/MystYT-21/hashily.git
```
## `2` Usage 
To import the Module, you can do like this - 
```py
>>> import hashily
```
### `2.1` Examples
```py
>>> import hashily

# Use the .encode() function to Encode the Text
>>> print(hashily.Caesar.encode("Hey"))
'Khb'

# Use the .decode() function to Decode the Text
>>> print(hashily.Caesar.decode("Khb, Krz duh brx?"))
'Hey, How are you?'

>>> print(hashily.Octal.encode("Good! You?")) 
'107 157 157 144 41 40 131 157 165 77'

>>> print(hashily.Octal.decode("111 40 141 155 40 147 157 157 144 40 164 157 157 40 72 51")) 
'I am good too :)'
```


## `3` Available Functions

The following functions are currently available:

| **Ciphers** | **Encoding** | **Transform**|
| :--------   | :----------- | :----------- |
| ROT13       | Binary       | reverse      |
| AtBash      | Hexadecimal  | titlelize    |
| Bacon       | Octal        | password     |
| A1Z26       | ASCII        | token        |
| Caesar      | UrlEncoding  | altCase      |
| MorseCode   | UnicodePoint | firstLetter  |
| -           | Base32       | pigLatin     |


## `4` Feedback

If you have any feedback, please reach out to us at our [Discord](https://discord.gg/NzR8CgvVwd)

## Show some love to these guys!
A special thanks to them; they helped me a lot throughout this entire project.

- [Co-Dev] [oliii](https://github.com/oliiiiiiiiiiiii)
- [Co-Dev] [Thuliumitation](https://github.com/Thuliumitation)


And if you are still reading this, I hope you have a wonderful day.
backport 0.3.1
Backport various Python libraries (e.g. typing, types, dataclasses)) to old Python versions
License: MIT
Requires Python: >=3.8,<4.0

# backport

> Backport various Python libraries (e.g. typing, types, dataclasses) to old Python versions

WARNING: This repo is in development. It was automatically generated with [mkpylib](https://github.com/shawwn/scrap/blob/master/mkpylib). If you're reading this message, it means that I use this repo for my own purposes right now. It might not do anything at all; the default functionality is `print('TODO')`.

If you really want to try it out, feel free. I recommend reading through the code and commit history to see if it does what you need, or [ask me](#contact) for status updates.

Stay tuned!

## Install

```
python3 -m pip install -U backport
```

## Usage

```py
import backport

print('TODO')
```

## License

MIT

## Contact

A library by [Shawn Presser](https://www.shawwn.com). If you found it useful, please consider [joining my patreon](https://www.patreon.com/shawwn)!

My Twitter DMs are always open; you should [send me one](https://twitter.com/theshawwn)! It's the best way to reach me, and I'm always happy to hear from you.

- Twitter: [@theshawwn](https://twitter.com/theshawwn)
- Patreon: [https://www.patreon.com/shawwn](https://www.patreon.com/shawwn)
- HN: [sillysaurusx](https://news.ycombinator.com/threads?id=sillysaurusx)
- Website: [shawwn.com](https://www.shawwn.com)