semvec/pypi-packages huggingface dataset:
unique-log-questions 0.19
A Django app for chatbot functionality.

# My Django Package

My Django Package is a web application for managing and querying documents using a chatbot interface. It supports multiple file formats, extracts text from documents, and uses an AI model to answer questions based on the content of uploaded documents.

## Features

- View and manage chat sessions

## Installation

### Prerequisites

- Python 3.11
- Django 3.2 or higher

### Steps

1. **Install the package:**

   ```bash
   pip install unique-log-questions
   ```

2. **Set up a virtual environment:**

   ```bash
   pip install virtualenv

   virtualenv env

   # On Windows
   .\env\Scripts\activate

   # On macOS/Linux
   source env/bin/activate
   ```

3. **Set up the Django project:**

   ```bash

   python manage.py makemigrations
   python manage.py migrate
   python manage.py createsuperuser
   python manage.py runserver
   ```

## Usage

## Usage

1. **Integrate the library in your code:**

   **settings.py:**

   Add `unique_log_question_app` to your `INSTALLED_APPS` list:

   ```python
   INSTALLED_APPS = [

       'unique_log_question_app',
   ]
   ```

**views.py:**

```python
from unique_log_question_app.views import display_log_questions  # for log questions
from unique_log_question_app.views import display_unique_questions  # for unique questions
from unique_log_question_app.views import delete_chat_session  # for delete unique questions
from unique_log_question_app.views import delete_log_question  # for delete log questions
from unique_log_question_app.views import edit_chat_session    # for edit chat sessions
from unique_log_question_app.views import edit_similar_question  # for edit similar questions
```

**urls.py:**

```python
from django.urls import path
from unique_log_question_app.views import display_unique_questions, display_log_questions,delete_log_question,delete_chat_session,edit_chat_session,edit_similar_question

urlpatterns = [
    path('unique_questions/', display_unique_questions, name='display_unique_questions'),
    path('log_questions/', display_log_questions, name='display_log_questions'),
    path('delete_unique/<int:session_id>/', delete_chat_session, name='delete_chat_session'),
    path('delete_log/<int:question_id>/', delete_log_question, name='qna_delete_log'),
    path('log_questions/', display_log_questions, name='display_log_answers'),
    path('edit_chat_session/<int:session_id>/', edit_chat_session, name='edit_chat_session'),
    path('edit_similar_question/<int:question_id>/', edit_similar_question, name='edit_similar_question'),
]
```
streamlit-antd-components-callback-fix 0.0.8
streamlit customer components of Antd Design and Mantine (this component implements latest callback fix from streamlit latest update 1.36.0 onwards)
Requires Python: >=3.8

# Streamlit-Antd-Components

### This is just a temporary package to fix the callback after streamlit's update to version 1.34.0. To view the original package, visit links below:

[![Open in Streamlit][share_badge]][share_link] 
[![GitHub][github_badge]][github_link] 
[![PyPI][pypi_badge]][pypi_link]
[![download][download_badge]][download_link]

### UPDATE (JUNE 2024)
Streamlit v 1.36.0 onwards now has in built `on_change` parameter for custom components.



[share_badge]: https://static.streamlit.io/badges/streamlit_badge_black_white.svg

[share_link]: https://nicedouble-streamlitantdcomponentsdemo-app-middmy.streamlit.app/

[github_badge]: https://badgen.net/badge/icon/GitHub?icon=github&color=black&label

[github_link]: https://github.com/nicedouble/StreamlitAntdComponents

[pypi_badge]: https://badgen.net/pypi/v/streamlit-antd-components

[pypi_link]: https://pypi.org/project/streamlit-antd-components/

[download_badge]: https://badgen.net/pypi/dm/streamlit-antd-components

[download_link]: https://pypi.org/project/streamlit-antd-components/#files 

[whl_file]: https://discuss.streamlit.io/t/callbacks-on-custom-components-dont-seem-to-be-working-in-latest-streamlit-update/68720/8?u=rushmore
calculate-lib 0.1
A simple library for basic arithmetic operations
Requires Python: >=3.6

# calculate-lib

A simple library to perform basic arithmetic operations: addition, subtraction, multiplication, and division.

## Installation

pip install calculate-lib


## Usage

```python
from calculate_lib import add, subtract, multiply, divide

print(add(3, 5))          # 8
print(subtract(10, 5))    # 5
print(multiply(4, 5))     # 20
print(divide(10, 2))      # 5.0


### 6. Táº¡o file setup.py
File nÃ y sáº½ chá»©a thÃ´ng tin Ä‘á»ƒ Ä‘Ã³ng gÃ³i vÃ  phÃ¡t hÃ nh thÆ° viá»‡n:

```python
# setup.py
k8kat 0.1.2
Sugar for Kubernetes
Requires Python: >=3.6


[![PyPI pyversions](https://img.shields.io/pypi/pyversions/k8kat.svg)](https://pypi.python.org/pypi/k8kat/)
[![PyPI version fury.io](https://badge.fury.io/py/k8kat.svg)](https://pypi.org/project/k8kat/)
[![Client Support Level](https://img.shields.io/badge/kubernetes%20client-alpha-green.svg?style=plastic&colorA=306CE8)](/contributors/design-proposals/api-machinery/csi-new-client-library-procedure.md#client-support-level)
[![codecov](https://codecov.io/gh/nectar-cs/k8kat/branch/master/graph/badge.svg)](https://codecov.io/gh/nectar-cs/k8kat)

## Development

### Environment Setup

During development, use symlinks to include this package instead of pipenv:
`cd /project/using/k8kat`
`ln -s $k8kat_path/k8kat`

### Building

https://packaging.python.org/tutorials/packaging-projects/
`python3 setup.py sdist bdist_wheel`
`python3 -m twine upload dist/*`
or 
`twine upload dist/*`

### Cluster Authentication

By default it works as kubectl - try to find kubeconfig and reads authentication data.

### Playing Around

`pipenv shell`

run examples from `examples/`:

`python examples/list_pod.py`

### Test Suite

Run unit-tests (no cluster required): 

`python3 -m unittest discover -v k8kat/tests`

Run e2e-test (you should be using an empty cluster):

`python3 -m unittest discover -v k8kat/e2e-tests`


### Formating, typing

Use Black to formate code

`black .`

To run type checker

`mypy k8kat examples/`