semvec/pypi-packages huggingface dataset:
terrajinja-sbp-chef 0.1.1
Terrajinja extension for automation using cdktf
License: MIT

# terrajinja-sbp-chef

This is an extension to the vault provider for the following modules.
The original documentation can be found [here](https://registry.terraform.io/providers/dbresson/chef/latest/docs)

# SBP Specific implementations
Here is a list of supported resources and their modifications

## sbp.chef.data_bag_item
Original provider: [chef.data_bag_item](https://registry.terraform.io/providers/dbresson/chef/latest/docs/resources/data_bag_item)

This custom provider adds the following:
- allows specifying the databag item name seperate of the databag contents
- automaticly converts the databag contents in to json for the resource

| old parameter | new parameter | description |
| ------ | ------ | ------ |
| content_json | content | the data field is automaticly converted to json |
| - | data_bag_item | name of the databag item, inside the databag |

additional to the above the data structure, the key `id` is automaticly filled with the data_bag_item value
```
{ 
    "id": "{data_bag_item}", # automatically added
    "your_content": "data",
}
```

### terrajinja-cli example
the following is a code snipet you can used in a terrajinja-cli template file.
This creates a databag with the name `privoxy` and a databag item with the name `tst` and the specified content
```
terraform:
  resources:
    - task: privoxy-databag
      module: sbp.chef.data_bag_item
      parameters:
        data_bag_name: privoxy
        data_bag_item: tst
        content:
          permit_access_subnets:
            - 127.0.0.1
          whitelist: 
            - my.domain.com
```


History
-------

0.0.1 (14-03-2024)
---------------------

* First code creation
x-code 0.1.3
A package for coding assistant.
License: MIT

# x_code

**x_code** is a Python package that provides a command-line interface for interacting with coding assistant.

## Installation

You can install **x_code** via pip:

```bash
pip install x_code

Usage
After installing the package, you can use the x command-line interface (CLI) to interact with the endpoint.

Sending Questions
To send a question to the endpoint, use the following command:

bash
x_code "your question here"
This will send your question to the endpoint and print the response.

Endpoint URL
You can set the endpoint URL for the package using the --change-endpoint option. If you want to check the existing endpoint URL, you can use the --endpoint-url option. Here's how:

bash
x_code --change-endpoint
This will prompt you to enter a new endpoint URL. Once you enter the URL, it will be stored for future use.

bash
x_code --endpoint-url
This will display the existing endpoint URL if it's set.

Removing Endpoint URL
If you want to remove the stored endpoint URL, you can use the --remove-endpoint option:

bash
x_code --remove-endpoint
This will remove the stored endpoint URL.

Using Specific Endpoint URL
If you want to use a specific endpoint URL for a single command, you can specify it using the --endpoint-url option:

bash
x_code "your question here" --endpoint-url "http://example.com/endpoint"
This will send your question to the specified endpoint URL.

License
This project is licensed under the MIT License - see the LICENSE file for details.

This README provides comprehensive information about installing, configuring, and using the X package, including all the updates related to managing the endpoint URL.
pychassislib 0.4.4
A lightweight Python distributed microservice library
License: MIT
Requires Python: >=3.8

# pychassislib

[![Upload Python Package](https://github.com/Bryanthelol/pychassislib/actions/workflows/python-publish.yml/badge.svg)](https://github.com/Bryanthelol/pychassislib/actions/workflows/python-publish.yml)

A Python library for the lightweight distributed microservice system