semvec/pypi-packages huggingface dataset:
django-unumcharfield 0.3
Django Char Field using Unum.
License: MIT

# django-unumcharfield
Django Char Field using Unum

## Description
UnumCharField is a simple Django app to use Unum through a CharField.

## Install
Run the command in the terminal::

    pip install django-unumcharfield

## Quick start
1. Import in your models.py::

    from unumcharfield.models import UnumCharField

2. Use it as CharField.

## Test
1. If you would like to check if UnumCharField is working fine, add
UnumCharField demo application to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [
        ...
        'unumcharfield.demo',
    ]

2. Include the UnumCharField URLconf in your project urls.py like this::

    from django.urls import include
    ...
    path('unumcharfield/', include('unumcharfield.demo.urls')),

3. Run `python manage.py makemigrations demo` to create the unumcharfield models.

4. Run `python manage.py migrate` to create the unumcharfield models.

5. Start the development server and visit http://127.0.0.1:8000/admin/
   to create a unumcharfield (you'll need the Admin app enabled).

6. Visit http://127.0.0.1:8000/unumcharfield/ to check.
openai-summarizer 0.1.6
Summarize text using OpenAI.
License: MIT
Keywords: openai summarizer email text

# OpenAI Summarizer

Use the Completion engine from OpenAI to summarize text.

## Applications

- **Email Summarizer**: Summarize your emails in less than 50 words.
- ...

## Installation

```sh
pip install openai_summarizer
```

## Prerequisites

If you use Gmail, you do **NOT** need to use your gmail's password to share access of your mailbox with this client. 

For running the binary `email-summarizer` through CLI, you may be able to create an "app password" by following [these instructions](https://support.google.com/accounts/answer/185833?hl=en&ref_topic=7189145) and then using the generated token as your password.

**(WIP)**
For accessing the RESTful API, we'll have OAuth set up for most common email providers so that you don't have to share your email access credentials with this service.

## Usage

### Take inputs from stdin.
Pass the email password (or some IMAP access token) and api key through stdin.

```sh
email-summarizer --mailhost <some-imap-server> -u <some-gmail-email@gmail.com> --prompt-password --prompt-apikey
```

**Example**

```sh
email-summarizer --mailhost 'imap.gmail.com' -u user@gmail.com --prompt-password --prompt-apikey
```

### Take inputs from env variable.
Pass the email password (or some IMAP access token) and api key as an env variable.

```sh
OPENAI_API_KEY=<API_KEY> EMAIL_SUMMARIZER_MAIL_PASSWORD=<PASSWORD> email-summarizer --mailhost 'imap.gmail.com' -u user@gmail.com
```

**Example**

```sh
OPENAI_API_KEY="somesupersecretopenaiapikey" EMAIL_SUMMARIZER_MAIL_PASSWORD="passwordtoaccessemail" email-summarizer --mailhost 'imap.gmail.com' -u user@gmail.com
```