semvec/pypi-packages huggingface dataset:
async-rundeck 0.1.7
Asynchronous rundeck API client
Requires Python: >=3.8,<4.0
Keywords: rundeck,asyncio

[![codecov](https://codecov.io/gh/elda27/async_rundeck/branch/main/graph/badge.svg?token=wo3QBnKsKX)](https://codecov.io/gh/elda27/async_rundeck)

# Asynchronous rundeck API client

This is a rundeck API client implemeneted by aio-http and pydantic.
All API parameters and responses are annotated and user-friendly!

## Installation

```bash
pip install async-rundeck
```

## How to use

```python
import asyncio
from async_rundeck import Rundeck

async def main():
    Rundeck(
        url=rundeck_service, username="admin", password="admin", api_version=41
    )
    project_name = uuid4().hex
    await rundeck.create_project(project_name)

    job_content = (root_dir / "resource" / "Test_job.xml").read_text()
    # Import job
    status = await rundeck.import_jobs(
        project_name,
        job_content,
        content_type="application/xml",
        uuid_option="remove",
    )
    if len(status["succeeded"]) != 1:
      print("Failed to import job")
      return

    jobs = await rundeck.list_jobs(project_name)

    # Execute job
    execution = await rundeck.execute_job(jobs[0].id)
    assert execution is not None

asyncio.run_until_complete(main())
```

## Features

The items checked in the following list are implemented.

- [ ] System Info
- [ ] List Metrics
  - [ ] Metrics Links
  - [ ] Metrics Data
  - [ ] Metrics Healthcheck
  - [ ] Metrics Threading
  - [ ] Metrics Ping
- [ ] User Profile
- [ ] Log Storage
- [ ] Execution Mode
- [ ] Cluster Mode
- [ ] ACLs
- [ ] Jobs
  - [x] List job
  - [x] Run job
  - [x] Import job from file
  - [x] Export job from file
- [ ] Executions
  - [x] Get Executions for a Job
  - [ ] Delete all Executions for a Job
  - [x] Listing Running Executions
  - [ ] Execution Info
  - [x] Upload files for an Execution.
  - [x] List Input Files for an Execution
  - [x] Delete an Execution
  - [ ] Bulk Delete Executions
  - [ ] Execution Query
  - [ ] Execution State
  - [ ] Execution Output
  - [ ] Execution Output with State
  - [ ] Aborting Executions
- [ ] Adhoc
- [ ] Key Storage
  - [ ] Upload keys
  - [ ] List keys
  - [ ] Get Key Metadata
  - [ ] Get Key Contents
  - [ ] Delete Keys
- [ ] Projects
  - [x] Listing Projects
  - [x] Project Creation
  - [x] Getting Project Info
  - [x] Project Deletion
  - [x] Project Configuration
  - [x] Project Configuration Keys
  - [ ] Project Archive Export
  - [ ] Project Archive Export Async
  - [ ] Project Archive Export Status
  - [ ] Project Archive Import
  - [ ] Updating and Listing Resources for a Project
  - [ ] Project Readme File
  - [ ] Project ACLs
- [ ] Listing History
- [ ] Resources/Nodes
- [ ] SCM
amoni 0.0.13
A tool to manage local development of Anvil applications

# Amoni
A command line utility for local development of [Anvil](https://anvil.works) apps.

Amoni gives you:

* A simple command to start a new project and create all the necessary files and folders:

    ```amoni init```

* Pre-configured docker containers for the anvil app server and postgresql database
server to run your app
* Simple commands to start and stop those servers:

    ```
    amoni start

    amoni stop
    ```

* Your app available in your browser at port 3030 on your local machine
* Your database server available on port 5432 on your local machine

* A pre-configured docker container and a simple command to run your test suite:

    ```amoni test```

* Commands to fetch anvil apps and add them to your project as the main app or as
dependencies:

    ```
    amoni install app

    amoni install dependency
    ```

* [Stub files](https://mypy.readthedocs.io/en/stable/stubs.html) that allow your
autocompleter to see what tables are included in your app


[Read the Documentation](https://amoni.readthedocs.io/en/latest/)

[Ask a Question](https://github.com/anvilistas/amoni/discussions)

[Chat with the team](https://matrix.to/#/#anvilistas_community:gitter.im?via=gitter.im&via=matrix.org)
puan-client-db 0.0.4
SDK for calling running http service of puan-server-db
Requires Python: >=3.9
Keywords: combinatorial optimization,database,service,propositional logic,optimization

# Puan Client DB
A small tool for calling a running `puan-server-db` http service.

## Install
```bash
pip install puan-client-db
```

## Quickstart
```python
import puan.logic.plog as pg
from puan_client_db import PropositionClient

# create a client
client = PropositionClient("http://localhost:8000") # we run a service on our local machine on port 8000

# create a puan model (pip install puan)
model = pg.All(
  pg.Xor(*"xyz"),
  pg.Imply(
    pg.Any(*"AB"),
    pg.All(*"ijk")
  )
)

# store the model by commiting it into the service
# This will commit to a new model with default branch name (usually "main" but depends on backend config) 
# (second parameter returned is an error)
sha_first, _ = client.commit(model)

# ... and we later made some changes
model = model.assume({"i": 1}) # this fixes `i` to always be set to 1/True 

# then made another commit
client.commit(model)

# some time later we want to checkout the first commit
# (second parameter returned is an error)
model_first, _ = client.checkout(sha_first)

```
cli-commander 0.2.2
Runs CLI (Command-Line Interface) commands. Run BASH commands, Linux commands, and more! All in python. Runs more than 95 commands, each in specific functions!
Requires Python: >=3.6

# cli-commander

CLI commander is an easy-to-use python library for running CLI commands.
All commands are supported on Linux Mint 21, and some commands are supported on other
systems too.

**Very good packge! You can actually get the output of commands,
assign command output to variables,
print command output, and more!**

# Pip installation:
**Run this in your command prompt/shell:**

```
pip install cli_commander
```

# Importing cli-commander

How to import cli-commander with no issues:

```python
import cli_commander.commands
```

# cli-commander venv

Create a new virtual environment like this:

```python
import cli_commander.commands as cli

cli.venv("MyExampleVenv").new()
```

Get into an existing virtual environment like this:

```python
import cli_commander.commands as cli

cli.venv("MyExampleVenv").new()
```

You can leave a virtual environment using the venv.leave() function.
Example:

```python
import cli_commander.commands as cli

myVenv = cli.venv("MyExampleVenv").enter()
myVenv.leave()
```

# Need help with the 117 more functions?

**Run this:**

```python
import cli_commander.commands as cli
help(cli)
```

# Thank you