semvec/pypi-packages huggingface dataset:
visionapp 0.0.1
A Auto app for resnet training and yolo inference
Requires Python: >=3.6

# YoloWebapp
<h3>clone the repo by typing the command in cmd prompt</h3>

```commandline
git clone https://github.com/visionarchi/YoloWebapp.git
```

<h3>install requirements (torch, torchvision, yolopackages)</h3>

then change the directory in project root then type the command
```commandline
python webapp.py
```
you ll get a link just copy paste the link in the browser

app is openend!
pdftext-to-speech 1.1
A Python package for converting PDF and TXT files to audio
Requires Python: >=3.7

# Text To Speech

The TextToSpeech project is a Python-based application that enables users to convert PDF and TXT files into audio files in the WAV format. With this project, users can easily transform written text into spoken words, making it convenient for individuals who prefer listening over reading. The project utilizes the PyPDF2 library to extract text from PDF files and supports direct text input from TXT files. Users can specify the desired language and pass the text to a Text-to-Speech API, which generates the corresponding audio data. The final output is saved as an audio file in WAV format, providing a seamless experience for anyone looking to convert written content into an audio format.

## Installation

You can install TicTacToeEnhanced using pip:

```shell
pip install pdftext-to-speech
```
 
# Usage


```python
from textToSpeech.textToSpeech import Audio, AudioRequest, File

# you can use any other API, I am using text to speech from rapidapi
url = "https://text-to-speech27.p.rapidapi.com/speech"

# define your filename and working directory
# define working directory (the directory where the file resides). Keep empty to get the file from the same working directory
my_file = File('sample.pdf', working_dir='speeches')

# text response is a dict with the text inside txt
text = my_file.read_file()["txt"]

# make sure to define your language
# for a full list check languages.txt in the git repo
querystring = {"text":text,"lang":"en-us"}

# particular for this API. Use your own
headers = {
	"X-RapidAPI-Key": "YOUR API KEY",
	"X-RapidAPI-Host": "text-to-speech27.p.rapidapi.com"
}

audio_request = AudioRequest(url=url, querystring=querystring, headers=headers)
response = audio_request.request_audio_data()

# name your file what you want, my api return bytes convertable to wav
# you can change your output directory or keep it empty so the file is saved same as your working directory
audio = Audio(audio_filename="speech.wav", output_directory="speeches")

result = audio.save_audio_file(response)

print(result["message"])
```

# Enjoy :)

# Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request on [GitHub](https://github.com/danysrour/textToSpeech).

# License

This project is licensed under the [MIT License](https://raw.githubusercontent.com/danysrour/textToSpeech/master/LICENSE.txt)

```text

You can now copy this code and use it as your README.md file.
```
wikipediasummary 1.1.4
Utility package for fetching summaries of Wikipedia pages
Requires Python: >=3.7

# Wikipedia Summary

A small utility package I wrote for a side-project for fetching summaries of Wikipedia pages.

## Installation

You can install the package with:
```
pip install wikipediasummary
```

## Usage
```
from wikipedia_summary import WikipediaSummary
wiki = WikipediaSummary()
eindje = wiki.get_summary("Eindhoven")

>>> eindje.url
https://en.wikipedia.org/wiki/Eindhoven
>>> eindje.thumbnail_url
https://upload.wikimedia.org/wikipedia/commons/thumb/0/07/Lichttoren_Eindhoven_1_-_Cropped.jpg/320px-Lichttoren_Eindhoven_1_-_Cropped.jpg
>>> eindje.summary
Eindhoven is a city and municipality in the Netherlands, located in the southern province of North Brabant of which it is its largest. With a population of 238,326 on 1 January 2022, it is the fifth-largest city of the Netherlands and the largest outside the Randstad conurbation.
```