semvec/pypi-packages huggingface dataset:
praetorian-fabric 0.1.2
Praetorian Fabric library extends standard `fabric` library, to maintain communication with praetorian services. Main purpose is to make necessary connections and provide suitable data.
License: MIT

# praetorian-fabric

Gladiator Titus in your service. I like heavy weights 🏋️. More strength, more praetorian, more fabric. 
What more do you want? Gimme that heavy variables 💪.

## Introduction

Praetorian Fabric library extends standard `fabric` library, to maintain communication
with praetorian services. Main purpose is to make necessary connections and provide
suitable data.

## Installation

```python
# pip
pip install praetorian-fabric

# pipenv
pipenv install praetorian-fabric

# poetry
poetry add praetorian-fabric
```

## Usage

####1. First you need to create environment variables:

- `PRAETORIAN_API_URL`
- `PRAETORIAN_API_KEY`
- `PRAETORIAN_API_SECRET`
- `PRAETORIAN_USERNAME`
- `PRAETORIAN_PASSWORD`

####2. Create `fabfile.py` folder in your project root directory
####3. Instantiate `PraetorianConfig` object:

```python
praetorian_config = PraetorianConfig(project_name='foo project')
```

####4. Create task and connect to Praetorian SSH Proxy to gain needed variables:

```python
@task
def deploy(ctx, remote_name):
    ctx = praetorian_config.connect(ctx, remote_name)
```
####5. Get variables by dot notation anywhere in your tasks:

```python
@task
def deploy(ctx, remote_name):
    ctx = praetorian_config.connect(ctx, remote_name)

    variable = praetorian_config.get_variable('variable_name')

    nested_variable = praetorian_config.get_variable('variables.nested_variable.name')
```
---
Developed with 💙 and ☕️ by [Adam Žúrek](https://zurek11.github.io/)
with the support of [BACKBONE s.r.o.](https://www.backbone.sk/), 2021 (C)

## 0.1.0 : 2021-08-05

- 💪 Initial release

## 0.1.1 : 2021-09-05

- ✌️ Removed useless service calling.

## 0.1.2 : 2021-10-05

- 👍 Fixed get_variable method, when variable path does not exist.
run-by-arch 0.0.1
Run different shell commands depending on your OS or CPU arch.
License: MIT

##########################################################################
run-by-arch: Run different shell commands depending on your OS or CPU arch
##########################################################################

``run-by-arch`` helps you organize and run programs compiled for varying operating systems and CPU target architectures.

Installation
^^^^^^^^^^^^
``run-by-arch`` is a Python program that works with both Python 2 and 3. You can install it with ``pip install run-by-arch``.

``run-by-arch`` does not depend on any other Python packages, so it is safe to install it into your system Python.

Why do I need run-by-arch?
^^^^^^^^^^^^^^^^^^^^^^^^^^
For example, if you are working on a program called ``my-program`` with binaries stored on a Network File System instance shared between 64-bit Linux and MacOS users, then users of both
operating systems can run ``run-by-arch my-program`` followed by the arguments for that program.

For a Linux user, ``run-by-arch`` will run the binary found at the directory ``./run-by-arch/linux-x86_64/my-program``.

For a MacOS user, ``run-by-arch`` will run the binary found at ``./run-by-arch/darwin-x86_64/my-program``.

If you set the environment variable ``RUN_BY_ARCH_PREFIX``, you can tell ``run-by-arch`` to look anywhere else on your filesystem.

``run-by-arch`` expects the path at ``RUN_BY_ARCH_PREFIX`` to have subdirectories named after the operating system hyphenated with the CPU architecture. If you set ``RUN_BY_ARCH_PREFIX=/prefix``, then your binaries should be located at:

- ``/prefix/darwin-x86_64/`` for 64-bit MacOS computers with Intel CPUs (not the Apple M1)
- ``/prefix/linux-x86_64/`` for 64-bit Linux computers
- ``/prefix/windows-x86_64/`` for 64-bit Windows computers
- ``/prefix/linux-i386/`` for 32-bit Linux computers
- ...and so on...
python-10minutemail 0.1.2
Python wrapper for 10minutemail.com
License: MIT

# 10MinuteMail
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/python-10minutemail)
![APM](https://img.shields.io/apm/l/vim-mode)
[![Build Status](https://www.travis-ci.com/SauravKanchan/10minutemail.svg?branch=main)](https://www.travis-ci.com/SauravKanchan/10minutemail)

Python wrapper for [10minutemail](https://10minutemail.com/)

### Installation

```
pip install python-10minutemail
```

### Usage

```python
from minutemail import Mail
import time

# Create a new 10 minute mail
mail = Mail()
print(mail)

# Keep on checking for a new mail/message
while True:
    if mail.new_message():  # Check for new mail
        print(mail.fetch_message())  # Fetch all the messages
    time.sleep(2)
```

### Sample message list

```json
[
  {
    "read": false,
    "expanded": false,
    "forwarded": false,
    "repliedTo": false,
    "sentDate": "2021-05-10T07:32:41.000+0000",
    "sentDateFormatted": "May 10, 2021, 7:32:41 AM",
    "sender": "sauravnk30@gmail.com",
    "from": "[Ljavax.mail.internet.InternetAddress;@37e8c463",
    "subject": "Test message",
    "bodyPlainText": "Test description\r\n",
    "bodyHtmlContent": "<div dir=\"ltr\">Test description</div>\r\n",
    "bodyPreview": "Test description\r\n",
    "id": "2118940165622869807"
  }
]
```

> Warning: If you overuse this tool/API, then 10minutemail.com may block your IP address.