semvec/pypi-packages huggingface dataset:
databasemodels 1.11.1
Python class decorator that creates a database representation of a class and vice versa, a lightweight ORM.
License: MIT
Requires Python: >=3.7, <4

# Database Models

Python class decorator that creates a database representation of a class and vice versa, a lightweight ORM.
`setup.py` provided for installation, uses psycopg 3 rather than 2 for the
better context manager support and type hinting.

## Recommended Import Setup
```python
import databasemodels as dbm
from databasemodels.datatypes import *
```

This allows you to use bare datatypes such as `INTEGER`, or complex datatypes
such as `PrimaryKey`.

## Features

All basic types and pseudo-types implemented are all capital, whereas type modifiers
and constructed types like enums are capital camel case.

Currently, implemented types/pseudo-types include:
```
EnumType
INTEGER
SERIAL
REAL
TEXT
TIMESTAMP
TIMESTAMP_WITH_TIMEZONE
DATE
TIME
BOOL
VARCHAR
CHAR
NUMERIC
```

Currently, implemented constraints include:
```
ForeignKey
PrimaryKey
Unique
NotNull
```

Models have a "mutate" context manager which allows you to modify the model safely while reverting the changes if an 
error is raised.

## Planned Features

 - Interval type
 - Additional SQL parameter to createTable
 - Full documentation across all the module
 - Implementation of all types listed [here](https://www.postgresql.org/docs/12/datatype.html).
 - Higher unittest coverage
 - Higher customizability with table creation and other database operations
pyOneFichierClient 1.0.4
The coolest (and probably only for now) API on PyPI for 1ficher API access
License: MIT
Keywords: 1FICHIER,API,CLIENT,FILEHOST

pyOneFichierClient
====================

This is a library designed for easy interaction with the `1fichier API`_

.. _1fichier API: https://1fichier.com/api.html

Usage
-------

If you're interested in how to use it in your own project you can have a look at `test_cli.py`_
which also functions as a nice executable module...

.. _test_cli.py: https://github.com/spookyahell/pyOneFichierClient/blob/master/pyOneFichierClient/test_cli.py

Oh cool! You found us on the Python Package Index (PyPI)! Loving this!  
To install with pip: 

    pip install pyOneFichierClient
	
Spread the word! On Twitter and all the other shitty places on this thing we like calling internet.

Just need to be in the parent dir of the entire project and run :code:`python -m pyOneFichierClient` and the interactive client will launch...

If you want to know what you can already do with this version of the API, you can also check out `API Endpoints in TODO.md`_

.. _API Endpoints in TODO.md: https://github.com/spookyahell/pyOneFichierClient/blob/master/TODO.md#api-endpoints

Recomendation
-----------------
Do not update on Friday - Sunday because that are times when I am mainly working on this...  
if you do beware there can be (not that it's planned) so called forced updates which could screw up your updating...  
I will try to leave a message in the README (right here) whenever I do not plan on working on the API and it's okay to update it...

Until Wednesday, January 3rd 2019 it's definetly NOT okay to update it because it will be updated quite a few times until then... after.. probably not so much for a while...
csip 1.1.17
CSIP client library
License: MIT

CSIP Client 

This library provides a simple, yet powerful API for communicating with CSIP Restful endpoints. It supports:

* Service exploration and population of default service payloads
* The creation of pipelines of cascading CSIP service calls representing complex workflows
* Synchronous and asynchronous service execution 
* Payload data upload and retrieval

(requires Python 3.6)
rustiql 0.0.14
Graphical SQL Editor for Pyrustic
License: MIT
Requires Python: >=3.5
Keywords: pyrustic,graphical-sql-editor,desktop-application,tkinter,lightweight,gui,application,sql,sqlite,database,app

<!-- Image -->
<div align="center">
    <img src="https://raw.githubusercontent.com/pyrustic/misc/master/media/rustiql-screenshot.png" alt="Alt">
    <br>
    <p align="center">
    Rustiql - built with Pyrustic
    </p>
</div>

<!-- Intro Text -->
# Rustiql
<b> Graphical SQLite editor </b>

This project is part of the [Pyrustic Ecosystem](https://pyrustic.github.io).


<div align="center">
    <img src="https://raw.githubusercontent.com/pyrustic/misc/master/media/rustiql.gif" alt="Figure" width="650">
    <p align="center">
    <b> Rustiql in action </b>
    </p>
</div>

`Rustiql` is built with [Pyrustic Framework](https://github.com/pyrustic/pyrustic) and its theme is based on [cyberpunk-theme](https://github.com/pyrustic/cyberpunk-theme).


## Installation

```bash
pip install rustiql
```
megawidget 0.0.6
Collection of megawidgets to build GUIs with Python
License: MIT
Requires Python: >=3.5
Keywords: megawidgets,tkinter,gui,collection,desktop-application,widget-collection,pyrustic,frontend

<!-- Image -->
<div align="center">
    <img src="https://raw.githubusercontent.com/pyrustic/misc/master/media/cyberpunk-cover.png" alt="Figure" width="970">
    <p align="center">
    <i> A mix of standard Tkinter widgets and megawidgets (theme used: <a href="https://github.com/pyrustic/cyberpunk-theme">cyberpunk-theme</a>) </i>
    </p>
</div>

<!-- Intro Text -->
# Megawidget
<b> A collection of useful widgets for your Tkinter Python apps </b>

This project is part of the [Pyrustic Open Ecosystem](https://pyrustic.github.io).

<!-- Quick Links -->
[Installation](#installation) | [Reference](https://github.com/pyrustic/megawidget/tree/master/docs/reference#readme)

## Overview
The `megawidgets` are extensively used in multiple projects:
- [Hubstore](https://github.com/pyrustic/hubstore): a desktop app to distribute, promote, discover, manage, install, and run Python apps.
- [Dresscode](https://github.com/pyrustic/dresscode): high-productivity framework to build desktop apps.
- [Jupitest](https://github.com/pyrustic/jupitest): graphical test runner.
- [Rustiql](https://github.com/pyrustic/rustiql): graphical SQLite editor.
- and more...

Read the [reference](https://github.com/pyrustic/megawidget/tree/master/docs/reference#readme) !

## Installation
```bash
pip install megawidget
```
litedao 0.0.7
Intuitive interaction with SQLite database
License: MIT
Requires Python: >=3.5
Keywords: library,sqlite,sql,dao,database-access,pyrustic,lightweight

**This project is deprecated since the class Database exists in the library [Shared](https://github.com/pyrustic/shared)**

<br><br>

<!-- Intro Text -->
# Litedao
<b> Intuitive interaction with SQLite database </b>

This project is part of the [Pyrustic Ecosystem](https://pyrustic.github.io).

[Installation](#installation) | [Reference](https://github.com/pyrustic/litedao/tree/master/docs/reference#readme) | [Shared](https://github.com/pyrustic/shared)


## Overview
Here is an example of an interaction with an SQL database:

```python
from litedao import Litedao


# Database path (if this file does not exist, it will be created)
DATABASE_PATH = "/home/alex/litedao_test.db"


# SQL code to initialize the database
INIT_SCRIPT = """\
CREATE TABLE friend (username TEXT PRIMARY KEY, email TEXT NOT NULL);
CREATE TABLE enemy (username TEXT PRIMARY KEY, email TEXT NOT NULL)"""


# Insertion SQL code
INSERTION_SQL = """\
INSERT INTO friend (username, email)
VALUES (?, ?), (?, ?)"""


# Selection SQL code
SELECTION_SQL = "SELECT * from friend"


def insert_data(litedao):
    # inserts data in the database then returns a boolean
    return litedao.edit(INSERTION_SQL, param=("alex", "alex@earth.invalid",
                                       "rustic", "rustic@earth.invalid"))


def select_data(litedao):
    # returns the selection
    return litedao.query(SELECTION_SQL)


# litedao instance
litedao = Litedao(DATABASE_PATH, init_script=INIT_SCRIPT)

# insert data if this database is newly created
if litedao.is_new:
    insert_data(litedao)


selection = select_data(litedao)
tables = litedao.tables()
columns = litedao.columns("friend")

litedao.close()  # if you forget to close Litedao, it will close itself at exit

print(selection)
# output: (['username', 'email'], [('alex', 'alex@earth.invalid'), ('rustic', 'rustic@earth.invalid')])

print(tables)
# output: ['friend', 'enemy']

print(columns)
# output: [(0, 'username', 'TEXT', 0, None, 1), (1, 'email', 'TEXT', 1, None, 0)]


```

Read the [reference](https://github.com/pyrustic/litedao/tree/master/docs/reference#readme) !

Do you need to store data collections with another simpler paradigm ? Check [Shared](https://github.com/pyrustic/shared) ! 

## Installation

```bash
pip install litedao
```
kurl 0.0.6
Konnection URL
License: MIT
Requires Python: >=3.5
Keywords: library,fetching-resources,api,json,url,pyrustic

<!-- Intro Text -->
# Kurl
<b> Konnection URL </b>

This project is part of the [Pyrustic Ecosystem](https://pyrustic.github.io).

<!-- Quick Links -->
[Installation](#installation) | [Reference](https://github.com/pyrustic/kurl/tree/master/docs/reference#readme)


`Kurl` is a library to fetch resources with an implementation of conditional request and a smart responses caching system. It is used by [Hubstore](https://github.com/pyrustic/hubstore) and more projects in the [Pyrustic Open Ecosystem](https://pyrustic.github.io).

This is a simple usage example:

```python
from kurl import Kurl


kurl = Kurl()
response = kurl.request("https://api.github.com/zen")

print(response.headers)
# output: [('Server', 'GitHub.com'), ...,  ('connection', 'close')]

print(response.body)
# output: b'Avoid administrative distraction.'

print(response.error_reason)
# output: None

print(response.json)
# output: None

```

Read the [reference](https://github.com/pyrustic/kurl/tree/master/docs/reference#readme) !

## Installation

```bash
pip install kurl
```
jupitest 0.0.14
Graphical Test Runner built with Pyrustic
License: MIT
Requires Python: >=3.5
Keywords: pyrustic,tool,gui,graphical-test-runner,desktop-application,tkinter,tests,test-runner,app

<!-- Image -->
<div align="center">
    <img src="https://raw.githubusercontent.com/pyrustic/misc/master/media/jupitest-screenshot.png" alt="Figure">
    <p align="center">
    Jupitest
    </p>
</div>

<!-- Intro Text -->
# Jupitest
<b> Graphical test runner built with Pyrustic Framework </b>

This project is part of the [Pyrustic Ecosystem](https://pyrustic.github.io).

<!-- Image -->
<div align="center">
    <img src="https://raw.githubusercontent.com/pyrustic/misc/master/media/jupitest.gif" alt="Figure" width="650">
    <p align="center">
    <b> Jupitest in action </b>
    </p>
</div>


`Jupitest` uses the dark theme [cyberpunk-theme](https://github.com/pyrustic/cyberpunk-theme) and the tk-compatible multithreading library [threadom](https://github.com/pyrustic/threadom).


## Installation
```bash
pip install jupitest
```
cyberpunk-theme 0.0.14
Dark theme for Python desktop apps
License: MIT
Requires Python: >=3.5
Keywords: theme,cyberpunk,dark-theme,tkstyle,tkinter,gui,beautiful,frontend,app,pyrustic,desktop-application

<!-- Image -->
<div align="center">
    <img src="https://raw.githubusercontent.com/pyrustic/misc/master/media/cyberpunk-cover.png" alt="Figure" width="970">
    <p align="center">
    <i> Cyberpunk theme made with TkStyle </i>
    </p>
</div>


<!-- Intro Text -->
# Cyberpunk-Theme
<b> A Dark Theme for your Tkinter Python apps </b>

This project is part of the [Pyrustic Open Ecosystem](https://pyrustic.github.io).

<!-- Quick Links -->
[Installation](#installation) | [Reference](https://github.com/pyrustic/cyberpunk-theme/tree/master/docs/reference#readme) | [TkStyle](https://github.com/pyrustic/tkstyle)


## Usage
Thanks to [TkStyle](https://github.com/pyrustic/tkstyle), the `cyberpunk-theme` is both flexible and easy to use.

### Set the theme

```python
import tkinter as tk
from cyberpunk_theme import Cyberpunk


# root
root = tk.Tk()

# apply the Cyberpunk theme to the GUI
cyberpunk_theme = Cyberpunk()
cyberpunk_theme.target(root)

# From now on, the theme applies to the entire GUI

# (your awesome code)
# ...

# mainloop
root.mainloop()


```

What if you want to customize the style of a specific widget ?

### Style a specific widget
Each generic widget has a default style which can be retrieved via a function named `get_{widget-name}_style_1'`.

Some generic widgets like the `Button` widget have multiple styles.

```python
import tkinter as tk
from cyberpunk_theme.widget.button import get_button_dark_style

# root
root = tk.Tk()

# button
button = tk.Button(root, text="Click")
button.pack()

# style
button_style_1 = get_button_dark_style()
button_style_1.target(button)

# mainloop
root.mainloop()
```
The generic `Button` widget has up to ten styles.

The package [megawidget](https://github.com/pyrustic/megawidget) contains a collection of useful custom widgets built with the standard tkinter widgets.

You can set specific styles to `megawidgets` too !

### Style a specific megawidget
```python
import tkinter as tk
from megawidget.table import Table
from cyberpunk_theme.megawidget.table import get_table_style_1

# root
root = tk.Tk()

# the table megawidget
titles = ("Name", "Age")
data = [("Jack", 39), ("Jane", 42)]
table = Table(root, titles=titles, data=data)
table.pack()

# style the table
table_style_1 = get_table_style_1()
table_style_1.target(table)

# mainloop
root.mainloop()
```

## Create your own theme
You can create your own theme or style, or modify the `cyberpunk-theme` as you wish.

Check out [TkStyle](https://github.com/pyrustic/tkstyle) !


## Installation
```bash
$ pip install cyberpunk-theme
```
webhook-actions 0.2.1
Webhook that runs scripts depending on the name
License: MIT
Requires Python: >=3.8

# Webhook Actions

[![python](https://img.shields.io/pypi/pyversions/webhook-actions.svg)](https://pypi.python.org/pypi/webhook-actions)
[![Latest PyPI version](https://img.shields.io/pypi/v/webhook-actions.svg)](https://pypi.python.org/pypi/webhook-actions)
[![Downloads](https://pepy.tech/badge/webhook-actions)](https://pepy.tech/project/webhook-actions?right_color=orange)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/Senth/webhook-actions.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Senth/webhook-actions/alerts/)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/Senth/webhook-actions.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Senth/webhook-actions/context:python)

Webhook that runs scripts located in `~/webhook-actions/` directory.

## How To Use

1. Add scripts into webhook-actions. These can be in sub-directories
1. Call the URL `http://localhost:5000/your-script-name`

### Simple example

- **URL:** `http://localhost:5000/log-stat`
- **Body:** something
- **Command:** `~/webhook-actions/log-stat something`

### Example with subdirectories

- **URL:** `https://YOUR_DOMAIM.com/git/your-project/deploy`
- **Body:** {"tag": "1.0.1"}
- **Command:** `~/webhook-actions/git/your-project/deploy "{\"tag\": \"1.0.1\"}"`

## Example config file

The config file is located at `~/.webhook-actions.cgf`.
When you run the script the first time it will create a default configuration.

```ini
[General]
# Port to listen to
Port = 5000
```

## Authors

- Matteus Magnusson, senth.wallace@gmail.com
blulib 0.1.2
Library for various projects
License: MIT
Requires Python: >=3.8

# blulib

[![python](https://img.shields.io/pypi/pyversions/blulib.svg)](https://pypi.python.org/pypi/blulib)
[![Latest PyPI version](https://img.shields.io/pypi/v/blulib.svg)](https://pypi.python.org/pypi/blulib)
[![Downloads](https://pepy.tech/badge/blulib)](https://pepy.tech/project/blulib?right_color=orange)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/Senth/blulib.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Senth/blulib/alerts/)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/Senth/blulib.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Senth/blulib/context:python)

Library for various projects

## Authors

- Matteus Magnusson, senth.wallace@gmail.com
prontonet-py 0.0.1
Python SDK library for Prontonet Family v2.5.4
License: MIT

prontonet-py
============

.. image:: https://badge.fury.io/py/prontonet.svg
    :target: https://badge.fury.io/py/prontonet

.. image:: https://img.shields.io/github/license/Naereen/StrapDown.js.svg
   :target: https://github.com/dgalus/prontonet-py/blob/master/LICENSE

.. image:: https://badgen.net/badge/Open%20Source%20%3F/Yes%21/blue?icon=github
   :target: https://github.com/dgalus/prontonet-py/

.. image:: https://img.shields.io/badge/Made%20with-Python-1f425f.svg
   :target: https://www.python.org/

| Python library for ProntoNet family SDK v2.5.4.

SDK documentation for C/C++ is available here: https://www.prodys.net/download/1231/.


Source Code
-----------
https://github.com/dgalus/prontonet-py

PyPI package
------------
https://pypi.org/project/prontonet/

Documentation
-------------
https://dgalus.github.io/prontonet-py/

Documentation can be also found in the `docs/` directory.

Installation
------------
    python -m pip install prontonet

Author
------
dgalus / avc <avcsec@protonmail.com>