semvec/pypi-packages huggingface dataset:
d3-scripts 0.1.0
Utility scripts for ManySecured-D3 claims
Requires Python: >=3.8,<4

# ManySecured d3-scripts

Utility scripts for ManySecured-D3 claims

## Installation

These utility scripts require Python to use.

When developing these scripts, [Python Poetry](https://python-poetry.org/)
is used to install and manage dependencies, however,
in future, `poetry` will be used to publish these scripts in a format
that any Python package manager can understand (e.g. `pip`-compatable).

Poetry will create a python isolated virtual environment in the `./.venv` folder and install dependencies if you run:

```bash
poetry install
```

You cannot run scripts directly from the `./src/d3-scripts` since we are using [Python relative imports](https://realpython.com/absolute-vs-relative-python-imports/#relative-imports).

Instead, you must run a script defined in the `[tool.poetry.scripts]` field of [`pyproject.toml`](./pyproject.toml):

## Usage

D3 Linter

```console
alois@nqm-alois-entroware:~/Documents/ManySecured-D3DB/d3-scripts$ poetry run d3lint --help
usage: d3lint [-h] D3_FILE [D3_FILE ...]

Lint D3 files for YAML syntax errors

positional arguments:
  D3_FILE     Files to lint

options:
  -h, --help  show this help message and exit

Example: d3_lint.py *.d3
```

## Tests

Tests can be run via:

```bash
poetry run pytest
```
kcf-tools 0.1.5
CLI tools for generating documentation and config schemas for Keboola Component development
Requires Python: >=3.7


<code>kcf-tools</code> is a CLI tool for making Python Component development for Keboola Connection faster and easier.

PYPI project : [https://pypi.org/project/kcf-tools/](https://pypi.org/project/kcf-tools/)

It provides the following functionality;

* Generating Configuration Schemas for the UI of Keboola Components
* Generating ReadMe files for Keboola Components
* Generating documentation for Keboola Components for help.keboola.com
* Generating key definitions for parameters of Keboola Components
* Generating a client skeleton for Keboola Components

# Installation

The package may be installed via PIP:

 ```
pip install kcf-tools
```

# Functionality

The CLI provides multiple subcommands for various tasks for information on all subcommands run:

 ```
kcf-tools -h
```

## Generate subcommand

The generate subcommand is used for generating various files for you component. To list all possible **generate**
commands run:

 ```
kcf-tools generate -h
```

### Generate ReadMe

The readme generator uses the component config to generate a readme file. The readme file is then saved in
generated/readme directory. To generate a readme run:

 ```
kcf-tools generate readme
```

If you want to write directly to your component ReadMe then add the tag <code>-w</code>:

 ```
kcf-tools generate readme -w
```

### Help Documentation Generator

The doc generator uses the component config to generate an index.md in the necessary directory. The documentation files
are then saved in generated directory. To generate a docs run:

 ```
kcf-tools generate docs
```

### Config Schema Generator

The Config Schema Generator will take the parameters in the config.json and create a config schema and config row schema
based on some questions answered with the cli tool. The config schemas are saved to a "generated/config_schemas"
directory. To generate your config schemas run :

 ```
kcf-tools generate config_schema
```

If you want to write directly to your component "component_config" directory then add the tag <code>-w</code>:

 ```
kcf-tools generate config_schema -w
```

### Key Definition Generator

The Key Definition Generator will use the config.json file to generate all key definitions. These will then be printed
to the command line. To generate your key definitions run :

 ```
kcf-tools generate key_definitions
```

### Client Generator

The Client Generator will generate a skeleton for your component client with the Keboola Http-Client library. The
Client will be saved to the "generated/client" directory. To generate a client run:

 ```
kcf-tools generate client
```
If you want to write directly to your component src directory then add the tag <code>-w</code>:

 ```
kcf-tools generate client -w
```