Title: PyPlugger for PyScript
Author: Techno Cannon, MPA
Published: <strong>Èbìbí  10, 2022</strong>
Last modified: Èbìbí  10, 2022

---

Ṣàwárí àwọn plugin

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

![](https://ps.w.org/pyplugger-for-pyscript/assets/icon.svg?rev=2720912)

# PyPlugger for PyScript

 Láti ọwọ́ [Techno Cannon, MPA](https://profiles.wordpress.org/technocannon/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/pyplugger-for-pyscript.1.0.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/pyplugger-for-pyscript/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/pyplugger-for-pyscript/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/pyplugger-for-pyscript/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/pyplugger-for-pyscript/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/pyplugger-for-pyscript/)

## Àpèjúwe

PyPlugger for PyScript adds a link to the PyScript stylesheet and JavaScript source
file to the head and footer of your WordPress website and also deactivates the wptexturize
functions to remove syntax errors resulting from modified quotation marks.

## Àwọn àwòrán ìbòjú

 * [[
 * Installation & Activation of PyPlugger for PyScript
 * [[
 * PyScript Hello World Command Example
 * [[
 * PyScript Hello World Command Results
 * [[
 * Deactivate PyPlugger for PyScript
 * [[
 * Delete PyPlugger for PyScript

## Ìgbéwọlẹ̀

 1. Log in to your WordPress admin area.
 2. Navigate to the “Plugins” sidebar menu section and click “Add New”.
 3. In the search field type, “PyPlugger for PyScript” and click “Search Plugins”.
 4. Once youÌtumọ̀ Yorùbá: ’ve found the plugin, click the “Install Now” button.
 5. After it installs, click on the “Activate Plugin” link.

or

 1. Upload the plugin folder to your /wp-content/plugins/ folder.
 2. Go to the **Plugins** page and activate the plugin.

## FAQ

### What is PyScript

PyScript is a framework that allows users to create rich Python applications in 
the browser using HTML’s interface. PyScript aims to give users a first-class programming
language that has consistent styling rules, is more expressive, and is easier to
learn.

You can find out more about PyScript at: (https://pyscript.net/)

### How do I use the PyPlugger for PyScript?

Once activated, go to any page or post and enter Pythonic commands between the following
PyScript tags as HTML content:

    ```
    <py-script> </py-script>
    ```

For example, to print a “Hello World!” statement, you would enter the following 
as html content:

    ```
    <py-script> print('Hello World!') </py-script>
    ```

An additional feature to create an REPL: Read, Evaluate, Print, Loop component can
be rendered by using the following tag:

    ```
    <py-repl> </py-repl>
    ```

Then, on the end-user page, enter data for evaluation and then press SHIFT+ENTER
to compute.

### Are you or the PyPlugger for PyScript plugin associated with the official PyScript Organization?

No, neither I nor the PyPlugger for PyScript plugin are associated with the official
PyScript Organization nor any of its’ parent companies, sister companies, nor subsidiaries
which may include Pyodide or Anaconda Inc.

I developed the PyPlugger for PyScript plugin in adherence to the PyScriptÌtumọ̀
Yorùbá: ’s OrganizationÌtumọ̀ Yorùbá: ’s governance policy for use of its’ trademark
and open-source license, which can be found on their GitHub repository at the following
link: (https://github.com/pyscript/governance)

### Why did you develop the PyPlugger for PyScript plugin?

I developed the PyPlugger for PyScript plugin out of curiosity. I love a challenge
and wanted to see if it would work on one of my websites as this is the very first
plugin IÌtumọ̀ Yorùbá: ’ve ever developed for WordPress. I also wanted to make it
available free of charge as I am excited about learning Python and PHP, and I would
like to contribute to the software development community beyond Twitter and GitHub.
As a newbie freelance software developer, I thought this would also be a great opportunity
to add experience to my resume by publishing a plugin to the mostly widely used 
content management system in the world, one that IÌtumọ̀ Yorùbá: ’ve used for almost
a decade as a hobbyist Web Administrator and Front-End Web Developer, which is WordPress.

### Can I send you a donation?

I thought youÌtumọ̀ Yorùbá: ’d never ask, and you most certainly can! I would be
honored to accept your donation to further my learning experience in Software Development.
Please use the following link for your generous offer, and I humbly thank you with
great joy in advance:
 (https://technocannon.com/donate)

### How to uninstall the PyPlugger for PyScript plugin?

IÌtumọ̀ Yorùbá: ’m sorry you are unsatisfied with the PyPlugger for PyScript plugin.

Simply deactivate and delete the plugin.

I also ask that you leave some feedback if you can spare the time so I can learn
how to improve the PyPlugger for PyScript plugin.

## Àwọn àgbéyẹ̀wò

![](https://secure.gravatar.com/avatar/317e957492ffbbf5efa8488b9afcd15e66868a26afdb4be90575dbbc0a8dd63d?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-8313/)󠁿

 [Banjoo](https://profiles.wordpress.org/ozarc/) Òkúdù 12, 2022

Thanks a lot this works perfectly. I wanted to test running the Python REPL in a
WordPress post, using the HTML code, but it threw errors: JsException(PythonError:
Traceback (most recent call last): File "/lib/python3.10/site-packages/_pyodide/
_base.py", line 421, in eval_code CodeRunner( File "/lib/python3.10/site-packages/
_pyodide/_base.py", line 237, in __init__ self.ast = next(self._gen) File "/lib/
python3.10/site-packages/_pyodide/_base.py", line 141, in _parse_and_compile_gen
mod = compile(source, filename, mode, flags | ast.PyCF_ONLY_AST) File "", line 1
print(‘Test your code here’) ^ SyntaxError: invalid character '‘' (U+2018) ) Until
i installed this plugin. Now the REPL runs within a Wordpress post! Its crazy to
think what Pyscript is now capable of! Before i had to put static code into my WP
posts when writing a tutorial post, but now readers can test the code in real time.
Thanks a lot for the effort of putting this together

 [ Ka gbogbo àgbéyẹ̀wò 1 ](https://wordpress.org/support/plugin/pyplugger-for-pyscript/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“PyPlugger for PyScript” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti
ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ Techno Cannon, MPA ](https://profiles.wordpress.org/technocannon/)

[Túmọ̀ “PyPlugger for PyScript” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/pyplugger-for-pyscript)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/pyplugger-for-pyscript/),
ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/pyplugger-for-pyscript/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/pyplugger-for-pyscript/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/pyplugger-for-pyscript/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 1.0

_Released Ìtumọ̀ Yorùbá: – May 6 2022_

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.0**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 4 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **70+**
 *  Ẹ̀yà WordPress ** 5.9.3 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **5.9.13**
 *  Ẹ̀yà PHP ** 7.0 tàbí ju bẹ́ẹ̀ lọ **
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/pyplugger-for-pyscript/)
 * Àmì
 * [python](https://yor.wordpress.org/plugins/tags/python/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/pyplugger-for-pyscript/advanced/)

## Àwọn ìbò

 5 lára àwọn ìràwọ̀ 5.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/pyplugger-for-pyscript/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/pyplugger-for-pyscript/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/pyplugger-for-pyscript/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/pyplugger-for-pyscript/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/pyplugger-for-pyscript/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/pyplugger-for-pyscript/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/pyplugger-for-pyscript/reviews/)

## Àwọn Olùkópa

 *   [ Techno Cannon, MPA ](https://profiles.wordpress.org/technocannon/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/pyplugger-for-pyscript/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](https://technocannon.com/donate)