semvec/pypi-packages huggingface dataset:
wikisource 0.0.12
A python package to search in books available on wikisource.org

# WikiSource

wikisource is a python package to help search the [Wikisource Books](https://wikisource.org/wiki/Main_Page)

It offers a few classes to help find sentences in a book, or in a book collection. 

For example, to search in a book for a specific string

```
from wikisource import WikiSource

book = WikiSource("https://fr.wikisource.org/wiki/Discours_de_la_m%C3%A9thode_(%C3%A9d._Cousin)"
book.search("bon sens")
```

To search in a collection of books, you can use: 

```
from wikisource import Collection, WikiSource

books = Collection([WikiSource("https://fr.wikisource.org/wiki/Discours_de_la_m%C3%A9thode_(%C3%A9d._Cousin)"),
                    WikiSource("https://fr.wikisource.org/wiki/Les_Confessions_(Rousseau)"),
                    WikiSource("https://fr.wikisource.org/wiki/L%E2%80%99Origine_de_la_Trag%C3%A9die")])

books.search("bon sens")
```


The first search takes longer due to the fact that every chapter of the book needs to be downloaded locally. The next searches are faster.
openai-image 1.0.5
Python script for generating image from text by Open AI
Requires Python: >=3.6
Keywords: openai image api open ai python

# openai_image
Python script for generating image from text by Open AI


<img src="https://igorman2005.github.io/images/openai-image.jpg" alt="openai_image">


**1. Install openai & openai-image**


```
pip install openai


pip install openai-image
```


**2. Recieve your OpenAI API KEY**

https://platform.openai.com/account/api-keys



**3. Settings**

```
API_KEY = 'your-secret-openai-api-key'

PIC_SIZE = '256x256'

IMAGES = ''

TARGET_TEXT = ''
```

PIC_SIZE options :'256x256', '512x512', '1024x1024'

IMAGES options: if IMAGES = '', script will use current folder. But you can set your own dir, for example: IMAGES = 'D:\Pictures'

TARGET_TEXT options: TARGET_TEXT = '', you will input your target text from keyboard. And you can set it in code, for example TARGET_TEXT = 'Alice in Wonderland'

**4. Use openai_image**

```
import openai_image
```

*Example1:*

```
import openai_image

API_KEY = 'your-secret-openai-api-key'

PIC_SIZE = '256x256'

IMAGES = ''

TARGET_TEXT = ''

openai_image.get_image(API_KEY, PIC_SIZE, IMAGES, TARGET_TEXT)

```
Prompt target text: **blue bird**

<img src="https://igorman2005.github.io/images/blue_bird.jpg" alt="openai_image blue bird">

Your image file ready: **blue_bird.png**



*Example2:*

```
from openai_image import *

API_KEY = 'your-secret-openai-api-key'

PIC_SIZE = '256x256'

IMAGES = 'D:\Pictures\'

TARGET_TEXT = 'Alice in Wonderland'

get_image(API_KEY, PIC_SIZE, IMAGES, TARGET_TEXT)


```

<img src="https://igorman2005.github.io/images/Alice_in_Wonderland.jpg" alt="openai image Alice in Wonderland">

Your image file ready: **D:\Pictures\Alice_in_Wonderland.png**


### Documentation

https://best-itpro.ru/news/openai_image/


That's All, Folks! 
;)
autopcickerPy 0.0.1
Simple autoclicker for python
Keywords: python,autoclicker


# Autoclicker

Simple autoclicker in python.

## How to use

Running the autoclicker for some time

```python
from Autoclicker_geo.autoclicker import Autoclicker
from pynput.mouse import Button

clicker = Autoclicker(delay=0.1, mouseButton=Button.left)

# Runs autoclicker for 1 second
clicker.run(1)
```

Starting and stoping the autoclicker

```python
from Autoclicker_geo.autoclicker import Autoclicker
from pynput.mouse import Button
import time

clicker = Autoclicker(delay=0.1, mouseButton=Button.left)

clicker.start()
 ... some code ...
clicker.stop()
```
autoclicker-geo 0.0.4
Simple autoclicker for python
Keywords: python,autoclicker


# Autoclicker

Simple autoclicker in python.

## How to use

Running the autoclicker for some time

```python
from Autoclicker_geo.autoclicker import Autoclicker
from pynput.mouse import Button

clicker = Autoclicker(delay=0.1, mouseButton=Button.left)

# Runs autoclicker for 1 second
clicker.run(1)
```

Starting and stoping the autoclicker

```python
from Autoclicker_geo.autoclicker import Autoclicker
from pynput.mouse import Button
import time

clicker = Autoclicker(delay=0.1, mouseButton=Button.left)

clicker.start()
 ... some code ...
clicker.stop()
```