Skip to content

Commit

Permalink
generateReadme: Refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Aug 28, 2023
1 parent 9c44a44 commit cb7241a
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 116 deletions.
48 changes: 24 additions & 24 deletions .github/push_templates_to_algolia.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
"id": "aa0e3e6f-1260-4452-8abf-7c084e26c8a4",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:11:08.464285Z",
"iopub.status.busy": "2023-08-28T16:11:08.463988Z",
"iopub.status.idle": "2023-08-28T16:11:08.542718Z",
"shell.execute_reply": "2023-08-28T16:11:08.541624Z"
"iopub.execute_input": "2023-08-28T16:15:47.671568Z",
"iopub.status.busy": "2023-08-28T16:15:47.671266Z",
"iopub.status.idle": "2023-08-28T16:15:47.753079Z",
"shell.execute_reply": "2023-08-28T16:15:47.751953Z"
},
"papermill": {},
"tags": []
Expand Down Expand Up @@ -95,10 +95,10 @@
"id": "cfa97168-63eb-4e8c-89c3-0a5d26f47740",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:11:08.547431Z",
"iopub.status.busy": "2023-08-28T16:11:08.547091Z",
"iopub.status.idle": "2023-08-28T16:11:08.552001Z",
"shell.execute_reply": "2023-08-28T16:11:08.551155Z"
"iopub.execute_input": "2023-08-28T16:15:47.758885Z",
"iopub.status.busy": "2023-08-28T16:15:47.758562Z",
"iopub.status.idle": "2023-08-28T16:15:47.763310Z",
"shell.execute_reply": "2023-08-28T16:15:47.762350Z"
},
"papermill": {},
"tags": []
Expand Down Expand Up @@ -141,10 +141,10 @@
"id": "7a9c86c2-931d-4113-abbc-31b3f517b6c4",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:11:08.555997Z",
"iopub.status.busy": "2023-08-28T16:11:08.555647Z",
"iopub.status.idle": "2023-08-28T16:11:08.571717Z",
"shell.execute_reply": "2023-08-28T16:11:08.570804Z"
"iopub.execute_input": "2023-08-28T16:15:47.767814Z",
"iopub.status.busy": "2023-08-28T16:15:47.767419Z",
"iopub.status.idle": "2023-08-28T16:15:47.784786Z",
"shell.execute_reply": "2023-08-28T16:15:47.783653Z"
},
"tags": []
},
Expand Down Expand Up @@ -178,10 +178,10 @@
"id": "c50e96b2-4403-413c-a99a-9243be0c0a04",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:11:08.576283Z",
"iopub.status.busy": "2023-08-28T16:11:08.575537Z",
"iopub.status.idle": "2023-08-28T16:11:09.064933Z",
"shell.execute_reply": "2023-08-28T16:11:09.063922Z"
"iopub.execute_input": "2023-08-28T16:15:47.789677Z",
"iopub.status.busy": "2023-08-28T16:15:47.789385Z",
"iopub.status.idle": "2023-08-28T16:15:48.335386Z",
"shell.execute_reply": "2023-08-28T16:15:48.334318Z"
},
"tags": []
},
Expand Down Expand Up @@ -230,10 +230,10 @@
"id": "da661ba3-fd15-4abc-bd4f-d13ae77b82b0",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:11:09.069505Z",
"iopub.status.busy": "2023-08-28T16:11:09.068843Z",
"iopub.status.idle": "2023-08-28T16:11:09.657546Z",
"shell.execute_reply": "2023-08-28T16:11:09.656219Z"
"iopub.execute_input": "2023-08-28T16:15:48.340473Z",
"iopub.status.busy": "2023-08-28T16:15:48.340068Z",
"iopub.status.idle": "2023-08-28T16:15:48.967645Z",
"shell.execute_reply": "2023-08-28T16:15:48.966503Z"
},
"tags": []
},
Expand All @@ -260,10 +260,10 @@
"id": "f1482a8f-4ce5-4e04-93c8-ddd883375d67",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:11:09.662512Z",
"iopub.status.busy": "2023-08-28T16:11:09.662224Z",
"iopub.status.idle": "2023-08-28T16:11:09.684280Z",
"shell.execute_reply": "2023-08-28T16:11:09.683246Z"
"iopub.execute_input": "2023-08-28T16:15:48.972754Z",
"iopub.status.busy": "2023-08-28T16:15:48.971985Z",
"iopub.status.idle": "2023-08-28T16:15:48.995806Z",
"shell.execute_reply": "2023-08-28T16:15:48.994776Z"
},
"tags": []
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"tags": []
},
"source": [
"# Python - Calculate the percentage of similarity between two strings"
"# Python - Calculate the percentage of similarity between two strings\n",
"<a href=\"https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Python/Python_Calculate_the_percentage_of_similarity_between_two_strings.ipynb\" target=\"_parent\"><img src=\"https://naasai-public.s3.eu-west-3.amazonaws.com/Open_in_Naas_Lab.svg\"/></a><br><br><a href=\"https://bit.ly/3JyWIk6\">Give Feedback</a> | <a href=\"https://github.com/jupyter-naas/awesome-notebooks/issues/new?assignees=&labels=bug&template=bug_report.md&title=Python+-+Calculate+the+percentage+of+similarity+between+two+strings:+Error+short+description\">Bug report</a>"
]
},
{
Expand Down Expand Up @@ -106,13 +107,6 @@
"execution_count": 1,
"id": "2af558f4-171c-4e44-bce2-01e268a3f60c",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:11:31.921900Z",
"iopub.status.busy": "2023-08-28T16:11:31.921461Z",
"iopub.status.idle": "2023-08-28T16:11:31.931882Z",
"shell.execute_reply": "2023-08-28T16:11:31.931377Z",
"shell.execute_reply.started": "2023-08-28T16:11:31.921828Z"
},
"papermill": {},
"tags": []
},
Expand All @@ -139,13 +133,6 @@
"execution_count": 2,
"id": "15b3e45d-ca5f-457f-9c86-ae3256040c3a",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:11:31.933238Z",
"iopub.status.busy": "2023-08-28T16:11:31.932851Z",
"iopub.status.idle": "2023-08-28T16:11:32.129519Z",
"shell.execute_reply": "2023-08-28T16:11:32.128837Z",
"shell.execute_reply.started": "2023-08-28T16:11:31.933208Z"
},
"papermill": {},
"tags": []
},
Expand Down Expand Up @@ -182,28 +169,10 @@
"execution_count": 3,
"id": "8a644d8b-bf3d-4523-a5a4-fd1379e78245",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:11:32.131149Z",
"iopub.status.busy": "2023-08-28T16:11:32.130641Z",
"iopub.status.idle": "2023-08-28T16:11:32.261613Z",
"shell.execute_reply": "2023-08-28T16:11:32.260951Z",
"shell.execute_reply.started": "2023-08-28T16:11:32.131113Z"
},
"papermill": {},
"tags": []
},
"outputs": [
{
"data": {
"text/plain": [
"0.9565217391304348"
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"def similarity(a, b):\n",
" return SequenceMatcher(None, a, b).ratio()\n",
Expand Down Expand Up @@ -239,25 +208,10 @@
"execution_count": 4,
"id": "4f55cd0c-8b53-4b86-a851-98ee38c7179f",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:11:32.262876Z",
"iopub.status.busy": "2023-08-28T16:11:32.262642Z",
"iopub.status.idle": "2023-08-28T16:11:32.383664Z",
"shell.execute_reply": "2023-08-28T16:11:32.382975Z",
"shell.execute_reply.started": "2023-08-28T16:11:32.262845Z"
},
"papermill": {},
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The percentage of similarity between 'Hello World' and 'Hello World!' is 95.65%\n"
]
}
],
"outputs": [],
"source": [
"# Display the percentage of similarity between two strings\n",
"print(\n",
Expand Down Expand Up @@ -295,6 +249,16 @@
"pygments_lexer": "ipython3",
"version": "3.9.6"
},
"naas": {
"notebook_id": "f4efb27c8503f52f1198dec50fc0602cc6147fa541b8869da617593b6cf6e43c",
"notebook_path": "Python/Python_Calculate_the_percentage_of_similarity_between_two_strings.ipynb"
},
"papermill": {
"default_parameters": {},
"environment_variables": {},
"parameters": {},
"version": "2.4.0"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"state": {},
Expand All @@ -305,4 +269,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,7 @@ We are committed to sharing templates and giving shout outs to the contributors
* [Get release dates from package](https://github.com/jupyter-naas/awesome-notebooks/blob/master/PyPI/PyPI_Get_release_dates_from_package.ipynb)

## Python
* [Calculate the percentage of similarity between two strings](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Python/Python_Calculate_the_percentage_of_similarity_between_two_strings.ipynb)
* [Check if string is number](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Python/Python_Check_if_string_is_number.ipynb)
* [Clean your download folder](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Python/Python_Clean_your_download_folder.ipynb)
* [Compress images](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Python/Python_Compress_images.ipynb)
Expand Down
80 changes: 40 additions & 40 deletions generate_readme.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
"id": "sitting-directory",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:10:54.533941Z",
"iopub.status.busy": "2023-08-28T16:10:54.533364Z",
"iopub.status.idle": "2023-08-28T16:10:58.563890Z",
"shell.execute_reply": "2023-08-28T16:10:58.562546Z"
"iopub.execute_input": "2023-08-28T16:15:33.317396Z",
"iopub.status.busy": "2023-08-28T16:15:33.316562Z",
"iopub.status.idle": "2023-08-28T16:15:37.660576Z",
"shell.execute_reply": "2023-08-28T16:15:37.659433Z"
},
"tags": []
},
Expand Down Expand Up @@ -94,10 +94,10 @@
"id": "guided-edgar",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:10:58.568943Z",
"iopub.status.busy": "2023-08-28T16:10:58.568619Z",
"iopub.status.idle": "2023-08-28T16:10:58.577026Z",
"shell.execute_reply": "2023-08-28T16:10:58.575838Z"
"iopub.execute_input": "2023-08-28T16:15:37.666507Z",
"iopub.status.busy": "2023-08-28T16:15:37.665393Z",
"iopub.status.idle": "2023-08-28T16:15:37.672285Z",
"shell.execute_reply": "2023-08-28T16:15:37.671351Z"
},
"tags": []
},
Expand Down Expand Up @@ -140,10 +140,10 @@
"id": "36c9011e-5f51-4779-8062-a627503100e1",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:10:58.581385Z",
"iopub.status.busy": "2023-08-28T16:10:58.581085Z",
"iopub.status.idle": "2023-08-28T16:10:59.043476Z",
"shell.execute_reply": "2023-08-28T16:10:59.042357Z"
"iopub.execute_input": "2023-08-28T16:15:37.676371Z",
"iopub.status.busy": "2023-08-28T16:15:37.676011Z",
"iopub.status.idle": "2023-08-28T16:15:38.172086Z",
"shell.execute_reply": "2023-08-28T16:15:38.171024Z"
},
"tags": []
},
Expand Down Expand Up @@ -211,10 +211,10 @@
"id": "7fa60d66-a43a-4ba3-abfb-ee1779afdfc3",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:10:59.048065Z",
"iopub.status.busy": "2023-08-28T16:10:59.047722Z",
"iopub.status.idle": "2023-08-28T16:10:59.055421Z",
"shell.execute_reply": "2023-08-28T16:10:59.054266Z"
"iopub.execute_input": "2023-08-28T16:15:38.179724Z",
"iopub.status.busy": "2023-08-28T16:15:38.179036Z",
"iopub.status.idle": "2023-08-28T16:15:38.186286Z",
"shell.execute_reply": "2023-08-28T16:15:38.185277Z"
},
"tags": []
},
Expand Down Expand Up @@ -251,10 +251,10 @@
"id": "f9a4c7b2-d667-4555-98ed-31786278e947",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:10:59.059987Z",
"iopub.status.busy": "2023-08-28T16:10:59.059621Z",
"iopub.status.idle": "2023-08-28T16:10:59.081330Z",
"shell.execute_reply": "2023-08-28T16:10:59.080335Z"
"iopub.execute_input": "2023-08-28T16:15:38.191366Z",
"iopub.status.busy": "2023-08-28T16:15:38.191079Z",
"iopub.status.idle": "2023-08-28T16:15:38.213705Z",
"shell.execute_reply": "2023-08-28T16:15:38.212680Z"
},
"tags": []
},
Expand Down Expand Up @@ -386,10 +386,10 @@
"id": "9f21cfbb-2bcc-4bca-81a4-fad14b081371",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:10:59.085537Z",
"iopub.status.busy": "2023-08-28T16:10:59.084993Z",
"iopub.status.idle": "2023-08-28T16:10:59.094374Z",
"shell.execute_reply": "2023-08-28T16:10:59.093388Z"
"iopub.execute_input": "2023-08-28T16:15:38.217787Z",
"iopub.status.busy": "2023-08-28T16:15:38.217459Z",
"iopub.status.idle": "2023-08-28T16:15:38.226316Z",
"shell.execute_reply": "2023-08-28T16:15:38.225376Z"
},
"tags": []
},
Expand Down Expand Up @@ -479,10 +479,10 @@
"id": "94dcc3bd-07e2-48a3-bf81-a327e940a934",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:10:59.098779Z",
"iopub.status.busy": "2023-08-28T16:10:59.098460Z",
"iopub.status.idle": "2023-08-28T16:10:59.104224Z",
"shell.execute_reply": "2023-08-28T16:10:59.103307Z"
"iopub.execute_input": "2023-08-28T16:15:38.230775Z",
"iopub.status.busy": "2023-08-28T16:15:38.230323Z",
"iopub.status.idle": "2023-08-28T16:15:38.235893Z",
"shell.execute_reply": "2023-08-28T16:15:38.234874Z"
},
"tags": []
},
Expand Down Expand Up @@ -521,10 +521,10 @@
"id": "e45fc17e-ba5a-4317-92b3-f6de4c1a0bde",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:10:59.108786Z",
"iopub.status.busy": "2023-08-28T16:10:59.108484Z",
"iopub.status.idle": "2023-08-28T16:11:02.546055Z",
"shell.execute_reply": "2023-08-28T16:11:02.545195Z"
"iopub.execute_input": "2023-08-28T16:15:38.239955Z",
"iopub.status.busy": "2023-08-28T16:15:38.239694Z",
"iopub.status.idle": "2023-08-28T16:15:41.663472Z",
"shell.execute_reply": "2023-08-28T16:15:41.662459Z"
},
"tags": []
},
Expand Down Expand Up @@ -624,10 +624,10 @@
"id": "younger-consensus",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:11:02.554349Z",
"iopub.status.busy": "2023-08-28T16:11:02.553831Z",
"iopub.status.idle": "2023-08-28T16:11:02.561966Z",
"shell.execute_reply": "2023-08-28T16:11:02.560498Z"
"iopub.execute_input": "2023-08-28T16:15:41.668804Z",
"iopub.status.busy": "2023-08-28T16:15:41.667960Z",
"iopub.status.idle": "2023-08-28T16:15:41.675620Z",
"shell.execute_reply": "2023-08-28T16:15:41.674445Z"
},
"tags": []
},
Expand Down Expand Up @@ -661,10 +661,10 @@
"id": "2a95cba3-027c-4a57-8bfa-2ee1e9053bb7",
"metadata": {
"execution": {
"iopub.execute_input": "2023-08-28T16:11:02.567162Z",
"iopub.status.busy": "2023-08-28T16:11:02.566852Z",
"iopub.status.idle": "2023-08-28T16:11:02.610356Z",
"shell.execute_reply": "2023-08-28T16:11:02.609438Z"
"iopub.execute_input": "2023-08-28T16:15:41.679687Z",
"iopub.status.busy": "2023-08-28T16:15:41.679225Z",
"iopub.status.idle": "2023-08-28T16:15:41.722150Z",
"shell.execute_reply": "2023-08-28T16:15:41.721041Z"
},
"tags": []
},
Expand Down
2 changes: 1 addition & 1 deletion templates.json

Large diffs are not rendered by default.

0 comments on commit cb7241a

Please sign in to comment.