semvec/pypi-packages huggingface dataset:
sc-mysqlhelper 0.1.4
A helper for MySQL using python language
License: MIT
Requires Python: >=3.6
Keywords: mysql helper connection pool python

.. image:: https://badge.fury.io/py/sc-mysqlhelper.svg
    :target: https://badge.fury.io/py/sc-mysqlhelper
.. image:: https://img.shields.io/pypi/pyversions/sc-mysqlhelper
    :alt: PyPI - Python Version

MySQL helper for Python
========================================

A helper for working with mysql written in python, with
connection-pooling feature


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

It is possible to install the tool with `pip`::

    pip install sc-mysqlhelper

Features
--------

* Connection pooling


Configuration
-------------

The script itself is currently configuration free.


Dependencies
------------

* PyMySQL 1.0.2
* DBUtils 2.0


Usage
-------
Sample usage::

    from mysqlhelper import MySQLHelper

    helper = MySQLHelper(host="localhost", port=3306, user="test", password="test", database="test")
    rs = helper.select_one(sql="select count(*) from users")
    print(rs[0])

License
-------

The script is released under the MIT License.  The MIT License is registered
with and approved by the Open Source Initiative [1]_.

.. [1] https://opensource.org/licenses/MIT
i18npy 1.0.0
Internationalization library. Python implementation of roddeh/i18njs
License: MIT
Requires Python: >=3.6,<4.0
Keywords: i18n,i18npy,internationalization,translate,translation,translating

# i18npy

[![PyPI](https://img.shields.io/pypi/v/i18npy)](https://pypi.org/project/i18npy/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/i18npy)](https://github.com/marverix/i18npy/actions/workflows/tests.yml)
[![Codecov](https://img.shields.io/codecov/c/gh/marverix/i18npy?token=NPX0JP4458)](https://app.codecov.io/gh/marverix/i18npy)
[![GitHub](https://img.shields.io/github/license/marverix/i18npy)](https://tldrlegal.com/license/mit-license)

This is Python implementation of [roddeh/i18njs](https://github.com/roddeh/i18njs) (http://i18njs.com/).
It's fully compatible with it's  JSON dictionaries syntax.

## Usage

### Installation

```sh
pip install i18npy
```

### Samples

#### With external dictionary and global i18n instance

pl.json

```json
{
  "values": {
    "Hello World": "Witaj świecie",
    "I have %n cookies": [
      [null, null, "Nie ma rączek, nie ma ciasteczek"],
      [0, 0, "Nie mam ciasteczek"],
      [1, 1, "Mam jedno ciasteczko"],
      [2, 4, "Mam %n ciasteczka"],
      [5, null, "Mam %n ciasteczek"]
    ]
  }
}

```

code

```python
from i18npy import i18n, i18n_load

i18n_load("./pl.json")

i18n("Hello World")
# Witaj świecie

KEY = "I have %n cookies"
i18n(KEY, None)
# Nie ma rączek, nie ma ciasteczek

i18n(KEY, 0)
# Nie mam ciasteczek

i18n(KEY, 1)
# Mam jedno ciasteczko

i18n(KEY, 3)
# Mam 3 ciasteczka

i18n(KEY, 5)
# Mam 5 ciasteczek
```

#### Create translator instances

```python
import i18npy

lang_pl = i18npy.create({
  "values": {
    "Hello World": "Witaj świecie",
    "I have %n cookies": [
      [None, None, "Nie ma rączek, nie ma ciasteczek"],
      [0, 0, "Nie mam ciasteczek"],
      [1, 1, "Mam jedno ciasteczko"],
      [2, 4, "Mam %n ciasteczka"],
      [5, None, "Mam %n ciasteczek"]
    ]
  }
})

lang_pl.translate("Hello World")
# Witaj świecie

lang_pl.translate("I have %n cookies", 3)
# Mam 3 ciasteczka
```

## Word of appreciation 

The original i18njs library ha been written by [roddeh](https://github.com/roddeh/).
The library code is based on his code, which is also licensed by MIT.

## License

This project is licensed under MIT License - see the [LICENSE](LICENSE) file for details.
CCashPythonClient 1.0.0
A web-client to query CCash servers, providing ease of development.
License: MIT

# CCashPythonClient
A Python client for CCash servers. \
Uses the requests lib to communicate with a remote server. \
Implements python Exception based errors rather than numbers, and
returns JSON data as dictionaries.

## CCash
CCash repository and set-up information can be found
[here](https://GitHub.com/EntireTwix/CCash).

## Documentation
This project has very simple functions and is not large. Thus, no
external documentation is provided. However, each class and function
has its information written in markdown format beneath the
definition.

## Setup
Assuming `pip` is installed, run the following command in a
terminal:  
`python3 -m pip install CCashPythonClient`

You may then import the server class as follows:  
`from CCashPythonClient import * as CCash`