semvec/pypi-packages huggingface dataset:
textify-docs 1.0.1
A package to convert various document types to plain text.
Requires Python: >=3.6

# Document Converter

**Document Converter** is a Python package designed to convert various document types (such as PDF, DOCX, and images) into plain text. This package supports preprocessing of images to enhance OCR (Optical Character Recognition) results and can handle multiple file types without needing to specify the document type manually.

## Features

- Convert PDFs, DOCX, and images to plain text.
- Image preprocessing using OpenCV functions like grayscale conversion, blurring, thresholding, and edge detection.
- Automatic selection of the appropriate converter based on the document type.
- Easy to use with a single method to convert documents.

## Installation

You can install the package via pip:

```bash
pip install document-converter
```

you also need to install some system dependencies:

### On Linux

```bash
sudo apt-get install -y poppler-utils
sudo apt-get install -y tesseract-ocr
```

### On Windows

1. **Poppler**: 
   - Download the latest Poppler binaries from [Poppler for Windows](http://blog.alivate.com.au/poppler-windows/).
   - Extract the contents and add the `bin` folder to your system's PATH environment variable.

2. **Tesseract**:
   - Download the latest Tesseract installer from [Tesseract at UB Mannheim](https://github.com/UB-Mannheim/tesseract/wiki).
   - Run the installer and follow the prompts.
   - Make sure to add Tesseract to your system's PATH during installation.

### On macOS

```bash
brew install poppler
brew install tesseract
```
fastapi-quickstart-genesis 0.1.3
A quick start tool for FastAPI projects
Requires Python: >=3.7

# FastAPI QuickStart

FastAPI QuickStart is a tool to quickly set up a basic structure for a FastAPI application.

## Installation

```
pip install fastapi-quickstart-genesis
```

## Usage

To create a new FastAPI project structure:

```
python -m fastapi_quickstart my_app
```

This will create a new directory `my_app` with a basic FastAPI application structure.

## Project Structure

The generated project will have the following structure:

```
my_app/
├── app/
│   ├── main.py
│   └── models.py
├── tests/
└── requirements.txt
```

## Development

To set up the development environment:

1. Clone the repository
2. Create a virtual environment: `python -m venv venv`
3. Activate the virtual environment `cd venv\Scripts\activate`
4. Install development dependencies: `pip install -r requirements.txt`
5. Install the package in editable mode: `pip install -e .`

## License

This project is licensed under the MIT License.

## Build wheel

1. First, let's install the necessary tools: `pip install setuptools wheel twine`
2. Now, let's try building the distribution files again: `python setup.py sdist bdist_wheel`
3. Before uploading to PyPI, it's a good practice to check your package: `twine check dist/*`
4. If everything looks good, you can upload to PyPI: `twine upload dist/*`

You'll be prompted for your PyPI username and password. If you haven't registered on PyPI yet, you'll need to do that first at https://pypi.org/account/register/

5. After uploading, you can install your package using pip: `pip install fastapi-quickstart-genesis`