semvec/pypi-packages huggingface dataset:
microstarter 0.0.6
Microservice simple Starter Flask example
License: MIT

# microstarter

Microservice simple Starter Flask example lightweight app

# Getting Started

Install microstarter
Linux Installation
```bash
sudo pip3 install microstarter
```

### Usage example

```bash
microstarter folder_name

cd folder_name/

source .venv/bin/activate

python run.py
```

# Contributing
Fell free to open issue and send pull request.
gym-display-advertising 0.0.1
An OpenAI Gym for Display Advertisment Reinforcement Learning
License: MIT

# gym-display-advertising

An OpenAI Gym for Display Advertisment Reinforcement Learning

## Installation

`pip install gym-display-advertising`

## Usage

```python
import gym_display_advertising

env = gym.make("StaticDisplayAdvertising-v0")
episode_over = False
while not episode_over:
    state, reward, episode_over, _ = env.step(env.action_space.sample())
    print(state, reward)
```

```python
import gym_display_advertising

env = gym.make("DisplayAdvertising-v0")
episode_over = False
while not episode_over:
    state, reward, episode_over, _ = env.step(env.action_space.sample())
    print(state, reward)
```

## Real Ad Bidding Data

The repository contains real-life bidding data from a single merchant and loads this by default. If you want to load more data follow the instructions in the [make-ipinyou-data repository](https://github.com/wnzhang/make-ipinyou-data) to create the data.

Then use the helper class `ProcessedIPinYouData` to load the data and pass the dataframe into the `gym.make` command.

```python
import pathlib
import gym
import gym_display_advertising

ipinyou = gym_display_advertising.data.ProcessedIPinYouData(directory=pathlib.Path("path/to/file"))
training_data, _ = ipinyou.get_merchant_data(2997)
env = gym.make("DisplayAdvertising-v0", data=training_data)
state, reward, _, _ = env.step(env.action_space.sample())
print(state, reward)
```

## Acknowledgements

This is a project by [Winder Research](https://WinderResearch.com), a Cloud-Native Data Science consultancy.
gitlab-tags-to-pip-index 1.9
Utility for use in gitlab ci to create python repo web pages from project tags
License: MIT

Gitlab Tags to Pip Index
========================

This python script uses the gitlab api to inspect all tags for the a project and build a
python repository index to be used for automated installations with pip.
This is best used in Gitlab CI in conjunction with gitlab_release package to first attach a python package
to the current build tag, after which this can be used to generate a static web page to be hosted by gitlab
which pip can be pointed to as an index to install your package.
This can assist in distributing python packages that aren't suitable for publishing on PyPI official index.


It can be used in a gitlab-ci.yml stage like:

::

    release:
      stage: release
      script:
        - python3 setup.py sdist bdist_wheel
        - pip3 install gitlab_release
        - python3 -m gitlab_release $PRIVATE_TOKEN dist/*
      only:
        - tags

    pages:
      stage: deploy
      script:
        - pip3 install gitlab_tags_to_pip_index
        - python3 -m gitlab_tags_to_pip_index ./public
      only:
        - tags
      artifacts:
        paths:
        - public

    # Or if you want to include master builds as pre-release
    pages:
      stage: deploy
      script:
        - mkdir -p ./public
        - mv ./*.whl ./public/
        - pip3 install gitlab_tags_to_pip_index
        - python3 -m gitlab_tags_to_pip_index --pre './public/*.whl' ./public
      artifacts:
        paths:
        - public

See https://pypi.python.org/pypi/gitlab-release for more information about gitlab_release script.
boku 0.0.1
A small PAAS to deploy Flask/Django, Node, PHP and Static HTML sites using GIT, similar to Heroku
License: MIT
Keywords: deploy,bokku,flask,gunicorn,django,workers,deploy sites,deployapp

Bokku

A small PAAS to deploy Flask/Django, Node, PHP and Static HTML sites using GIT, similar to Heroku

https://github.com/mardix/bokku/
puaa 0.3.2
Python UAA test server
License: MIT
Requires Python: >=3

# puaa

An uaa test server in python.
The main purpose is to serve as an easily configurable mock oauth server.

**Attention: it's not a secured OAuth server and must never be used on production machines.** 


## Install

Like any python package:

```
pip install puaa
```


## Configure

The server is configured through a regular uaa.yml but uses only a small subset
of it, mainly "jwt" and "oauth" sections:

```
issuer:
  uri: http://localhost:8000

oauth:
  clients:
    test:
      id: test
      secret: test
      authorized-grant-types: client_credentials
      scope: none
      authorities: uaa.admin,clients.admin,clients.read,clients.write,clients.secret

jwt:
 token:
   policy:
     accessTokenValiditySeconds: 3600
     activeKeyId: key-id-1
     keys:
       key-id-1:
         signingKey: |
           -----BEGIN RSA PRIVATE KEY-----
           ...
           -----END RSA PRIVATE KEY-----
```


## Run locally

Needs few environment variables to start:

```
export AUTHLIB_INSECURE_TRANSPORT=true
export UAA_CONFIG_FILE=<PATH>/uaa.yaml
gunicorn -k gevent puaa.app:app
```

Then can retrieve a token with e.g.:

```
curl -sS http://localhost:8000/oauth/token -u test:test -d 'grant_type=client_credentials'
```

To list JWT keys:

```
curl -sS http://localhost:8000/token_keys
```

## Limitations

Supports the "client_credentials" grant only so far.


## Alternatives

The full uaa server https://github.com/cloudfoundry/uaa/
But I gave up to configure it as I wish.


## License

MIT License
CryptNinja 0.0.0
This is a next gen password safe which uses Key gen algos like argon hash.
License: MIT
Requires Python: >=3.6

It is a password safe to store your passwords in one place.
CryptNinja currently works on windows and it has a command line interface.

To run cryptninja, open command prompt on windows or powershell and type cryptninja.

Your feedback is very important, feel free to reach me on my email address with comments, suggestions or any new ideas. I am working on a GUI version which will be available soon.