Skip to content

Add support for compiler API #14

@wallneradam

Description

@wallneradam

Ability to connect PyneCore to PyneSys API and compile from CLI

  • Create an API client for PyneAPI
  • Get API key from config file
  • Check API key expiration (JWT format, so it is easy)
  • Implement https://api.pynesys.io/docs#/Compiler/compile_script
  • Make the CLI command to compile .pine files automatically to PyneCore through API
  • After compilation, the .py file must have the same modification time as the .pine
  • Compile only when the .pine has changed
  • On error it should show nice error. E.g. When the limits are reached
  • If no API keys specified. It should show link to pynesys.io and should inform user nicely
  • Update documentation with this feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions