semvec/pypi-packages huggingface dataset:
fs-pochta-api 1.2.1
Библиотека для работы с API Почты России
License: MIT
Requires Python: >=3.6.0
Keywords: pochta,api,wrapper,fs-pochta-api,sdk,integration,fogstream,lib


fs-pochta-api
==========

[![PyPI Version](https://img.shields.io/pypi/v/fs-pochta-api.svg)](https://pypi.python.org/pypi/fs-pochta-api)

Описание
------------
Библиотека для работы с API [Почты России](https://www.pochta.ru/support/business/api).

Документация
------------
[Ссылка](https://fogstream.github.io/fs-pochta-api/) на документацию библиотеки.

Установка библиотеки
------------
Для работы требуется Python 3.6+
Для установки используйте [pipenv](http://pipenv.org/) (или pip):

```bash
$ pipenv install fs-pochta-api
$ pip install fs-pochta-api
```

Реализованные методы API
-----------
1. Трекинг (Модуль `pochta.tracking`)
    * [x] Единичный доступ
    * [x] Пакетный доступ 
2. Доставка (Модуль `pochta.delivery`)
    * [x] Заказы
    * [x] Партии
    * [x] Документы
    * [x] Архив
    * [x] Поиск ОПС
    * [x] Долгосрочное хранение
    * [x] Настройки
    * [x] Данные
bookify 1.1.1
Transform pdf files into books for double-sided printing
License: MIT
Requires Python: >=3.7,<4.0

# Bookify
> Transform pdf files into books for double-sided printing

## Preparing the book: Layout
1. Use Calibre to convert the book to .docx format
2. Modify the resulting docx, applying the following changes:
	- Add title page + empty page (usually the second page is empty)
	- Maybe add extra pages such as index or dedication
	- Add page numbering (make sure to make it start only after the special pages such as index/dedication)
	- Make sure that every new chaper is in an odd page (this is to make it so that the first page of every chaper appears on the left)
	- Make the total number of pages a multiple of 4 (if it's not, empty pages will be added at the end to pad it)
	- It's recommended to set the size of the document to A5 and use generous margins
3. Export the document into a pdf (we will refer to this pdf as `formatted.pdf`)

**Note**: You can use [this docx](https://raw.githubusercontent.com/corollari/bookify/master/book.docx) as a template and/or example of the book layout described.

## Build book
### Install pdfjam
```
sudo apt-get install pdfjam # Ubuntu
sudo dnf install texlive-pdfjam-bin # Fedora
```

### Build
```
pip install bookify
bookify formatted.pdf 20
```
**Usage**: First argument (`formatted.pdf`) is the name of the pdf and second argument (`20`) is the signature size, that is, the number of pages per booklet

## Extra: Getting books from wattpad
```
pip install FanFicFare
fanficfare https://www.wattpad.com/story/9999999-story-title
```
Use URLs like:
 * https://www.wattpad.com/story/9999999-story-title
 * https://www.wattpad.com/story/9999999
 * https://www.wattpad.com/9999999-chapter-is-ok-too