0.1.5 • Published 2 years ago

pyscript-ng v0.1.5

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Getting started

Installation

NPM:

npm i  pyscript-ng

Usage

To use the app-py-script component in your Angular application, follow these steps:

  1. Import the PyScriptModule into your main module (e.g. AppModule).
  2. In your HTML template, use the app-py-script tag to display the Python script, passing the script as a string value to the script input.

Example:

<app-py-script [script]="'print(\'Hello, World!\')'"></app-py-script>

And that's it! The app-py-script component will display the Python script provided in the input.

šŸ¤ Contributing

Contributions, issues and feature requests are welcome!Feel free to check issues page.

Show your support

Give a ā­ļø if this project helped you!

Or buy me a coffee šŸ™ŒšŸ¾

šŸ“ License

Copyright Ā© 2023 Hebert F Barros. This project is MIT licensed.