Skip to content

markelovstyle/vk-schema-codegen

 
 

Repository files navigation

vk-schema-codegen

This CLI application needs for generating Python code on base VK API schema.

Installation

For installing you need to have installed Python 3.8+. Then you need to install dependencies:

pip install -r requirements/requirements.txt

Or you can use poetry:

poetry install

Usage

Command python -m src show help message:

Usage: __main__.py [OPTIONS] COMMAND [ARGS]...

Options:
  -o, --output-dir DIRECTORY  Directory to save the output files  [default:
                              output]
  -i, --input-dir DIRECTORY   Directory with the schemas of API methods
                              [default: vk-api-schema]
  --help                      Show this message and exit.

Commands:
  objects  Generate objects from API schema

Generate objects

For generating objects you need to run the following command:

python -m src objects

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%