Sdrdm

Latest version: v0.2.3

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

3.1

What's Changed
* Set default version to recent PyPI instead of `main` branch by JR-1991 in https://github.com/JR-1991/generate-sdrdm-api/pull/8

**Full Changelog**: https://github.com/JR-1991/generate-sdrdm-api/compare/v3...v3.1

v3
* Changed target branch from `linking-refactor` to `main`

**Full Changelog**: https://github.com/JR-1991/generate-sdrdm-api/compare/v2...v3

v2
What's Changed
* Fixes in default specifications path and example by torogi94 in https://github.com/JR-1991/generate-sdrdm-api/pull/5

New Contributors
* torogi94 made their first contribution in https://github.com/JR-1991/generate-sdrdm-api/pull/5

**Full Changelog**: https://github.com/JR-1991/generate-sdrdm-api/compare/v1...v2

v1
Software-driven RDM Python API Generator Action

![Tests](https://github.com/JR-1991/generate-sdrdm-api/actions/workflows/test_action.yml/badge.svg)

This is a GitHub Action that generates Python API's from sdRDM markdown schemes and pushes them to the repository.

> **Note:** If you want changes to be pushed to your repository, you need to grant action read and write access. This can be done in the `settings/actions` tab of your repository.

<p align="center" >
<img
src="https://i0.wp.com/user-images.githubusercontent.com/185122/115415646-1487b780-a1c5-11eb-99e2-1cafe81873b5.png?ssl=1"
width="600"
/>
</p>

Usage

yaml
Generates API and pushes it to the root of the repository
- name: Generate sdRDM library
uses: JR-1991/generate-sdrdm-apimain
with:
library_name: "MyLibraryName"
schema_path: "./path/to/schema"

Generates API and pushes it to the specified directory
- name: Generate sdRDM library
uses: JR-1991/generate-sdrdm-apimain
with:
library_name: "MyLibraryName"
schema_path: "./path/to/schema"
output_path: "./other/dir"

Generates API and does not push it to the repository
- name: Generate sdRDM library
uses: JR-1991/generate-sdrdm-apimain
with:
library_name: "MyLibraryName"
schema_path: "./path/to/schema"
push: "false"


Inputs

<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->

| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
|----------------------------------------------------------------------------|--------|----------|----------------------|---------------------------------------------------------|
| <a name="input_branch"></a>[branch](input_branch) | string | true | `"linking-refactor"` | The sdRDM branch to be <br>used for the generated API. |
| <a name="input_library_name"></a>[library_name](input_library_name) | string | true | `"unstable"` | The name of the library <br>to be generated. |
| <a name="input_out_dir"></a>[out_dir](input_out_dir) | string | true | `"./"` | Target directory for the generated <br>API. |
| <a name="input_push"></a>[push](input_push) | string | true | `"true"` | Push the generated API to <br>the specified branch. |
| <a name="input_schema"></a>[schema](input_schema) | string | true | `"false"` | Generate the sdRDM schema. |
| <a name="input_schema_out_dir"></a>[schema_out_dir](input_schema_out_dir) | string | true | `"./"` | Target directory for the generated <br>schema. |
| <a name="input_schema_path"></a>[schema_path](input_schema_path) | string | true | `"./specifcations/"` | Path to the sdRDM schema. |

<!-- AUTO-DOC-INPUT:END -->

0.4.1

* [Patch] - Fixed primitive list retrieval

**Full Changelog**: https://github.com/JR-1991/sdrdm-database/compare/v0.4.0...v0.4.1

0.4.0

What's Changed
* [Feature] - Addition of lists of base types by JR-1991 in https://github.com/JR-1991/sdrdm-database/pull/4
* [Patch] - ID handling for foreign and primary keys by JR-1991 in https://github.com/JR-1991/sdrdm-database/pull/5
* [Feature] - Added model recovery and changed ID handling by JR-1991 in https://github.com/JR-1991/sdrdm-database/pull/7
* [Feature] - Query database via model by JR-1991 in https://github.com/JR-1991/sdrdm-database/pull/8
* [Feature] - GraphQL server builder and improved dataset recovery by JR-1991 in https://github.com/JR-1991/sdrdm-database/pull/9
* [Feature] - CLI for database creation by JR-1991 in https://github.com/JR-1991/sdrdm-database/pull/10


**Full Changelog**: https://github.com/JR-1991/sdrdm-database/compare/v0.3.0...v0.4.0

0.3.0

What's Changed
* Data insertion by JR-1991 in https://github.com/JR-1991/sdrdm-database/pull/3

**Full Changelog**: https://github.com/JR-1991/sdrdm-database/compare/v0.2.0...v0.3.0

0.2.0

What's Changed
* Added test suite by JR-1991 in https://github.com/JR-1991/sdrdm-database/pull/2

**Full Changelog**: https://github.com/JR-1991/sdrdm-database/commits/v0.2.0

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.