semvec/pypi-packages huggingface dataset:
remedy-py 1.0.0
A python package used to interface with the BMC Remedy ITSM REST API
License: MIT

# Overview
`remedy-py` is a Python package used to interface with the BMC Remedy REST API.
My search for a development tool to facilitate easy interactions with the Remedy API
in a Python program didn't turn up any results that suited my needs, so I decided to create
my own and open-source it. Your feedback and contributions are welcome (see [Contributing](#Contributing)), so
that we can make this package useful to as many people as possible.

## Installation
You may install `remedy-py` directly from [PyPI - TODO](pypi.org), or via pip:
`pip install remedy-py`. 

## Usage

### Import the Package
Once you have the package installed, import the RemedyClient class for use in your Python program as follows:
`from remedy_py.RemedyAPIClient import RemedyClient`

### Instantiate a Client
The `RemedyClient` constructor has three required arguments: `host`, `user`, and `password`.
Optional positional arguments include `verify`, `proxies`, and `timeout`.
Once you have instantiated a client, authentication with the Remedy API
is automatically handled for you in the constructor based on the username 
and password provided. Any subsequent calls to the API will include a user-specific
jwt in the headers to let Remedy know who you are.

Example usage:
`client = RemedyClient("example.domain", "Allen", "password", verify=False)`

### Create a form entry
```python
ENTRY_TEMPLATE = {
    "First_Name": "Allen",
    "Last_Name": "Allbrook",
    "Description": "REST API: Incident Creation",
    "Impact": "1-Extensive/Widespread",
    "Urgency": "1-Critical",
    "Status": "Assigned",
    "Reported Source": "Direct Input",
    "Service_Type": "User Service Restoration",
    "z1D_Action": "CREATE"
}

FORM_NAME = "HPD:IncidentInterface_Create"
RETURN_VALUES = ["Incident Number", "Request ID"]

incident, status_code = client.create_form_entry(FORM_NAME, ENTRY_TEMPLATE, RETURN_VALUES)
incident_id = incident["values"]["Incident Number"]
request_id = incident["values"]["Request ID"]
```

## Contributing
Your feedback and contributions and welcome through issues and pull requests on the GitHub repository.
Please be as descriptive as possible with issues or feature requests and provide testing instructions
with any pull requests.

Thank you for helping to advance this project!

### Contributors
Special shout out to my good friend and colleague Ryan Gordon (@Ryan-Gordon & @Ryan-Gordon1)
for helping get this off the ground. I appreciate your open and honest feedback and bright ideas.
rptree 0.1.1
Generate directory tree diagrams for Real Python articles
License: MIT

# RP Tree

RP Tree is a command-line tool to generate directory tree diagrams.

## Installation

To install **RP Tree**, just run the following command:

```sh
$ pip install rptree
```

## Usage

```sh
$ rptree /path/to/directory/
```

**Note:** The `-h` or `--help` option provides help on using RP Tree.

## Sample Output

```sh
$ rptree hello/
./hello/
│
├── hello/
│   ├── __init__.py
│   └── hello.py
│
├── tests/
│   └── test_hello.py
│
├── LICENSE
├── README.md
├── requirements.txt
└── setup.py
```

That's it! You've generated a nice directory tree diagram.

## Features

If you run RP Tree with a directory path as an argument, then you get a full directory tree diagram printed on your screen. The default input directory is your current directory.

RP Tree also provides the following options:

- `-v`, `--version` shows the application version and exits
- `-h`, `--help` show a usage message
- `-d`, `--dir-only` generates a directory-only tree diagram
- `-o`, `--output-file` generates a full directory tree diagram and save it to a file in markdown format

## Release History

- 0.1.1
  - Display the entries in alphabetical order
- 0.1.0
  - A work in progress

## About the Author

Leodanis Pozo Ramos - Email: leodanis@realpython.com