semvec/pypi-packages huggingface dataset:
comic-builder 0.0.42
Build e-book files from comic images
Requires Python: >=3.6
Keywords: comic,manga,manga-py,ebook,epub,mobi,kindle

# comic-builder

An auxiliary tool for [manga-py](https://github.com/manga-py/manga-py) to organize, merge and export the files in an
ebook format (EPUB or MOBI)

## Dependencies

- [Python 3.6](https://www.python.org/)
- [KCC](https://github.com/ciromattia/kcc) >> To convert the images in ebook format

### Optional dependencies

- KindleGen >> EPUB to MOBI conversion
    * Can be installed running the `kindlegen-installer` command after install the `comic-builder` pip package
    * Can also be found in [AUR](https://aur.archlinux.org/packages/kindlegen/)
      and [here](https://archive.org/details/kindlegen2.9) for manual installation

## Installation

```
pip install comic-builder
kindlegen-installer # to install KindleGen
```

## Modules

Today there are 4 modules in this repository

- `comic-builder` > Join the comic files into an ebook format
- `kindlegen-installer` > Install the KindleGen binary
- `comic-metadata-inject` > Inject metadata files into the chapters files with the same name
- `comic-metadata-eject` > Extract the chapter's metadata files

P.S. The commands `comic-metadata-inject` and `comic-metadata-eject` can be used together to edit some details in the
chapters metadata

## Suggested Workflow

For sites that support chapter and comic metadata (Ex. MangaDex)

```
manga-py --save-chapter-info --save-manga-info [-d|--destination] "COMIC_DOWNLOAD_PATH" [other-options...] URL
comic-builder [other-options...] "COMIC_DOWNLOAD_PATH/COMIC_NAME"
```

For other sites

* Create a metadata file based
  in [this file](https://github.com/eduhoribe/comic-builder/blob/goshujin-sama/samples/comic-metadata-sample.json)

```
manga-py [-d|--destination] "COMIC_DOWNLOAD_PATH" [other-options...] URL
comic-builder --metadata "METADATA_FILE" [other-options...] "COMIC_DOWNLOAD_PATH/COMIC_NAME"
```
timeout-decorator 0.5.0
Timeout decorator

Timeout decorator
=================

|Build Status| |Pypi Status| |Coveralls Status|

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

From source code:

::

    python setup.py install

From pypi:

::

    pip install timeout-decorator

Usage
-----

::

    import time
    import timeout_decorator

    @timeout_decorator.timeout(5)
    def mytest():
        print("Start")
        for i in range(1,10):
            time.sleep(1)
            print("{} seconds have passed".format(i))

    if __name__ == '__main__':
        mytest()

Specify an alternate exception to raise on timeout:

::

    import time
    import timeout_decorator

    @timeout_decorator.timeout(5, timeout_exception=StopIteration)
    def mytest():
        print("Start")
        for i in range(1,10):
            time.sleep(1)
            print("{} seconds have passed".format(i))

    if __name__ == '__main__':
        mytest()

Multithreading
--------------

By default, timeout-decorator uses signals to limit the execution time
of the given function. This appoach does not work if your function is
executed not in a main thread (for example if it's a worker thread of
the web application). There is alternative timeout strategy for this
case - by using multiprocessing. To use it, just pass
``use_signals=False`` to the timeout decorator function:

::

    import time
    import timeout_decorator

    @timeout_decorator.timeout(5, use_signals=False)
    def mytest():
        print "Start"
        for i in range(1,10):
            time.sleep(1)
            print("{} seconds have passed".format(i))

    if __name__ == '__main__':
        mytest()

.. warning::
    Make sure that in case of multiprocessing strategy for timeout, your function does not return objects which cannot
    be pickled, otherwise it will fail at marshalling it between master and child processes.


Acknowledgement
---------------

Derived from
http://www.saltycrane.com/blog/2010/04/using-python-timeout-decorator-uploading-s3/
and https://code.google.com/p/verse-quiz/source/browse/trunk/timeout.py

Contribute
----------

I would love for you to fork and send me pull request for this project.
Please contribute.

License
-------

This software is licensed under the `MIT license <http://en.wikipedia.org/wiki/MIT_License>`_

See `License file <https://github.com/pnpnpn/timeout-decorator/blob/master/LICENSE.txt>`_

.. |Build Status| image:: https://travis-ci.org/pnpnpn/timeout-decorator.svg?branch=master
   :target: https://travis-ci.org/pnpnpn/timeout-decorator
.. |Pypi Status| image:: https://badge.fury.io/py/timeout-decorator.svg
    :target: https://badge.fury.io/py/timeout-decorator
.. |Coveralls Status| image:: https://coveralls.io/repos/pnpnpn/timeout-decorator/badge.png?branch=master
    :target: https://coveralls.io/r/pnpnpn/timeout-decorator

Changelog
=========

0.3.1
-----
- Fixed issue with PicklingError causes the timeout to never be reached.

0.3.0
-----

- Added optional threading support via python multiprocessing (bubenkoff)
- Switched to pytest test runner (bubenkoff)


0.2.1
-----

- Initial public release
testing-123121321 1.0.5
an educational package for educational uses only

# Keno API - Unofficial Keno API

## What is it?
kenoAPI is Python package that provides data from the offical [Keno](https://www.keno.com.au/) website.

## Main Features
* Historical data.
* Monitor Draws in real time.
* Real-time Jackpot's.
* Monitor Current Patterns (Trends, Hot And Cold Numbers)

## Where to get it
```
pip install keno-api
```

## Dependencies
* [Requests](https://github.com/psf/requests)
* [Pandas](https://github.com/pandas-dev/pandas)
* [NumPy](https://github.com/numpy/numpy)
* Datetime

## License
[The Unlicense](https://github.com/JGolafshan/KenoAPI/blob/main/LICENSE)

## Documentation
[Wiki / Documentation](https://github.com/JGolafshan/KenoAPI/wiki)

## Background
dbhelpy 0.6.0
dbhelpy is an easy to use Python library that allows you to interact with your sqlite database using dbhelpy methods
Requires Python: >=3.8

# DBHELPY

dbhelpy is an easy to use Python library that allows you to interact with your sqlite database using dbhelpy methods

For more information check out the documentation [here](https://dbhelpy.readthedocs.io/en/main/index.html).
# Install
```python
pip install dbhelpy
```

# How to Start
```python
from dbhelpy.dbhelpy import Helpy

db = Helpy('database.db')
```
SQLAlchemy-Easy-Connection 0.0.2
Simple way to connect Database using SQLAlchemy.
Requires Python: >=3.6

# SQLAlchemy-Easy-Connection
Simple way to connect Database using SQLAlchemy.
## Project motivations
This repository makes use of trivial options in the creation of the database engine.
My intention is to facilitate the connection to the database using SQLAlchemy, distributing this package that I created and use many years ago, I intend over time to add standard options for each type of database, making only you worry about connecting to the database.


Suggestions, improvements and contact, I am available at email: 'marcus.paiva.ti@gmail.com'.

## How to install?
You can install using the following command:
```
pip install SQLAlchemy-Easy-Connection
```

## Simple usage example
```
from SQLAlchemyEasyConnection.EasyConnections import EasyConnection  # Using this package we use to connect into database
from SQLAlchemyEasyConnection import DatabaseTypes  # This file is easy way to get you SQL server name
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, Integer, String

db_connection = EasyConnection()  # Instance
db_connection.connect_to_database(type_database=DatabaseTypes.SQLITE,
                                  database="C:\\temp\\sqltest.db")  # Create Connection to database

# Using declarative base
Base = declarative_base()


# This class is a simple example to create using SQLAlchemy
class User(Base):
    __tablename__ = "user"

    id_user = Column(Integer, primary_key=True)
    name = Column(String)
    email = Column(String)


Base.metadata.create_all(db_connection.get_engine)  # Create table

# Creating a new user using ORM
user = User()
user.name = "foo"
user.email = "foo@bar.com"

# Add new User
db_connection.insert_item(user)
db_connection.session_commit()

print(user.id_user)  # see? This show new user ID after create a new user in table 'user'
```
SQLAlchemy-Easy-Connection-0.0.2 0.0.2
Simple way to connect Database using SQLAlchemy.
Requires Python: >=3.6

# SQLAlchemy-Easy-Connection
Simple way to connect Database using SQLAlchemy.
## Project motivations
This repository makes use of trivial options in the creation of the database engine.
My intention is to facilitate the connection to the database using SQLAlchemy, distributing this package that I created and use many years ago, I intend over time to add standard options for each type of database, making only you worry about connecting to the database.


Suggestions, improvements and contact, I am available at email: 'marcus.paiva.ti@gmail.com'.

## How to install?
You can install using the following command:
```
pip install SQLAlchemy-Easy-Connection
```

## Simple usage example
```
from SQLAlchemyEasyConnection.EasyConnections import EasyConnection  # Using this package we use to connect into database
from SQLAlchemyEasyConnection import DatabaseTypes  # This file is easy way to get you SQL server name
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, Integer, String

db_connection = EasyConnection()  # Instance
db_connection.connect_to_database(type_database=DatabaseTypes.SQLITE,
                                  database="C:\\temp\\sqltest.db")  # Create Connection to database

# Using declarative base
Base = declarative_base()


# This class is a simple example to create using SQLAlchemy
class User(Base):
    __tablename__ = "user"

    id_user = Column(Integer, primary_key=True)
    name = Column(String)
    email = Column(String)


Base.metadata.create_all(db_connection.get_engine)  # Create table

# Creating a new user using ORM
user = User()
user.name = "foo"
user.email = "foo@bar.com"

# Add new User
db_connection.insert_item(user)
db_connection.session_commit()

print(user.id_user)  # see? This show new user ID after create a new user in table 'user'
```