semvec/pypi-packages huggingface dataset:
pikapy 0.5
Pikachu interpreter written in Python
License: MIT
Keywords: Esolang,Esoteric,Language,Pokemon,Pikachu,Interpreter

# Pikachu Interpreter

This is an interpreter for Pikachu for Python 2.7.x

The definition of the esoteric programming language named 'pikachu' can be found [here](http://trove42.com/introducing-pikachu-programming-language/). This is built as a cleaner version of https://github.com/joelsmithjohnson/pikachu-interpreter.

### Installation:

1. Run `$ pip install pikapy`
2. Go to your Sublime Packages folder, which defaults to `~/Library/Application Support/Sublime Text 3/Packages` on Mac OSX and ` ` on Windows, create a new folder called Pikachu, and copy pikachu.sublime-syntax to there.

3. In the same Packages folder, find `Color Scheme - Default`, and copy `pikachu.sublime-color-scheme` there.

4. In Sublime Text, go to Preferences → Color Scheme, and select Pikachu.


### Usage

In the command line, go to the installation directory, and run:

```bash
$ pikachu <pikachu filename> [arguments*]
```


### Pikachu Language

In Pikachu, you have two Pikachus (i.e. stacks): `pi pikachu` and `pika pikachu`. Upon starting a Pikachu script, the arguments are pushed into `pi pikachu` in the order they're given.

#### Pikachu Syntax

##### Arithmetic Operations

 - `pi pika <PIKACHU>` - add the top two values in the given Pikachu, and push the sum to the same Pikachu
 - `pika pi <PIKACHU>` - subtract the top value in the Pikachu from the second top, then push the difference
 - `pi pikachu <PIKACHU>` - multiply the top two values in the Pikachu, and push the product
 - `pikachu <PIKACHU>` - divide the second-from-the-top value in the Pikachu by the top value, then push the product

##### Stack Operations

 - `pika pikachu <PIKACHU>` - pop the top value from the Pikachu, and print as a number
 - `pikachu pikachu <PIKACHU>` - pop the top value from the Pikachu, and print as ASCII
 - `<PIKACHU>` - pop the top value from the Pikachu
 - `<n terms> <PIKACHU>` - push `n` into the PIkachu
 - `<pi pika>` - push the top value of `pika pikachu` into `pi pikachu`
 - `<pika pi>` - push the top value of `pi pikachu` into `pika pikachu`

##### Control Operations

 - `pikachu pikachu` - if the top values of both Pikachus are equal, goto line `n`, where `n` is the number of terms in the following line
 - `pika pika` - if the top values of both Pikachus are not equal, goto line `n`, where `n` is the number of terms in the following line

*Note: Pikachus start counting lines from 1, not 0*

##### Other Options

 - `pi pi` - push to `pika pikachu` a random number between `1` and `n`, where `n` is the top value in `pika pikachu`
 - `chu` - anything that comes after a `chu`, is treated as a comment, and will be ignored by the interpreter. This includes any line beginning with the word `chu`.

*Note: Things in this section are not part of the original definition of the language, rather features added for the convenience of the programming Pikachus*
gh-announce 0.0.4
Twitter bot that posts a tweet each time you make a release on github!
License: MIT
Keywords: github,twitter,internet

![pypi](https://img.shields.io/pypi/v/cfgsaver.svg)
![license](https://img.shields.io/github/license/prahladyeri/cfgsaver.svg)
![last-commit](https://img.shields.io/github/last-commit/prahladyeri/cfgsaver.svg)
[![donate](https://img.shields.io/badge/-Donate-blue.svg?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=JM8FUXNFUK6EU)
[![follow](https://img.shields.io/twitter/follow/prahladyeri.svg?style=social)](https://twitter.com/prahladyeri)

# gh-announce

![project logo](https://raw.githubusercontent.com/prahladyeri/gh_announce/master/logo.png)

Twitter bot that posts a tweet each time you make a release on github!

# Synopsis

I happen to maintain a lot of python projects on github such as [distroverify](https://github.com/prahladyeri/distroverify) and [vtscan](https://github.com/prahladyeri/vtscan), and each time I make a tagged release, I have to make a status tweet to let people know. This tool is for automating this process, [read this article to know more details](https://prahladyeri.com/blog/2019/06/announcing-gh_announce-a-python-bot-that-posts-a-tweet-each-time-you-make-a-release-on-github.html).

# Installation

	pip install gh_announce

# Usage

* First time only to configure your github username & twitter api details:

		> gh_announce --config

* Testing the app:
	
		> gh_announce
		successfully updated status for repo: prahladyeri/distroverify, tag: 1.0.4
		
* Result:

[![sample screen](https://raw.githubusercontent.com/prahladyeri/gh_announce/master/screen.png)](https://twitter.com/prahladyeri/status/1144223088201986049)

* Set as a cron job by running `crontab -e`:

		* 12 * * * gh_announce
cloudauthz 0.6.0
Implements means of authorization delegation on cloud-based resource providers.
License: MIT
Keywords: Cloud Authorization

# CloudAuthz

## Installation
Install the latest release from PyPi:

    pip install cloudauthz


## Example

CloudAuthz can authorize access to [Amazon Web Services (AWS)](#amazon-web-services), [Microsoft Azure](#microsoft-azure), and [Google Cloud Platform (GCP)](#google-cloud-platform). An example for each provider is given in the following.

- ### Amazon Web Services

    ```python
    from cloudauthz import *

    cloudauthz = CloudAuthz()
    config = {
        "id_token": " ... ",
        "role_arn": " ... "
    }
    credentials = cloudauthz.authorize("aws", config)
    ```

    The `credentials` object is a dictionary as the following:

    ```json
    {
      "SecretAccessKey": " ... ", 
      "SessionToken": " ... ", 
      "Expiration": "2019-05-28T02:12:45Z", 
      "AccessKeyId": " ... "
    }
    ```

- ### Microsoft Azure

    ```python
    from cloudauthz import *

    cloudauthz = CloudAuthz()
    config = {
        "tenant_id": " ... ",
        "client_id": " ... ",
        "client_secret": " ... "
    }
    credentials = cloudauthz.authorize("azure", config)
    ```

    The `credentials` object is a dictionary as the following:

    ```json
    {
        "expiresIn": 3599,
        "_authority": "https://login.microsoftonline.com/TENANT_ID",
        "resource": "https://storage.azure.com/",
        "tokenType": "Bearer",
        "expiresOn": "2018-06-28 12:30:24.895661",
        "isMRRT": true,
        "_clientId": " ... ",
        "accessToken": " ... ",
    }
    ```

- ### Google Cloud Platform

    ```python
    from cloudauthz import *

    cloudauthz = CloudAuthz()
    config = {
        "project_id": "...",
        "private_key_id": "...",
        "private_key": "...",
        "client_email": "...",
        "client_id": "..."
    }
    credentials = cloudauthz.authorize("gcp", config)
    ```

    The `credentials` object is a dictionary containing the following keys:

    ```json
    {
      "type": "service_account",
      "project_id": "...",
      "private_key_id": "...",
      "private_key": "...",
      "client_email": "...",
      "client_id": "...",
      "auth_uri": "https://accounts.google.com/o/oauth2/auth",
      "token_uri": "https://oauth2.googleapis.com/token",
      "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
      "client_x509_cert_url": "..."
    }
    ```
bsm 1.0.0a1
Bundled software manager
License: MIT
Keywords: bsm

BSM
===

Bundled software manager


Installation
------------

Install ``BSM`` with ``curl`` or ``wget`` ::

    curl -sSL https://raw.githubusercontent.com/bsmhep/bsm/master/script/install.sh | sh -s [BSM_DIR]

or ::

    wget -qO- https://raw.githubusercontent.com/bsmhep/bsm/master/script/install.sh | sh -s [BSM_DIR]

If ``BSM_DIR`` is omitted, ``BSM`` will be installed in the
current directory.


Install Software with BSM
-------------------------

Setup ``BSM``::

    . <BSM_DIR>/setup.sh

List available software version::

    bsm ls-remote

Specify software version and where to install::

    bsm [-r <SOFTWARE_ROOT>] install <version>

If ``-r <SOFTWARE_ROOT>`` is not specified, everything will be
installed in the current directory.

Multiple versions could be installed under the same software root
directory.


Configuration
-------------

Create the configuration file if it does not exist::

    [ -e ~/.bsm.conf ] || bsm config -e > ~/.bsm.conf

Edit `~/.bsm.conf` and uncomment `software_root`::

    software_root: <SOFTWARE_ROOT>


Select Software Version
-----------------------

List local installed software version::

    bsm -r <SOFTWARE_ROOT> ls

Select local software version you would like to use::

    bsm -r <SOFTWARE_ROOT> use <version>