semvec/pypi-packages huggingface dataset:
carlae.cli 0.0.4
Carlae's CLI
License: MIT
Requires Python: >=3.6
Keywords: cli carlae

============
Carlae's CLI
============

.. image:: https://img.shields.io/github/workflow/status/zeroae/carlae-cli/pypa-conda?label=pypa-conda&logo=github&style=flat-square
   :target: https://github.com/zeroae/carlae-cli/actions?query=workflow%3Apypa-conda

.. image:: https://img.shields.io/conda/v/zeroae/carlae-cli?logo=anaconda&style=flat-square
   :target: https://anaconda.org/zeroae/carlae-cli


.. image:: https://img.shields.io/codecov/c/gh/zeroae/carlae-cli?logo=codecov&style=flat-square
   :target: https://codecov.io/gh/zeroae/carlae-cli

.. image:: https://img.shields.io/codacy/grade/CODACY_BADGE_TOKEN?logo=codacy&style=flat-square
   :target: https://www.codacy.com/app/zeroae/carlae-cli
   :alt: Codacy Badge

.. image:: https://img.shields.io/badge/code--style-black-black?style=flat-square
   :target: https://github.com/psf/black


.. image:: https://img.shields.io/pypi/v/carlae-cli?logo=pypi&style=flat-square
   :target: https://pypi.python.org/pypi/carlae-cli

.. image:: https://readthedocs.org/projects/carlae-cli/badge/?version=latest&style=flat-square
   :target: https://carlae-cli.readthedocs.io/en/latest/?badge=latest
   :alt: Documentation Status




Carlae's CLI


* Free software: MIT
* Documentation: https://carlae-cli.readthedocs.io.


Features
--------

* TODO


-------

This package was created with ght-render_ and the `sodre/ght-pypackage`_ project template.

.. _ght-render: https://github.com/sodre/action-ght-render
.. _`sodre/ght-pypackage`: https://github.com/sodre/ght-pypackage
winrmcp 0.0.3
Package to execute commads on remote Windows, do file copy to the remote machine
License: MIT
Requires Python: >=3.6

# winrmcp
[![Build Status](https://travis-ci.com/mkroutikov/winrmcp.svg?branch=master)](https://travis-ci.com/mkroutikov/winrmcp)
[![PyPI version](https://badge.fury.io/py/winrmcp.svg)](https://badge.fury.io/py/winrmcp)

A Python library to execute remote commands on Windows (cmd.exe and PowerShell), and to transfer files.

This is a thin wrapper on top of excellent [pywinrm](https://github.com/diyan/pywinrm).

For file transfer, we use the same method as in Go package [winrmcp](https://github.com/packer-community/winrmcp).

## Installation
```bash
pip install winrmcp
```

## Quick start

```python
from winrmcp import Client

client = Client('my-windows-machine.com', auth=('CleverUser', 'cleverPassword'))

with client.shell() as shell:
    out, _ = shell.check_cmd(['ipconfig', '/all'])
    print(out)

    script = """$strComputer = $Host
    Clear
    $RAM = WmiObject Win32_ComputerSystem
    $MB = 1048576

    "Installed Memory: " + [int]($RAM.TotalPhysicalMemory /$MB) + " MB" """
    out, _ = shell.check_ps(script)
    print(out)

client.copy('/home/mike/temp/build.bat', '%TEMP%\\build.bat')
with client.shell() as shell:
    shell.check_call('cmd.exe', '/k', '%TEMP%\\build.bat)
```

## API

### Client

`Client` extends `winrm.Session` to provide `Client.shell` context-manager that opens remote shell.

See documentaiotn  of [pywinrm](https://github.com/diyan/pywinrm) for the expected parameters.

`Client.shell()` - creates a new context-managed shell, returns intsance of `Shell`.

`Client.copy(local_file, remote_file)` - copies the content of local file `local_file` to the remote machine as `remote_file`.
Note that `local_file` can be a file-like object, having `read` method returning `bytes`.

### Shell

`Shell` represent the shell running on the remote Windows machine. You can get an instance of this class by
calling `shell()` on a `Client` instance.

`Shell.cmd(command, *args)` - runs a command in remote `CMD.EXE` shell. Returns `winrm.Response` instance, see docs there.

`Shell.ps(script)` - runs a script in remote `PowerShell` shell. Returns `winrm.Response` instance, see docs there.

`Shell.check_cmd(command, *args)` - runs a command in remote `CMD.EXE` shell. Returns a tuple of stdout and stderr strings. If remote command
return non-zero code, raises `ShellCommandError` exception.

`Shell.check_ps(script)` - runs a script in remote `PowerShell` shell. Returns a tuple of stdout and stderr strings. If remote command
return non-zero code, raises `ShellCommandError` exception.
nitrolib 0.0.2
NitroLib is a library for working wih the various systems developed by Intelligent Systems for the Nitro consoles.
License: MIT

NitroLib
========

NitroLib is a library for working with the various systems developed by
Intelligent Systems for the Nitro consoles.

--------------

Supported devices:

- IS-NITRO-EMULATOR
    - Load ROMs
    - Read/Write to RAM
    - Trigger interrupts