semvec/pypi-packages huggingface dataset:
worldcup18 0.1.1
A simple CLI to stay up to date with 2018 World Cup
License: MIT
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
Keywords: worldcup,cli,fifa

# worldcup18

[![Build Status](https://travis-ci.org/tadeoos/worldcup.svg?branch=master)](https://travis-ci.org/tadeoos/worldcup)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/Worldcup18.svg)](https://pypi.org/project/worldcup18/)

A simple CLI to stay up to date with 2018 World Cup

## installation

```
pip install worldcup18
```

## demo

```
$ worldcup next
Match #5: ����  France vs Australia ����
When: Saturday, 16. June 2018 12:00PM
Where: Kazan

$ worldcup groups a
GROUP A                    MP GF GA PTS
---------------------------------------
Russia                      1  5  0  3
Uruguay                     1  1  0  3
Egypt                       1  0  1  0
Saudi Arabia                1  0  5  0

$ worldcup --help
Usage: worldcup.py [OPTIONS] COMMAND [ARGS]...

  CLI tool for being up to date with 2018 World Cup

Options:
  --help  Show this message and exit.

Commands:
  groups  Show group info
  next    Show nearest match info
```

## developement

## acknowledgments

World Cup data available thanks to json file from [lsv fifa-worldcup-2018](https://github.com/lsv/fifa-worldcup-2018)

Inspired by: [SkullCarverCoder](https://github.com/SkullCarverCoder/wc18-cli)
ictmpl 1.2.0
Generate projects from templates
License: MIT

# About ictmpl

This script allows a create new project using a ready-made templates.

You can use template on local machine or repositories.

By default it looks for a name of template in the 
[official repository](https://github.com/ictmpl)


# Installing

    pip install ictmpl

or globally:

    sudo -H pip install ictmpl


# Usage

## create

Create new project by template

`ictmpl create <project_path> <template_name>`

#### Params:

* **project_path** - Path to new project directory
* **template_name** - Name of template / link to git repository / local path

#### Examples:

`ictmpl create flaskproject flask-blank`

`ictmpl create myproject ../my-local-template/`

`ictmpl create /var/www/myproject https://github.com/ictmpl/flask-blank.git`
flask-gae-users 0.0.1
Provide route decorators for Google App Engine users
License: MIT
Keywords: flask google app engine gae user users decorator

# Flask Google App Engine Users

Provide route decorators for Google App Engine users.


# Author

Daniel 'Vector' Kerr (<vector@vector.id.au>)


# License

Refer to [LICENSE.txt](LICENSE.txt).


# Installation

pip install flask-gae-users


# Sample Usage

## Python Code

`main.py`
```python
from flask import Flask, request, Response, jsonify
from flask_gae_users import GAEUsers
from flask_gae_users import GAENoUserException
from flask_gae_users import GAENotAdminException


app = Flask()
GAEUsers( app = app )

# Provide a response when a user is not logged in
@app.errorhandler( GAENoUserException )
def onAppNoUser( e ):
  body = "<p>You must log in to continue</p>"
  body = body + "<p><a href=\"" + app.get_login_url() + "\">Sign in</a></p>"
  return Response( body, status = 401 )

# Provide a response when a user is not an administrator
@app.errorhandler( GAENotAdminException )
def onAppNoUser( e ):
  body = "<p>You are not authorized to access this resource</p>"
  body = body + "<p><a href=\"" + app.get_logout_url() + "\">Sign in as a different user</a></p>"
  return Response( body, status = 403 )


# Create a user-protected route by adding the `require_user` decorator
@app.route( '/home', methods = [ 'GET' ] )
@app.require_user()
def routeHome():
  user = app.get_user()
  return jsonify( { 'user': repr( user ) } )

# Create an admin-protected route by adding the `require_admin` decorator
@app.route( '/admin', methods = [ 'GET' ] )
@app.require_admin()
def routeAdmin():
  admin = app.get_user()
  return jsonify( { 'admin': repr( admin ) } )


# Run the flask application
if __name__ == '__main__':
  app.run( port = 8080 )
```



## Run Server

```sh
python main.py
```
django-multi-form 0.5
Django class based views for using more than one Form in a single view.
License: MIT

This library allows your to use unlimited number of forms in your views.

Add forms to the dict form_classes, where the key is the form name,
and the value is the form class.

By default, in the case of validation, there is form.save(),
else there is the error output to the template.

To change this behavior,
in the processing form.valid use form_valid_my_form(self, form),
and form_invalid_my_form(self, form) for form.invalid.

If you want to fill out the form, use the dict form_initials, where the key is the form name,
and the value is the dict, in which the key is field name, and the value is the field value.
Ex.: {'my_form': {'first_name': 'Denis', 'city': 'Moscow'}}

Or define a special method get_initials_form_my_form(self), and return the data dictionary.

If you need to update the object, use dict form_instances, where the key in the form name,
and the value is the object.

You can also define a special method get_instances_form_my_form(self).

By default, if form proccesing is successful it will be redirected to the same page.

You can change this behavior, by writting a new key and value in the dict form_success_urls.

You can also use a special method get_success_url_form_my_form(self) to procces the redirect site.