semvec/pypi-packages huggingface dataset:
x0m-quickserver 1.0.0
An application for starting quick server from CLI
License: MIT

# Installation <br>
`pip install x0m-quickserver`

#License <br>
#### MIT

#Info <br>
quickserver is a simple appliucation for starting quick server from your terminal
# Starting a Server <br>

````bash
quickserver <html file location for your server>
````
# Ownership <br>
This package is made as an extension of x0mb3 Foundation !
iicategen 2.2.0
A Catalogue Entry Generator for interesting images.
License: MIT
Requires Python: >=3.7,<4.0

# interesting images: Catalogue Entry Generator

A Catalogue Entry Generator for interesting images.

## Installation

```
pip3 install iicategen
```

Minimum Python version is `3.7`.

## Storage

categen comes with the
[interestingimages/Format]('https://github.com/interestingimages/Format')
repository, but downloads the repo to a dir if internet is available using GitPython.

The storage for interesting images scripts is standardized, and is dictated by the
`XDG_DATA_DIR` environment variable.

By default, the universal interesting images data directory is located in the following:

- Windows: `C:\Users\<username>\AppData\Roaming\interestingimages`
- Linux: `~/.local/share/interestingimages`
- macOS: `~/Library/interestingimages`

categen stores the following files within said folder:

- `format/` - The downloaded/copied Format repository.
- `categen.ini` - The categen configuration file.

## Usage

categen is meant as an internal tool, and if you are interested in utilizing the code personally, you may do any of the following:

- Infer from Code
  - `src/categen/data.py`
  - `src/categen/catentry.py`
  - `tests/gen/all.py`

- Contact Me (rxyth at criptext dot com)

```python
from categen import CatalogueGenerator
from PIL import Image

preview = Image.open('tests/verycool23ar.png').convert('RGBA')

# Make a "Generator"
generator = CatalogueGenerator(
    eid=1,
    hid=177013,
    desc="the sheer cursery"
)

# Advanced - Check for Updates
if generator.format.latest_ver != generator.format.current_ver:
    try:
        # Attempt to pull from configured repo
        generator.format.pull()

    except Exception:
        from shutil import rmtree

        # Backup format repo
        generator.format.backup()
        # Remove current format repo
        rmtree(generator.config["Repository"]["path"])
        # Clone new format repo
        generator.format.clone()

# Generate Entry Text (str)
text = generator.entry()

# Generate Thumbnail (PIL.Image.Image)
thumbnail = generator.thumbnail()

# ... Write them out to files or whatever
```

## Tests

You can run a test on the main functions of categen by using the following command
in the root of the repository directory:

`python -c "import tests.gen.all"` (Generates image+text)

Other test scripts include:

- `tests.gen.txt`: Generates text only
- `tests.gen.img`: Generates image only
- `tests.git`: Tests Git Handling Functionality
hemApp 11
HTTP Endpoint Monitor - keeping the loose ends tied up
License: MIT
Keywords: monitor,http

# HEM - HTTP Endpoint Monitor

[![Build Status](https://travis-ci.org/rickymoorhouse/hem.svg?branch=master)](https://travis-ci.org/rickymoorhouse/hem) [![PyPI version fury.io](https://badge.fury.io/py/hemApp.svg)](https://pypi.python.org/pypi/hemApp/) [![Coverage Status](https://coveralls.io/repos/github/rickymoorhouse/hem/badge.svg)](https://coveralls.io/github/rickymoorhouse/hem) [![Docker Build](https://img.shields.io/docker/cloud/build/rickymoorhouse/hem)](https://hub.docker.com/r/rickymoorhouse/hem)

To install hem, use:

    pip install hemApp

Command line syntax:

    Usage: hem [OPTIONS]

    Options:
    --version          Show the version and exit.
    -v, --verbose      Verbose mode, multiple -v options increase verbosity.
    -c, --config PATH  Specifies an alternative config file
    --help             Show this message and exit.

By default hem will use a config file called hem.yaml in the current directory or /etc/hem.yaml unless one is specified with the --config option.


## Config syntax

The config.yaml is made up of sections:

 - settings - general settings
 
```
    frequency: 30 // Frequency to run tests
```

 - metrics - Where to store the results of the testing e.g. graphite:

```
    type: graphite // Name of plugin to use 
    server: 127.0.0.1 // IP or hostname of server
    port: 2003 // Port to use
```

 - tests - the actual endpoints to test

```
    test-name: 
        path: Path to test
        secure: Is this using HTTPS?
        hosts: List of hosts to use 
        certificate: Path to keypair to use for mTLS - must be un-encrypted
        discovery: discovery block for this test - merged with top level block 
```

 - discovery - optional top level discovery config shared across tests

```
    type: dns // Plugin to use
```