semvec/pypi-packages huggingface dataset:
crdf-serializer 0.0.1
Some decorators responsible for preparing and serializing RDF files.

# Custom RDF Serializer Package - CRDF

## 1. Requirements 
This module requires the rdflib package installation:
> $ pip install rdflib

## 2. How to Install
For install this package execute the command in your environment:
> $ pip install crdf-serializer

or:
> $ pip install -i https://test.pypi.org/simple/ crdf-serializer


## 3. How to use

```python
class Person:
    nick = FOAF.nick
    name = FOAF.name
    email = FOAF.mbox

    @ObjectDecorator(FOAF.Person, None) # blank node
    @BindDecorator("dc", DC)
    @BindDecorator("foaf", FOAF)
    def __init__ (self, name, nick, email):
        self.nick = Literal(nick, lang="foo")
        self.name = Literal (name)
        self.email = URIRef(email) 

p = Person ("Donna Fales","donna", "mailto:donna@example.org")
```
minipush 0.0.13
A package to minimize your scripts and stylesheets

# Minipush by Rémi "Mr e-RL" LANGDORPH
## Copyright (c) 2019 Rémi LANGDORPH - mrerl@warlegend.net (under MIT license)

## Links:
#### [pypi project](https://pypi.org/project/minipush/)
#### [github repo](https://github.com/merlleu/minipush)

## Install with pypi:
```
pip install minipush
```

### This package supports the followings filetypes: css, js

# Sample config:
```json
{
    "origin": {"folders":["css/", "js/core/", "js/plugins/", "js/"]},
    "destination": {"folder": "../templates/", "exts": ["htm", "html"], "type": "embed", "basefolderlink": "/static/"},
    "anchors": {"js": {"start": "<!--AutomatedJSExport-Start-->",
                "end": "<!--AutomatedJSExport-End-->"},
                "css": {"start": "<!--AutomatedCSSExport-Start-->",
                        "end": "<!--AutomatedCSSExport-End-->"},
                "conf": {"start": "<!--AutomatedExport-Start->",
                        "end": "<-AutomatedExport-End-->"}
                },
    "format":{"embed":{"js": "<!--{filename}--><script>{content}</script>",
                       "css": "<!--{filename}--><style>{content}</style>"},
              "link":{"js": "<script src='{path}'/>",
                      "css": "<link href='{path}' rel='stylesheet'/>"}
            },
    "cache": {"folder": "../static/",
              "enabled": true}
}
```
# Basic example script ([github](https://github.com/merlleu/minipush/blob/master/test/test_basic.py)):
```python
from minipush import Minipush
Minipush(file="config.json").run()
```


# Command mode:
``` python -m minipush [arguments] ```
```
Arguments:
command      argument         description
-c --config  {configfile}     set the json config file to load
-j --json    '{configjson}'   set the config from json
-C --clear                    remove all the scripts from the templates
-h --help                     show help
-v --version                  show version
```
lowhaio-aws-sigv4 0.0.4
AWS Signature Version 4 signing for lowhaio
Requires Python: >=3.6.0

# lowhaio-aws-sigv4 [![CircleCI](https://circleci.com/gh/michalc/lowhaio-aws-sigv4.svg?style=svg)](https://circleci.com/gh/michalc/lowhaio-aws-sigv4)

AWS Signature Version 4 signing for lowhaio


## Installation

```bash
pip install lowhaio lowhaio_aws_sigv4
```


## Usage

The `request` function returned from `lowhaio.Pool` must be wrapped with `lowhaio_aws_sigv4.signed`, as in the below example.

```python
import os
from lowhaio import Pool
from lowhaio_aws_sigv4 import signed

request, _ = Pool()

# A coroutine that returns a tuple a tuple of access key id, secret access
# key, any other headers, such as x-amz-security-token
async def credentials():
    return os.environ['AWS_ACCESS_KEY_ID'], os.environ['AWS_SECRET_ACCESS_KEY'], ()

signed_request = request(
    request, credentials=credentials, service='s3', region='eu-west-1',
)

code, headers, body = await signed_request(b'GET', 'https://s3-eu-west-1.amazonaws.com/my-bucket/my-key')

async for chunk in body:
    print(chunk)
```
python-console-menu 1.1.0
A simple library to handle the menus for your python console applications.
Keywords: console menu,menu,console

# Python Console Menu
![license](https://img.shields.io/hexpm/l/plug.svg)

This library provides a way to quickly create the menu for your Python console app.

##  Overview

### Classes

#### AbstractMenu
This is the abstract class you need to extend in your menus.
Its constructor takes in a title which is displayed at the top of the menu. This should be called from your implementation's constructor. Like so:
```pythonstub
class MenuImplementation(AbstractMenu):
    def __init__(self):
        super().__init__("Menu Title")
```
##### Methods
- `initialise()` this needs overriding in your implementations and is where you add the items to the menu.
- `display()` this starts this menu. This only needs to be called on the root menu in your system, as all sub-menus are handled by this library.
- `add_menu_item(MenuItem(id, description, subMenu or action))` this adds an item to the menu. 
- `add_hidden_menu_item(new MenuItem(id, description, subMenu or action))` this is a helper method that adds a menu item, which is then hidden.
- `update_menu_items()` this can be overridden per menu to update items based on changes to your application, such as showing hidden menu items if they're now needed.
- `show_menu_item(id)` this can be used to show hidden menu items, most commonly in the method above. This uses the unique id given to the menu item.
- `hide_menu_item(id)` this can be used to hide menu items.

#### MenuItem
This is the class used to define items for the menus in your system. 
It has two constructors one for if the item is a sub menu and another for if its an action. 
These should be called like this: `MenuItem(id, description, subMenu or action)`
##### Methods
- `hide()` which is used on menu items, to hide them from the list.
- `show()` which is used on hidden menu items, to show them in the list.
- `set_as_exit_option()` which is used to set menu items as the exit option for a menu, either going to the parent menu, or exiting the application.

## Example
#### Menu initialisation
```pythonstub
mainMenu = MainMenu()
mainMenu.display()
```
#### Main Menu Class
```pythonstub
class MainMenu(AbstractMenu):
    def __init__(self):
        super().__init__("Welcome to the main menu")

    def initialise(self):
        self.add_menu_item(MenuItem(100, "Exit menu").set_as_exit_option())
        self.add_menu_item(MenuItem(101, "Print Hello World", lambda: print("Hello World!")))
```

#### Output
```text
Welcome to the main menu
0. Exit menu
1. Print Hello World
Select option: 1
Hello World!

Welcome to the main menu
0. Exit menu
1. Print Hello World
Select option: 0

Process finished with exit code 0
```

Look in demo/menu_demo.py for a better example implementation of the library.