semvec/pypi-packages huggingface dataset:
spaste 0.0.3
The official client for spaste.io
Keywords: shell

Spaste
=========

The official client for `spaste.io <https://spaste.io>`__.

Installation
------------

It's recommended that you use Python 3.

You can install Spaste from
`PyPI <https://pypi.org/project/spaste/>`__:

.. code:: bash

    pip install spaste

Usage
-----

See the instructions on `spaste.io <https://spaste.io>`__ for more
information about Spaste. For more information on how to use the command
line tool itself, see the built-in help:

.. code:: bash

    spaste --help
Pytglib 0.4
Python library to help you build your own Telegram clients

# Python-Telegram

> Welcome to Python-Telegram!
> Python-Telegram is a python wrapper for tdlib, completely Object-Oriented and originally based on tdlib's suggested libs for python. 

# Installation

Installing the library is super easy. First, be sure to have Python3 installed in your server:
`apt install python3`

Then, simply execute the installation script:
`python3 setup.py install` 

And you're ready to go!

# A simple script

Here's a simple script that prints every update it receives from Telegram:

```
from pytglib.client import Telegram

# Change the values below
api_id = 7
api_hash = '123412341234123412341234'
phone_number = '+12312312312'
dbenc = '32_hexademical_chars'

# Initiate the client
client = Telegram(api_id=api_id, api_hash=api_hash, phone=phone_number, database_encryption_key=dbenc)

# Login to the client
client.login() 

# Define the handler function
def my_message_handler(update):
    print(update)

# Register it
client.add_message_handler(my_message_handler)

tg.idle()

# And you're ready to go!
```

For more complex scripts, go to the Examples section below:

# Documentation and examples

The documentation is not complete at the moment, but you can see some examples in `examples` tree. Of course, we're doing our best to finish the documentation as soon as possible. 
By the way, there's an auto generated documentation [here](https://pytelegram.readthedocs.io); It can help to find out about types and functions of the library.

# Bugs and questions

If there is any buys or questions about the library, feel free to contact any member of our team on Telegram:

[![https://telegram.me/Amir_H](https://img.shields.io/badge/��_Telegram-Amir_H-blue.svg)](https://telegram.me/Amir_H)
[![https://telegram.me/wsh25](https://img.shields.io/badge/��_Telegram-WebShark25-blue.svg)](https://telegram.me/wsh25)
pdf2textlib 1.0.4
A package to extract text from PDF
Requires Python: >=3.5

# pdf2textlib

## pip install pdf2textlib


[![PyPI Status](https://img.shields.io/pypi/v/pdf2textlib.svg)](https://pypi.org/project/pdf2textlib/)
[![Downloads](https://img.shields.io/pypi/dm/pdf2textlib.svg)](https://pypistats.org/packages/pdf2textlib)


Simple Multilingual PDF text extraction, Also extracts from images

```python
import pdf2textlib

print(pdf2textlib.getText("Demo.pdf","eng+tel+urd"))  
# parameter 1 : Path to the PDF file
# parameter 2 : string of language codes separated by '+' sign

```


## OS Dependencies

### Debian, Ubuntu, and friends

```
sudo apt-get install build-essential libpoppler-cpp-dev pkg-config python-dev
```

### Fedora, Red Hat, and friends

```
sudo yum install gcc-c++ pkgconfig poppler-cpp-devel python-devel redhat-rpm-config
```

### macOS

```
brew install pkg-config poppler
```

Conda users may also need `libgcc`:

```
conda install -c anaconda libgcc
```

### Windows

Currently tested only when using conda:

 - Install the Microsoft Visual C++ Build Tools
 - Install poppler through conda:
   ```
   conda install -c conda-forge poppler
   ```


## Install

```
pip install pdf2textlib
```