semvec/pypi-packages huggingface dataset:
uc-logging 0.0.2
A set of classes and functions that extend the log package.
Requires Python: >=3.4, <4

# uc_logging  
A set of classes and functions that extend the log package.  

It is part of the Unicon project.

https://unicon.10k.me

## Usage:

##### Install
```sh
pip install --user uc-logging
```
##### and use

```python
import uc_logging
```

## Functions:



## Classes:

**Formatter(default=logging.BASIC_FORMAT, formats=None)**

Multi formatter.
Adds the ability to format log messages based on their level.

Formats is a dict where key is a level and value it's a format.

**UnbufferedStreamHandler(stream)**

Unbuffered stream handler.

When multiprocessing queue is used (for example), standard output may stuck. Common flushing not working. Using -u option not guaranteed (it helps). So write directly.

## Example:

```python
import logging
import uc_logging

format_standard_a = "%(asctime)s [%(levelname)s] - %(message)s"
format_standard_d = "%(asctime)s [%(levelname)s] %(filename)s:%(lineno)d - %(message)s"

logger = logging.getLogger("formatter_test")
logger.handlers.clear()
logger.setLevel(logging.DEBUG)
# Set multi formatter
formatter = uc_logging.Formatter(default=format_standard_a, formats={logging.DEBUG: format_standard_d})
handler = logging.StreamHandler()
handler.setFormatter(formatter)
logger.addHandler(handler)

logger.info("TEST FORMATTER.")
logger.debug("TEST FORMATTER.")
```
simple-image-viewer 0.1.0
A simple image viewer for computer vision purposes.
Requires Python: >=2.7


# Simple Image Viewer
This python code provides a simple image viewer for the rgular image formats. This image viewer also supports non-standard floating point images which are widely used in computer vision including optical flow, disparity, and depth formats. 

***
# File Format Support
* png, jpg, ...:  &nbsp;&nbsp;   All regular images.
* flo: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Middleburry optical flow.
* dpt: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  Middleburry depth.
* pfm: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Freiburg floating point disparity.

***
# Python Package

You can also download and install the **Simple Image Viewer** as a python package by:
```
python -m pip install simple-image-viewer
```
Then you can simply import it in a python code and use it as follows:
```python
from simple_image_viewer import *
SimpleImageViewer().mainloop()
```

***
## Donation
If this project helps you to get your job done, you can give me a cup of coffee :) 

[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=VVZ72HZMRRM24&currency_code=USD&source=url)


***
_Copyright &copy; 2020 [Saeid Hosseinipoor](https://saeid-h.github.io/). Released under the [MIT License](LICENSE)._
os-command-py 1.1.0
os_command_py is a python library allowing a simplified use of the OS commands.


.. image:: https://readthedocs.org/projects/os-command-py/badge/?version=latest
   :target: https://os-command-py.readthedocs.io/en/latest/?badge=latest
   :alt: Documentation Status

.. image:: https://travis-ci.org/samuelmurail/os_command_py.svg?branch=master
   :target: https://travis-ci.org/samuelmurail/os_command_py

.. image:: https://codecov.io/gh/samuelmurail/os_command_py/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/samuelmurail/os_command_py

.. image:: https://badge.fury.io/py/os-command-py.svg
   :target: https://badge.fury.io/py/os-command-py

.. image:: https://img.shields.io/conda/vn/conda-forge/os_command_py.svg
   :target: https://anaconda.org/conda-forge/os_command_py


Os_Command_py
=======================================


Os_Command_py is a python library allowing a simplified use of the OS commands.

* Online Documentation:
   https://os-command-py.readthedocs.io/en/latest/

* Source code repository:
   https://github.com/samuelmurail/os_command_py

Main features:
---------------------------------------

* Basic OS operation
   - directory creation
   - change working path
   - delete files and directories

* Command simplied use with subprocess


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

Using Pypi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: bash

   pip3 install os_command_py


Using Conda
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: bash

   conda install os_command_py -c conda-forge 


From source code
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Get the os_command_py library from `github`_.

.. code-block:: bash

   git clone https://github.com/samuelmurail/os_command_py.git
   ./setup.py install --user

.. _github: https://github.com/samuelmurail/os_command_py


Author
---------------------------------------

* `Samuel Murail <https://samuelmurail.github.io/PersonalPage/>`_, Associate Professor - `Université Paris Diderot <https://www.univ-paris-diderot.fr>`_, `CMPLI <http://bfa.univ-paris-diderot.fr/equipe-8/>`_.

See also the list of `contributors <https://github.com/samuelmurail/os_command_py/contributors>`_ who participated in this project.

License
---------------------------------------

This project is licensed under the GNU General Public License v2.0 - see the ``LICENSE`` file for details.
sql-queries 0.1.2
Build simple SQL queries fast and clean
Requires Python: >=3.6

Are you finding yourself writing long strings to build up a SQL query in python
to communicate with your SQL database? Then **sql_queries** is what you are looking for.
This package provides you with tools to build simple SQL queries from the ground up,
without having to manually type out formatted spaghetti strings over and over again. 
With this module, you'll no longer need codeblocks like this to write your queries :

```python
field = 'x'
table = 'a'
cond = 10

query = 'SELECT {} FROM {} WHERE {} = {}'.format(field, table, field, cond)
```

And this is only a simple example. 
The **sql_queries** equivalent of the above looks like this:

```python
from sql_query import sql_select

query = sql_select('x', 'a')
query.where(attr='x', cond=10)
```

A simple *SELECT-FROM-WHERE* example has been demonstrated above with the **sql_select** object.
This object also supports *GROUP BY*, *HAVING*, *ORDER BY*, *LIMIT* and *JOIN* statements.
There is also the **sql_update** object, which supports *UPDATE*, *SET* and *WHERE* statements.
Review the documentation to get a better understanding of how to implement these statements.
For a quick demo you can also view to one minute demo's to get you started with this module.
These can be found on [youtube](https://www.youtube.com/playlist?list=PLI4WFrsrAg8sCeBj5xdJ6n79_3Yq3Sz23).

Convert a **sql_query** (sub)object to a string using the build-in str() function to get your 
SQL query as text. The result can be used directly in for example pandas' *pd.read_sql_query()*
or sqlalchemy's *engine.execute(text())* methods.

### Known limitations for this version:
* Exceptions haven't yet been properly implemented.
* The .join method can only be used in combination with loading plain field (e.g. using COUNT(FieldX) in the SELECT statement will result in an invalid query)
* The module has only been properly tested with a SQLite3 database.

### Tutorial video's
A series of one minute demo's to get started with this module can be found on [youtube](https://www.youtube.com/playlist?list=PLI4WFrsrAg8sCeBj5xdJ6n79_3Yq3Sz23).