---
tags: [gradio-custom-component, Code, code, codebox, llm, coding]
title: gradio_customcode
short_description: Custom Code component that adds features to enhance usage with LLMs
colorFrom: blue
colorTo: yellow
sdk: gradio
pinned: false
app_file: space.py
---
# `gradio_customcode`
<img alt="Static Badge" src="https://img.shields.io/badge/version%20-%200.0.1%20-%20orange">
Custom Code component that adds features to enhance usage with LLMs
## Installation
```bash
pip install gradio_customcode
```
## Usage
```python
import json
import gradio as gr
from gradio_customcode import CustomCode
from sympy import cancel
def process_code(code_input):
print(f"PROCESS CODE FN: {code_input}")
return code_input.__dict__
def show_diff(text_input, code_data):
code = code_data.code
start, end = code_data.selected_code.start, code_data.selected_code.end
modified_code = code[:start] + text_input + code[end:]
return_dict = {"code": code, "diff": modified_code}
print(return_dict)
return return_dict
with gr.Blocks() as demo:
gr.Markdown("## Custom Code Component")
gr.Markdown("This demo shows how to use the `CustomCode` component to create a code editor with syntax highlighting and line numbering. You can also select a part of the code and click the `Generate Diff` button to see the diff between the selected code and the text input. Java syntax support has also been added")
with gr.Row():
with gr.Column():
txt = gr.Text(container=False, placeholder="New code to add")
with gr.Row():
apply_btn = gr.Button("Generate Diff")
accept_btn = gr.Button("Accept", variant='secondary')
cancel_btn = gr.Button("Cancel", variant='stop')
with gr.Column():
code = CustomCode(language='python', interactive=True)
lang = gr.Dropdown(choices=CustomCode.languages, value='python', label='Language')
gr.Markdown("The way we generate diffs is by modifying the value of the component. "
"Unlike the standalone `Code` component, the `CustomCode` component's value is a data model defined like so: \n"
"```python\nclass SelectedCode(GradioModel):\n\tstart: int = 0\n\tend: int = 0\n\ttext: str = \"\"\n\n"
"class CodeData(GradioModel):\n\tcode: str = \"\"\n\tselected_code: SelectedCode = SelectedCode()\n\tdiff: str = \"\"\n```\n"
"When using this component as an input to some function, be sure to properly access the fields of `CodeData`.\n"
"When using it as an output component, you can be a bit more flexible. If you just pass a string, it will behave like the standard `gr.Code` component. "
"However, to generate the diff view, you must pass a dictionary with keys 'code' (for the original code) and 'diff' (for the new code)."
"The diff view will be automatically generated, and will no longer be interactive regardless of the initial setting."
"The diff view can be exited by either passing a string as input to the component, or a dictionary where the value of 'diff' is an empty string or None"
)
codeout = gr.JSON(label="Processed Code Output")
# Update JSON and text output when button is clicked
code.change(
fn=lambda code: code.__dict__,
inputs=[code],
outputs=[codeout]
)
lang.change(
lambda lang: CustomCode(language=lang),
inputs=[lang],
outputs=[code]
)
apply_btn.click(
fn=show_diff,
inputs=[txt, code],
outputs=[code]
)
accept_btn.click(
fn=lambda code: code.diff,
inputs=[code],
outputs=[code]
)
cancel_btn.click(
fn=lambda code: code.code,
inputs=[code],
outputs=[code]
)
if __name__ == "__main__":
demo.launch()
```
## `CustomCode`
### Initialization
<table>
<thead>
<tr>
<th align="left">name</th>
<th align="left" style="width: 25%;">type</th>
<th align="left">default</th>
<th align="left">description</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"><code>value</code></td>
<td align="left" style="width: 25%;">
```python
str | Callable | tuple[str] | None
```
</td>
<td align="left"><code>None</code></td>
<td align="left">Default value to show in the code editor. If callable, the function will be called whenever the app loads to set the initial value of the component.</td>
</tr>
<tr>
<td align="left"><code>language</code></td>
<td align="left" style="width: 25%;">
```python
Literal[
"python",
"java",
"c",
"cpp",
"markdown",
"json",
"html",
"css",
"javascript",
"typescript",
"yaml",
"dockerfile",
"shell",
"r",
"sql",
"sql-msSQL",
"sql-mySQL",
"sql-mariaDB",
"sql-sqlite",
"sql-cassandra",
"sql-plSQL",
"sql-hive",
"sql-pgSQL",
"sql-gql",
"sql-gpSQL",
"sql-sparkSQL",
"sql-esper",
]
| None
```
</td>
<td align="left"><code>None</code></td>
<td align="left">The language to display the code as. Supported languages listed in `gr.Code.languages`.</td>
</tr>
<tr>
<td align="left"><code>every</code></td>
<td align="left" style="width: 25%;">
```python
Timer | float | None
```
</td>
<td align="left"><code>None</code></td>
<td align="left">Continously calls `value` to recalculate it if `value` is a function (has no effect otherwise). Can provide a Timer whose tick resets `value`, or a float that provides the regular interval for the reset Timer.</td>
</tr>
<tr>
<td align="left"><code>inputs</code></td>
<td align="left" style="width: 25%;">
```python
Component | Sequence[Component] | set[Component] | None
```
</td>
<td align="left"><code>None</code></td>
<td align="left">Components that are used as inputs to calculate `value` if `value` is a function (has no effect otherwise). `value` is recalculated any time the inputs change.</td>
</tr>
<tr>
<td align="left"><code>lines</code></td>
<td align="left" style="width: 25%;">
```python
int
```
</td>
<td align="left"><code>5</code></td>
<td align="left">None</td>
</tr>
<tr>
<td align="left"><code>label</code></td>
<td align="left" style="width: 25%;">
```python
str | None
```
</td>
<td align="left"><code>None</code></td>
<td align="left">The label for this component. Appears above the component and is also used as the header if there are a table of examples for this component. If None and used in a `gr.Interface`, the label will be the name of the parameter this component is assigned to.</td>
</tr>
<tr>
<td align="left"><code>interactive</code></td>
<td align="left" style="width: 25%;">
```python
bool | None
```
</td>
<td align="left"><code>None</code></td>
<td align="left">Whether user should be able to enter code or only view it.</td>
</tr>
<tr>
<td align="left"><code>show_label</code></td>
<td align="left" style="width: 25%;">
```python
bool | None
```
</td>
<td align="left"><code>None</code></td>
<td align="left">if True, will display label.</td>
</tr>
<tr>
<td align="left"><code>container</code></td>
<td align="left" style="width: 25%;">
```python
bool
```
</td>
<td align="left"><code>True</code></td>
<td align="left">If True, will place the component in a container - providing some extra padding around the border.</td>
</tr>
<tr>
<td align="left"><code>scale</code></td>
<td align="left" style="width: 25%;">
```python
int | None
```
</td>
<td align="left"><code>None</code></td>
<td align="left">relative size compared to adjacent Components. For example if Components A and B are in a Row, and A has scale=2, and B has scale=1, A will be twice as wide as B. Should be an integer. scale applies in Rows, and to top-level Components in Blocks where fill_height=True.</td>
</tr>
<tr>
<td align="left"><code>min_width</code></td>
<td align="left" style="width: 25%;">
```python
int
```
</td>
<td align="left"><code>160</code></td>
<td align="left">minimum pixel width, will wrap if not sufficient screen space to satisfy this value. If a certain scale value results in this Component being narrower than min_width, the min_width parameter will be respected first.</td>
</tr>
<tr>
<td align="left"><code>visible</code></td>
<td align="left" style="width: 25%;">
```python
bool
```
</td>
<td align="left"><code>True</code></td>
<td align="left">If False, component will be hidden.</td>
</tr>
<tr>
<td align="left"><code>elem_id</code></td>
<td align="left" style="width: 25%;">
```python
str | None
```
</td>
<td align="left"><code>None</code></td>
<td align="left">An optional string that is assigned as the id of this component in the HTML DOM. Can be used for targeting CSS styles.</td>
</tr>
<tr>
<td align="left"><code>elem_classes</code></td>
<td align="left" style="width: 25%;">
```python
list[str] | str | None
```
</td>
<td align="left"><code>None</code></td>
<td align="left">An optional list of strings that are assigned as the classes of this component in the HTML DOM. Can be used for targeting CSS styles.</td>
</tr>
<tr>
<td align="left"><code>render</code></td>
<td align="left" style="width: 25%;">
```python
bool
```
</td>
<td align="left"><code>True</code></td>
<td align="left">If False, component will not render be rendered in the Blocks context. Should be used if the intention is to assign event listeners now but render the component later.</td>
</tr>
<tr>
<td align="left"><code>key</code></td>
<td align="left" style="width: 25%;">
```python
int | str | None
```
</td>
<td align="left"><code>None</code></td>
<td align="left">if assigned, will be used to assume identity across a re-render. Components that have the same key across a re-render will have their value preserved.</td>
</tr>
</tbody></table>
### Events
| name | description |
|:-----|:------------|
| `change` | Triggered when the value of the CustomCode changes either because of user input (e.g. a user types in a textbox) OR because of a function update (e.g. an image receives a value from the output of an event trigger). See `.input()` for a listener that is only triggered by user input. |
| `input` | This listener is triggered when the user changes the value of the CustomCode. |
| `focus` | This listener is triggered when the CustomCode is focused. |
| `blur` | This listener is triggered when the CustomCode is unfocused/blurred. |
### User function
The impact on the users predict function varies depending on whether the component is used as an input or output for an event (or both).
- When used as an Input, the component only impacts the input signature of the user function.
- When used as an output, the component only impacts the return signature of the user function.
The code snippet below is accurate in cases where the component is used as both an input and an output.
- **As output:** Is passed, passes the code entered as a `str`.
- **As input:** Should return, expects a `str` of code or a single-element `tuple`: (filepath,) with the `str` path to a file containing the code.
```python
def predict(
value: CodeData
) -> tuple[str] | str | dict | None:
return value
```
## `CodeData`
```python
class CodeData(GradioModel):
code: str = ""
selected_code: SelectedCode = SelectedCode()
diff: str = ""
```
## `SelectedCode`
```python
class SelectedCode(GradioModel):
start: int = 0
end: int = 0
text: str = ""
```
Raw data
{
"_id": null,
"home_page": null,
"name": "gradio-customcode",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "code, codebox, coding, gradio-custom-component, gradio-template-Code, llm",
"author": null,
"author_email": "YOUR NAME <YOUREMAIL@domain.com>",
"download_url": "https://files.pythonhosted.org/packages/9b/51/198baeb88fb8386412360deed146ca4e336d2ecf2a4ea20dbce8164d0874/gradio_customcode-0.0.4.tar.gz",
"platform": null,
"description": "---\ntags: [gradio-custom-component, Code, code, codebox, llm, coding]\ntitle: gradio_customcode\nshort_description: Custom Code component that adds features to enhance usage with LLMs\ncolorFrom: blue\ncolorTo: yellow\nsdk: gradio\npinned: false\napp_file: space.py\n---\n\n# `gradio_customcode`\n<img alt=\"Static Badge\" src=\"https://img.shields.io/badge/version%20-%200.0.1%20-%20orange\"> \n\nCustom Code component that adds features to enhance usage with LLMs\n\n## Installation\n\n```bash\npip install gradio_customcode\n```\n\n## Usage\n\n```python\nimport json\nimport gradio as gr\nfrom gradio_customcode import CustomCode\nfrom sympy import cancel\n\ndef process_code(code_input):\n print(f\"PROCESS CODE FN: {code_input}\")\n return code_input.__dict__\n\ndef show_diff(text_input, code_data):\n code = code_data.code\n start, end = code_data.selected_code.start, code_data.selected_code.end\n modified_code = code[:start] + text_input + code[end:]\n return_dict = {\"code\": code, \"diff\": modified_code}\n print(return_dict)\n return return_dict\n\nwith gr.Blocks() as demo:\n gr.Markdown(\"## Custom Code Component\")\n gr.Markdown(\"This demo shows how to use the `CustomCode` component to create a code editor with syntax highlighting and line numbering. You can also select a part of the code and click the `Generate Diff` button to see the diff between the selected code and the text input. Java syntax support has also been added\")\n with gr.Row():\n with gr.Column():\n txt = gr.Text(container=False, placeholder=\"New code to add\")\n with gr.Row():\n apply_btn = gr.Button(\"Generate Diff\")\n accept_btn = gr.Button(\"Accept\", variant='secondary')\n cancel_btn = gr.Button(\"Cancel\", variant='stop')\n with gr.Column():\n code = CustomCode(language='python', interactive=True)\n lang = gr.Dropdown(choices=CustomCode.languages, value='python', label='Language')\n\n gr.Markdown(\"The way we generate diffs is by modifying the value of the component. \"\n \"Unlike the standalone `Code` component, the `CustomCode` component's value is a data model defined like so: \\n\"\n \"```python\\nclass SelectedCode(GradioModel):\\n\\tstart: int = 0\\n\\tend: int = 0\\n\\ttext: str = \\\"\\\"\\n\\n\"\n \"class CodeData(GradioModel):\\n\\tcode: str = \\\"\\\"\\n\\tselected_code: SelectedCode = SelectedCode()\\n\\tdiff: str = \\\"\\\"\\n```\\n\"\n \"When using this component as an input to some function, be sure to properly access the fields of `CodeData`.\\n\"\n \"When using it as an output component, you can be a bit more flexible. If you just pass a string, it will behave like the standard `gr.Code` component. \"\n \"However, to generate the diff view, you must pass a dictionary with keys 'code' (for the original code) and 'diff' (for the new code).\"\n \"The diff view will be automatically generated, and will no longer be interactive regardless of the initial setting.\"\n \"The diff view can be exited by either passing a string as input to the component, or a dictionary where the value of 'diff' is an empty string or None\"\n )\n\n\n codeout = gr.JSON(label=\"Processed Code Output\")\n\n # Update JSON and text output when button is clicked\n code.change(\n fn=lambda code: code.__dict__,\n inputs=[code],\n outputs=[codeout]\n )\n\n lang.change(\n lambda lang: CustomCode(language=lang),\n inputs=[lang],\n outputs=[code]\n )\n \n apply_btn.click(\n fn=show_diff,\n inputs=[txt, code],\n outputs=[code]\n )\n accept_btn.click(\n fn=lambda code: code.diff,\n inputs=[code],\n outputs=[code]\n )\n cancel_btn.click(\n fn=lambda code: code.code,\n inputs=[code],\n outputs=[code]\n )\n\nif __name__ == \"__main__\":\n demo.launch()\n```\n\n## `CustomCode`\n\n### Initialization\n\n<table>\n<thead>\n<tr>\n<th align=\"left\">name</th>\n<th align=\"left\" style=\"width: 25%;\">type</th>\n<th align=\"left\">default</th>\n<th align=\"left\">description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td align=\"left\"><code>value</code></td>\n<td align=\"left\" style=\"width: 25%;\">\n\n```python\nstr | Callable | tuple[str] | None\n```\n\n</td>\n<td align=\"left\"><code>None</code></td>\n<td align=\"left\">Default value to show in the code editor. If callable, the function will be called whenever the app loads to set the initial value of the component.</td>\n</tr>\n\n<tr>\n<td align=\"left\"><code>language</code></td>\n<td align=\"left\" style=\"width: 25%;\">\n\n```python\nLiteral[\n \"python\",\n \"java\",\n \"c\",\n \"cpp\",\n \"markdown\",\n \"json\",\n \"html\",\n \"css\",\n \"javascript\",\n \"typescript\",\n \"yaml\",\n \"dockerfile\",\n \"shell\",\n \"r\",\n \"sql\",\n \"sql-msSQL\",\n \"sql-mySQL\",\n \"sql-mariaDB\",\n \"sql-sqlite\",\n \"sql-cassandra\",\n \"sql-plSQL\",\n \"sql-hive\",\n \"sql-pgSQL\",\n \"sql-gql\",\n \"sql-gpSQL\",\n \"sql-sparkSQL\",\n \"sql-esper\",\n ]\n | None\n```\n\n</td>\n<td align=\"left\"><code>None</code></td>\n<td align=\"left\">The language to display the code as. Supported languages listed in `gr.Code.languages`.</td>\n</tr>\n\n<tr>\n<td align=\"left\"><code>every</code></td>\n<td align=\"left\" style=\"width: 25%;\">\n\n```python\nTimer | float | None\n```\n\n</td>\n<td align=\"left\"><code>None</code></td>\n<td align=\"left\">Continously calls `value` to recalculate it if `value` is a function (has no effect otherwise). Can provide a Timer whose tick resets `value`, or a float that provides the regular interval for the reset Timer.</td>\n</tr>\n\n<tr>\n<td align=\"left\"><code>inputs</code></td>\n<td align=\"left\" style=\"width: 25%;\">\n\n```python\nComponent | Sequence[Component] | set[Component] | None\n```\n\n</td>\n<td align=\"left\"><code>None</code></td>\n<td align=\"left\">Components that are used as inputs to calculate `value` if `value` is a function (has no effect otherwise). `value` is recalculated any time the inputs change.</td>\n</tr>\n\n<tr>\n<td align=\"left\"><code>lines</code></td>\n<td align=\"left\" style=\"width: 25%;\">\n\n```python\nint\n```\n\n</td>\n<td align=\"left\"><code>5</code></td>\n<td align=\"left\">None</td>\n</tr>\n\n<tr>\n<td align=\"left\"><code>label</code></td>\n<td align=\"left\" style=\"width: 25%;\">\n\n```python\nstr | None\n```\n\n</td>\n<td align=\"left\"><code>None</code></td>\n<td align=\"left\">The label for this component. Appears above the component and is also used as the header if there are a table of examples for this component. If None and used in a `gr.Interface`, the label will be the name of the parameter this component is assigned to.</td>\n</tr>\n\n<tr>\n<td align=\"left\"><code>interactive</code></td>\n<td align=\"left\" style=\"width: 25%;\">\n\n```python\nbool | None\n```\n\n</td>\n<td align=\"left\"><code>None</code></td>\n<td align=\"left\">Whether user should be able to enter code or only view it.</td>\n</tr>\n\n<tr>\n<td align=\"left\"><code>show_label</code></td>\n<td align=\"left\" style=\"width: 25%;\">\n\n```python\nbool | None\n```\n\n</td>\n<td align=\"left\"><code>None</code></td>\n<td align=\"left\">if True, will display label.</td>\n</tr>\n\n<tr>\n<td align=\"left\"><code>container</code></td>\n<td align=\"left\" style=\"width: 25%;\">\n\n```python\nbool\n```\n\n</td>\n<td align=\"left\"><code>True</code></td>\n<td align=\"left\">If True, will place the component in a container - providing some extra padding around the border.</td>\n</tr>\n\n<tr>\n<td align=\"left\"><code>scale</code></td>\n<td align=\"left\" style=\"width: 25%;\">\n\n```python\nint | None\n```\n\n</td>\n<td align=\"left\"><code>None</code></td>\n<td align=\"left\">relative size compared to adjacent Components. For example if Components A and B are in a Row, and A has scale=2, and B has scale=1, A will be twice as wide as B. Should be an integer. scale applies in Rows, and to top-level Components in Blocks where fill_height=True.</td>\n</tr>\n\n<tr>\n<td align=\"left\"><code>min_width</code></td>\n<td align=\"left\" style=\"width: 25%;\">\n\n```python\nint\n```\n\n</td>\n<td align=\"left\"><code>160</code></td>\n<td align=\"left\">minimum pixel width, will wrap if not sufficient screen space to satisfy this value. If a certain scale value results in this Component being narrower than min_width, the min_width parameter will be respected first.</td>\n</tr>\n\n<tr>\n<td align=\"left\"><code>visible</code></td>\n<td align=\"left\" style=\"width: 25%;\">\n\n```python\nbool\n```\n\n</td>\n<td align=\"left\"><code>True</code></td>\n<td align=\"left\">If False, component will be hidden.</td>\n</tr>\n\n<tr>\n<td align=\"left\"><code>elem_id</code></td>\n<td align=\"left\" style=\"width: 25%;\">\n\n```python\nstr | None\n```\n\n</td>\n<td align=\"left\"><code>None</code></td>\n<td align=\"left\">An optional string that is assigned as the id of this component in the HTML DOM. Can be used for targeting CSS styles.</td>\n</tr>\n\n<tr>\n<td align=\"left\"><code>elem_classes</code></td>\n<td align=\"left\" style=\"width: 25%;\">\n\n```python\nlist[str] | str | None\n```\n\n</td>\n<td align=\"left\"><code>None</code></td>\n<td align=\"left\">An optional list of strings that are assigned as the classes of this component in the HTML DOM. Can be used for targeting CSS styles.</td>\n</tr>\n\n<tr>\n<td align=\"left\"><code>render</code></td>\n<td align=\"left\" style=\"width: 25%;\">\n\n```python\nbool\n```\n\n</td>\n<td align=\"left\"><code>True</code></td>\n<td align=\"left\">If False, component will not render be rendered in the Blocks context. Should be used if the intention is to assign event listeners now but render the component later.</td>\n</tr>\n\n<tr>\n<td align=\"left\"><code>key</code></td>\n<td align=\"left\" style=\"width: 25%;\">\n\n```python\nint | str | None\n```\n\n</td>\n<td align=\"left\"><code>None</code></td>\n<td align=\"left\">if assigned, will be used to assume identity across a re-render. Components that have the same key across a re-render will have their value preserved.</td>\n</tr>\n</tbody></table>\n\n\n### Events\n\n| name | description |\n|:-----|:------------|\n| `change` | Triggered when the value of the CustomCode changes either because of user input (e.g. a user types in a textbox) OR because of a function update (e.g. an image receives a value from the output of an event trigger). See `.input()` for a listener that is only triggered by user input. |\n| `input` | This listener is triggered when the user changes the value of the CustomCode. |\n| `focus` | This listener is triggered when the CustomCode is focused. |\n| `blur` | This listener is triggered when the CustomCode is unfocused/blurred. |\n\n\n\n### User function\n\nThe impact on the users predict function varies depending on whether the component is used as an input or output for an event (or both).\n\n- When used as an Input, the component only impacts the input signature of the user function.\n- When used as an output, the component only impacts the return signature of the user function.\n\nThe code snippet below is accurate in cases where the component is used as both an input and an output.\n\n- **As output:** Is passed, passes the code entered as a `str`.\n- **As input:** Should return, expects a `str` of code or a single-element `tuple`: (filepath,) with the `str` path to a file containing the code.\n\n ```python\n def predict(\n value: CodeData\n ) -> tuple[str] | str | dict | None:\n return value\n ```\n \n\n## `CodeData`\n```python\nclass CodeData(GradioModel):\n code: str = \"\"\n selected_code: SelectedCode = SelectedCode()\n diff: str = \"\"\n```\n\n## `SelectedCode`\n```python\nclass SelectedCode(GradioModel):\n start: int = 0\n end: int = 0\n text: str = \"\"\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Custom Code component that adds features to enhance usage with LLMs",
"version": "0.0.4",
"project_urls": null,
"split_keywords": [
"code",
" codebox",
" coding",
" gradio-custom-component",
" gradio-template-code",
" llm"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3f77cb31c8685ee265816e4f5676527fc88a6f48b88e2280bd7bb5dd19a96664",
"md5": "1556f192da9f134a46e605fff3e30b10",
"sha256": "aad871b6702b8c19b20d1c05e8720f24cf638ef7ec369ec1be03c20e6e41352c"
},
"downloads": -1,
"filename": "gradio_customcode-0.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1556f192da9f134a46e605fff3e30b10",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 383121,
"upload_time": "2024-08-10T06:18:10",
"upload_time_iso_8601": "2024-08-10T06:18:10.366700Z",
"url": "https://files.pythonhosted.org/packages/3f/77/cb31c8685ee265816e4f5676527fc88a6f48b88e2280bd7bb5dd19a96664/gradio_customcode-0.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9b51198baeb88fb8386412360deed146ca4e336d2ecf2a4ea20dbce8164d0874",
"md5": "76ab4b80a778bb5ffabda8664258b124",
"sha256": "5f265ae18f6697cce2d5162cf1f7eaeb25383545e5faf983ed32b044e6c92731"
},
"downloads": -1,
"filename": "gradio_customcode-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "76ab4b80a778bb5ffabda8664258b124",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 431943,
"upload_time": "2024-08-10T06:18:12",
"upload_time_iso_8601": "2024-08-10T06:18:12.661433Z",
"url": "https://files.pythonhosted.org/packages/9b/51/198baeb88fb8386412360deed146ca4e336d2ecf2a4ea20dbce8164d0874/gradio_customcode-0.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-10 06:18:12",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "gradio-customcode"
}