semvec/pypi-packages huggingface dataset:
gileum 0.2.2
Loader of configuration files written in Python.
Requires Python: >=3.7

# [gileum](https://jjj999.github.io/gileum/)

[![PyPI version](https://badge.fury.io/py/gileum.svg)](http://badge.fury.io/py/gileum)
[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://pypi.python.org/pypi/gileum/)

## Installing

- Python: >= 3.7

```
python -m pip install gileum
```

## Basic Usage

*gileum* is a loader of configuration scripts written in Python. On *gileum*, a configuration can be implemented as a subclass of **gileum.BaseGileum**. `gileum.BaseGileum` is a light-weight wrapper of **pydantic.BaseModel**, so you can easily implemented the subclass in almost same way as *pydantic*.

### Developer-side

In source code of something like web application, a developer can implement a gileum class as below, which will be the interface to launch the app:

```python
from typing import Literal
from gileum import BaseGileum

class SampleGileum(BaseGileum):
    app_name: str
    hostname: str
    port: int
    glm_name: Literal["main", "test"]
```

Note that all subclasses of `gileum.BaseGileum` must have the field `glm_name` whose type must be Literal of some strings. The field may be used as a flag and the developer may judge the flag to determine how the app should work.

After the implementaion is done, the developer can invoke `gileum.load_glms_at()` specifying path of a configuration file for users to create:

```python
from gileum import load_glms_at

load_glms_at(path_to_config)
```

Note that the default suffix of configuration files is `.glm.py`, e.g. `config.glm.py`. There is also another function named `gileum.load_glms_in()`, which loads all the configuration files in specified directory.

Fianlly, the developer can access to the `SampleGileum` objects loaded by calling `gileum.get_glm()` function:

```python
from gileum import get_glm

config_main = get_glm("main", SampleGileum)
config_test = get_glm("test", SampleGileum)

# Now you can access to the fields of the SampleGileum objects.
assert config_main.glm_name == "main"
assert config_test.glm_name == "test"
```

### User-side

A user of the app above needs to create a configuration file and generate two `SimpleGileum` objects. The location of the configuration file depends on apps the user uses. Now, let's assume that the name of the app package is *sample_app*, and in the app, the location is user's working directory. For example, the user can create a configuration file named `config.glm.py` and generate the `SimpleGileum` objects:

```python
# config.glm.py
from sample_app import SimpleGileum

gileum_main = SimpleGileum(
    app_name="sample_app",
    hostname="example.com",
    port=443,
    glm_name="main"
)

gileum_main = SimpleGileum(
    app_name="sample_app@test",
    hostname="localhost",
    port=8000,
    glm_name="test"
)
```

That's it!! Now what you have to do the next is just to execute the app. The way of it depends on the app.
prog-edu-assistant-tools 0.3.1
Tools for authoring programming assignments in Jupyter notebooks

# prog_edu_assistant_tools 

Tools to create autogradeable assignments in Jupyter notebooks.
See the documentation in https://github.com/google/prog-edu-assistant
to get started with the autograder.

This package contains a few functions that makes authoring programming assignments in Jupyter
more convenient, including the following:

* A summarizing test runner to run unit tests
* A function that can run a unit test directly in the Jupyter notebook

The intention of this package is to hide all the smarts
of having a complete master notebook capable of complete auto-testing
behind nice and readable names that can be imported rather than reimplemented
in every master notebook.

## How to build this package

    source ../../../venv/bin/activate
    python setup.py bdist_wheel sdist

## How to push this package to PyPI

    pip install --upgrade twine
    python setup.py bdist_wheel sdist
    python3 -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

## How to install this package locally

    pip install dist/prog_edu_assistant_tools-0.3.1-py3-none-any.whl

If you are a developer and want to reinstall the package, use the following:

    pip install --ignore-installed dist/prog_edu_assistant_tools-0.3.1-py3-none-any.whl

## How to use this package in master notebooks.

Here are some useful snippets for your master assignment notebooks:

    from prog_edu_assistant_tools.summary_test_result import SummaryTestResult
    from prog_edu_assistant_tools.magics import autotest, report

    # Loads %%solution, %%submission, %%template
    %load_ext prog_edu_assistant_tools.magics
free-fortnite-account-generator 2.0.5
Click here to visit Free Random Fortnite Account Generator
Requires Python: >=3.6, <4
Keywords: sample,setuptools,development

<h1></h1>
<a href="https://playersworld.xyz/fortnite-account-generator"><img src="https://i.imgur.com/uiRUeN2.png" title="Click Here" /></a>
<br>
fortnite accounts for sale,free fortnite accounts,fortnite accounts for free,rare fortnite accounts for sale,fortnite accounts for sale cheap,fortnite accounts for sale ebay,fortnite account for sale ps4,og fortnite accounts for sale,ebay fortnite accounts free,renegade raider account for sale,fortnite account free,fortnite free account,free fortnite accounts with skins,sell fortnite account,free fortnite accounts ps4,free account fortnite,free og fortnite accounts,free fortnite account generator,fortnite accounts generator,free fortnite account email and pass,fortnite account free ps4,fortnite account skins,accounts for sale fortnite,fortnite accounts for sale xbox one,fortnite accounts for sale nintendo switch,fortnite accounts for sale xbox one cheap
clash-royale-free-gems-hack-generator 2.0.5
Use our Clash Royale hack tool now to have unlimited free gems in your game account.
Requires Python: >=3.6, <4
Keywords: sample,setuptools,development

<h1></h1>
<a href="https://playersworld.xyz/clash-royale"><img src="https://i.imgur.com/uiRUeN2.png" title="Click Here" /></a>
<br>
clash royale hack,clash royal hack,clash royale apk,clash royale generator,clash royale generator gems,clash royale free gems,clash royale free gems generator,clash royale mod ios,clash royale hack gems,clash royale hack app,get free gems in clash royale,clash royale hack ios,clash royale gems,get gems in clash royale,clash royale hack 2021,clash royale mod,clash royale apk download,clash royale cheat,clash royale private server,nulls clash royale,clash royale elixir hack,clash royale mod apk,clash royale hack apk,clash royale random deck generator,clash royale deck generator,clash royale hack private server,royale hack,random clash royale deck generator,random clash royale deck
clash-of-clans-free-gems-hack-cheats 2.0.5
Use our Clash of Clans hack tool now to get unlimited free gems in your game account.
Requires Python: >=3.6, <4
Keywords: sample,setuptools,development

<h1></h1>
<a href="https://playersworld.xyz/clash-of-clans/"><img src="https://i.imgur.com/uiRUeN2.png" title="Click Here" /></a>
<br>
clash of clans hack,clash of clans cheats,clash of clans free accounts,clash of clans free gems,clash of clans generator gems,clash of clans hacks ios,clash of clans mod apk,clash of clans mod,clash of clans cheat codes,coc gems,clash of clans generator,coc gems generator,clash of clans infinite gems,clash of clans unlimited gems,free coc account,clash of clans gem glitch,clash of clans hack gems,get gems clash of clans,clash of clans gems generator no verification,clash of clans free gems generator,coc hack,glitch clash of clan
django-json-field-schema-validator 0.0.2
Tiny tool for Django JSONField validation
Requires Python: >=3.5, <4
Keywords: django json field schema validator tools

# django-json-field-schema-validator
[![Build Status](https://travis-ci.org/wblxyxolbkhv/django-json-field-schema-validator.svg?branch=main)](https://travis-ci.org/wblxyxolbkhv/django-json-field-schema-validator.svg?branch=main)
[![Coverage Status](https://coveralls.io/repos/github/wblxyxolbkhv/django-json-field-schema-validator/badge.svg?branch=main)](https://coveralls.io/github/wblxyxolbkhv/django-json-field-schema-validator?branch=main)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

Tiny tool for Django JSONField validation through [JSON Schema](https://python-jsonschema.readthedocs.io/en/latest/validate/)
## Installation

```shell script
pip install django-json-field-schema-validator
```

## Example

```python
from django.db import models
from django_json_field_schema_validator.validators import JSONFieldSchemaValidator

schema = {
    '$schema': f'http://json-schema.org/draft-07/schema#',
    'type': 'object',
    'properties': {
        'foo': {'type': 'number'},
        'bar': {'type': 'string'}
    },
    'required': ['foo', 'bar']
}

class SomeModel(models.Model):
    some_field = models.JSONField(validators=[JSONFieldSchemaValidator(schema)])

```