semvec/pypi-packages huggingface dataset:
canonical-phone 0.0.10
Library to get canonical phone number
License: MIT
Requires Python: >=3.6

# Canonical Phone
## Purpose
Convert given phone number into a string with hiphenated phone number with country code.
Default is assumed to be Indonesian number.

## Installation
```bash
pip install canonical-phone==0.0.10
```

## How to use?
### When country code is unknown
```python
from canonical_phone.phone import canonical_number
phone_no = canonical_number(phone) # If invalid, returns False
if not phone_no:
    raise Exception("invalid phone number")
```
### With country code
```python
from canonical_phone.phone import canonical_number
phone_no = canonical_number(phone, has_country_code=True) # If invalid, returns False
if not phone_no:
    raise Exception("invalid phone number")
```
## Input/Output Combinations
```python
    [
        {
            "input": "62-8734878374",
            "output": "62-8734878374",
        },
        {
            "input": "628734878374",
            "output": "62-8734878374",
        },
        {
            "input": "8734878374",
            "output": "62-8734878374",
        },
        {
            "input": "84-8734878374",
            "output": "84-8734878374",
        },
        {
            "input": "91-8734878374",
            "output": "91-8734878374",
        },
        {
            "input": "848734878374",
            "output": "62-848734878374",
        },
        {
            "input": "848734878374",
            "output": "84-8734878374",
            "has_country_code": True,
        },
        {
            "input": "848734878374",
            "output": "62-848734878374",
            "has_country_code": False,
        },
        {
            "input": "91848734878374",
            "output": "91-848734878374",
            "has_country_code": True,
        }
    ]
```

## Important Notes
* Supports only upto five digit country codes as of now
* Mobile number max length supported is 8-15 characters without country code
* Please add any test cases you want to add to the input output list and create a PR

# Releasing Versions Guide
* http://anweshadas.in/how-to-upload-a-package-in-pypi-using-twine/
minos-auth 0.2.0
Minos Boilerplate contains all the boilerplate you need to create a Minos Python package.
License: MIT
Requires Python: >=3.9,<4.0
Keywords: clariteia,minos,microservice,auth

# Minos Auth

[![codecov](https://codecov.io/gh/Clariteia/minos_auth/branch/main/graph/badge.svg)](https://codecov.io/gh/Clariteia/minos_auth)
![Tests](https://github.com/Clariteia/minos_auth/actions/workflows/python-tests.yml/badge.svg)

Minos is a framework which helps you create [reactive](https://www.reactivemanifesto.org/) microservices in Python.
Internally, it leverages Event Sourcing, CQRS and a message driven architecture to fulfil the commitments of an
asynchronous environment.

## Documentation

The official documentation as well as the API you can find it under https://clariteia.github.io/minos_auth/. 
Please, submit any issue regarding documentation as well!

## Set up a development environment

Minos uses `poetry` as its default package manager. Please refer to the
[Poetry installation guide](https://python-poetry.org/docs/#installation) for instructions on how to install it.

Now you con install all the dependencies by running
```bash
make install
```

In order to make the pre-commits checks available to git, run
```bash
pre-commit install
```

Make yourself sure you are able to run the tests. Refer to the appropriate section in this guide.

## Run the tests

In order to run the tests, please make sure you have the [Docker Engine](https://docs.docker.com/engine/install/)
and [Docker Compose](https://docs.docker.com/compose/install/) installed.

Move into `tests/` directory

```bash
cd tests/
```
Run service dependencies:

```bash
docker-compose up -d
```

Install library dependencies:

```bash
make install
```

Run tests:

```bash
make test
```

## How to contribute

Minos being an open-source project, we are looking forward to having your contributions. No matter whether it is a pull
request with new features, or the creation of an issue related to a bug you have found.

Please consider these guidelines before you submit any modification.

### Create an issue

1. If you happen to find a bug, please file a new issue filling the 'Bug report' template.
2. Set the appropriate labels, so we can categorise it easily.
3. Wait for any core developer's feedback on it.

### Submit a Pull Request

1. Create an issue following the previous steps.
2. Fork the project.
3. Push your changes to a local branch.
4. Run the tests!
5. Submit a pull request from your fork's branch.

## Credits

This package was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and the [Minos Package](https://github.com/Clariteia/minos-pypackage) project template.
django-mp-callback 1.0.0
Django callback app
License: MIT

# MP-callback

Django callback app.

### Installation

Install with pip:

```
pip install django-mp-callback
```

Add `callback` to `INSTALLED_APPS`

Add js script `callback/modal.js`

Add url `path('callback/', include('callback.urls')),`

Add script `new CallbackModal('{% url 'callback:modal' %}');`

Add admin item `ChildItem(model='callback.callback')`

### Requirements

App require this packages:

* django-recaptcha
* django-widget-tweaks