Title: pipdeptree workaround effort · Issue #1100 · winpython/winpython · GitHub
Open Graph Title: pipdeptree workaround effort · Issue #1100 · winpython/winpython
X Title: pipdeptree workaround effort · Issue #1100 · winpython/winpython
Description: "pip inspect" retunrs json presentation od the distribution json past work #850 def get_official_description(name): """Extract package Summary description from pypi.org""" from winpython import utils this = normalize(name) this_len = len...
Open Graph Description: "pip inspect" retunrs json presentation od the distribution json past work #850 def get_official_description(name): """Extract package Summary description from pypi.org""" from winpython import uti...
X Description: "pip inspect" retunrs json presentation od the distribution json past work #850 def get_official_description(name): """Extract package Summary description from pypi.org&quo...
Opengraph URL: https://github.com/winpython/winpython/issues/1100
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pipdeptree workaround effort","articleBody":"\"pip inspect\" retunrs json presentation od the distribution\r\n\r\njson past work\r\nhttps://github.com/winpython/winpython/issues/850\r\n\r\n````\r\ndef get_official_description(name):\r\n \"\"\"Extract package Summary description from pypi.org\"\"\"\r\n from winpython import utils\r\n this = normalize(name)\r\n this_len = len(this)\r\n pip_ask = ['pip', 'search', this, '--retries', '0']\r\n if len(this)\u003c2: # don't ask stupid things\r\n return ''\r\n try:\r\n # .run work when .popen fails when no internet\r\n pip_res = (utils.exec_run_cmd(pip_ask)+'\\n').splitlines()\r\n pip_filter = [l for l in pip_res if this + \" (\" ==\r\n normalize(l[:this_len])+l[this_len:this_len+2]]\r\n pip_desc = (pip_filter[0][len(this)+1:]).split(\" - \", 1)[1] \r\n return pip_desc.replace(\"://\", \" \")\r\n except:\r\n return ''\r\n\r\n````","author":{"url":"https://github.com/stonebig","@type":"Person","name":"stonebig"},"datePublished":"2022-08-08T12:40:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/1100/winpython/issues/1100"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b9ceedb5-5232-5179-ef42-07a3f470fcfe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BBEA:3D5EFC:DDF81C:13697FF:69722A81 |
| html-safe-nonce | e7b2941cc776e3d3c8cc132ce4ffb7982dcfb56097d7486a1f54d7407fe884ec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkVBOjNENUVGQzpEREY4MUM6MTM2OTdGRjo2OTcyMkE4MSIsInZpc2l0b3JfaWQiOiI4NzM2MTc2MjIwMTUzMTk1MTM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 864e8534000b35a05249e2789290fb8ce76e9bedab073f5bd203bdd49b28974b |
| hovercard-subject-tag | issue:1331814762 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/winpython/winpython/1100/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cb391834da64c1af0803d2126273b492ef7c7dddd087c47661f95faa90a8511e/winpython/winpython/issues/1100 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cb391834da64c1af0803d2126273b492ef7c7dddd087c47661f95faa90a8511e/winpython/winpython/issues/1100 |
| og:image:alt | "pip inspect" retunrs json presentation od the distribution json past work #850 def get_official_description(name): """Extract package Summary description from pypi.org""" from winpython import uti... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | stonebig |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19a0eb237b419e41a3d6a0867abebfdb845544063fc287c8c486f2fc019a590f |
| turbo-cache-control | no-preview |
| go-import | github.com/winpython/winpython git https://github.com/winpython/winpython.git |
| octolytics-dimension-user_id | 8850436 |
| octolytics-dimension-user_login | winpython |
| octolytics-dimension-repository_id | 24275324 |
| octolytics-dimension-repository_nwo | winpython/winpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24275324 |
| octolytics-dimension-repository_network_root_nwo | winpython/winpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 805f05ae5b701e06271d4ccfc0cbb6252b8b2c21 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width