semvec/pypi-packages huggingface dataset:
pyreadpartitions 1.1.1
Read MBR and GPT partitions directly in python.
License: MIT
Requires Python: >=3.6
Keywords: disk partition mbr gpt

pyreadpartitions
================

Read MBR and GPT partitions directly in python.

Examples:

```python
from pyreadpartitions import get_disk_partitions_info
with open('/dev/sda', 'rb') as fp:
    info = get_disk_partitions_info(fp)
    print(info.mbr)
    print(info.gpt)
```

```python
from pyreadpartitions import show_disk_partitions_info
with open('/dev/sda', 'rb') as fp:
    show_disk_partitions_info(fp)
```

A console script is also available:

```sh
$ sudo cat /dev/sda | pyreadpartitions
```

or if you already have access to a file or directly to the disk:

```sh
# pyreadpartitions /dev/sda
```
lektor-simplemde 0.6
Plugin integrating SimpleMDE into Lektor admin
License: MIT
Keywords: Lektor admin plugin simplemde wysiwyg markdown editor

# What is this?

This is a plugin for [Lektor](https://github.com/lektor/lektor/) integrates the [SimpleMDE](https://github.com/sparksuite/simplemde-markdown-editor) visual markdown editor. It attaches SimpleMDE to all fields of type **markdown** according to the model

# Installation
Install the plugin from pypi with one of the [standard ways](https://www.getlektor.com/docs/plugins/). No settings are required.

# Known issues

Currently, the editor is also shown for **text** fields i.e. it is shown for all fields that render as a <textarea> in the admin interface.

# License
The plugin is distributed under the [MIT license](https://opensource.org/licenses/MIT)

# Support
If you have problems or suggestions, submit them via issues here or use [Spherical support form](https://www.spherical.pm/about/#contacts)
spectro-connect 0.1.1
CLI tool to connect to devices via SpectroServer (DX Spectrum)
License: MIT
Requires Python: >=3.6

# spectro-connect

A CLI tool to connect to devices via a SpectroServer instance (DX Spectrum)

## Installation

`pip install spectro-connect`

## Usage

```bash
$ spectro-connect --help
usage: spectro-connect [-h] [-s SPECTRO_IP] [-p PORT] [-t] [-v] host

SpectroServer Connect Tool

positional arguments:
  host                  IP address or name of remote device to connect to

optional arguments:
  -h, --help            show this help message and exit
  -s SPECTRO_IP, --spectro_ip SPECTRO_IP
                        IP address of SpectroServer
  -p PORT, --port PORT  Port to connect to on remote device
  -t, --telnet          Connect using Telnet
  -v, --verbose         Verbose output
```

## Environment Variables

To specify the SpectroServer IP (rather than using the `-s` flag each time):

- `SPECTROSERVER_HOST`

To enable Spectrum OneClick integration for device name lookups (recommended):

- `SPECTRUM_URL` - URL of Spectrum OneClick
- `SPECTRUM_USERNAME` - Username to access Spectrum OneClick
- `SPECTRUM_PASSWORD` - Password to access Spectrum OneClick

## Example Usage

This tool provides an SSH or Telnet session to a device managed in Spectrum.
The connection is relayed through SpectroServer, using the same mechanism as
the Spectrum Client Console.

In Windows, a PuTTY connection will be launched. In Linux, it will use the
built-in SSH client.

If just an IP address is provided, it will attempt to estabish an SSH
connection:

```bash
spectro-connect 172.31.100.20
```

If there environment variable `SPECTROSERVER_HOST` is not defined, the IP
address of the SpectroServer must be provided after the `-s` flag:

```bash
spectro-connect -s 10.30.40.100 172.31.100.20
```

You can force a Telnet connection by including the `--telnet` flag:

```bash
spectro-connect 172.31.100.20 --telnet
```

If a hostname is provided (i.e. anything other than an IPv4 address), a lookup
of the name will be done via the Spectrum API. If a single match is found, the
script will connect using the appropriate protocol, based on the NCM family of
that particular device:

```bash
spectro-connect CORE_RTR01
```