Title: create Excel addin/add larray buttons in CIC tools · Issue #349 · larray-project/larray · GitHub
Open Graph Title: create Excel addin/add larray buttons in CIC tools · Issue #349 · larray-project/larray
X Title: create Excel addin/add larray buttons in CIC tools · Issue #349 · larray-project/larray
Description: Using xlwings, it would be relatively easy to have an larray addin adding a ribbon button with something like "open in LArray editor". When something is selected, it would do the opposite of "copy to Excel". When nothing is selected, it ...
Open Graph Description: Using xlwings, it would be relatively easy to have an larray addin adding a ribbon button with something like "open in LArray editor". When something is selected, it would do the opposite of "copy ...
X Description: Using xlwings, it would be relatively easy to have an larray addin adding a ribbon button with something like "open in LArray editor". When something is selected, it would do the opposite...
Opengraph URL: https://github.com/larray-project/larray/issues/349
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"create Excel addin/add larray buttons in CIC tools","articleBody":"Using xlwings, it would be relatively easy to have an larray addin adding a ribbon button with something like \"open in LArray editor\". When something is selected, it would do the opposite of \"copy to Excel\". When nothing is selected, it would either copy the whole sheet (like in the editor) or copy all the sheets via something like (experimental code in start.py):\r\n```python\r\ndef run_from_excel():\r\n if os.name == 'nt':\r\n sys.stdout = open(os.devnull, \"w\")\r\n sys.stderr = open(os.path.join(os.getenv(\"TEMP\"), \"stderr-\" + os.path.basename(sys.argv[0])), \"w\")\r\n\r\n s = Session()\r\n # -1 is for \"active\", but using the caller *might* be better ( wb = xw.Book.caller() )\r\n s.load(-1, engine='xlwings_excel')\r\n edit(s)\r\n```\r\nIn Excel, the code is simply:\r\n```vba\r\nSub RunViewer()\r\n RunPython (\"from larray_editor.start import run_from_excel; run_from_excel()\")\r\nEnd Sub\r\n```\r\n* maybe having two different buttons would be better :\r\n * copy selection to larray (nothing selected open current sheet)\r\n * open sheets in larray\r\n* adding the buttons to the cic tools would probably be better but then we need to either\r\n * have the buttons only appear if larray is installed (or greyed out if not installed?)\r\n * have the buttons spit a nice error message if python/larray is not installed\r\n * bundle the whole thing (python, larray etc.) with the cic tools","author":{"url":"https://github.com/gdementen","@type":"Person","name":"gdementen"},"datePublished":"2017-08-07T12:59:58Z","url":"https://github.com/larray-project/larray/issues/349"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:c7cf9643-61ae-bc51-157f-0e1d7655fb79 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C144:2D8191:12454F:182EBA:6B001E42 |
| html-safe-nonce | 8e53520dcf3f4ae2c33f220736c6ee4c8c44c293fac207ab340627d1c7722ed3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTQ0OjJEODE5MToxMjQ1NEY6MTgyRUJBOjZCMDAxRTQyIiwidmlzaXRvcl9pZCI6IjExMDgwMTgwMDk4NjkzOTM0NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 86ed92e2c6101ffa126c20d7f48e4c89026a4af765f29d5c8fe95aa9463d095f |
| hovercard-subject-tag | issue:248403860 |
| 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/larray-project/larray/349/issue_layout |
| twitter:image | https://opengraph.githubassets.com/167a86c38aafe68dff39ba39142072cc987ab25c4d9f670f60cd47b2b4a6cb1b/larray-project/larray/issues/349 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/167a86c38aafe68dff39ba39142072cc987ab25c4d9f670f60cd47b2b4a6cb1b/larray-project/larray/issues/349 |
| og:image:alt | Using xlwings, it would be relatively easy to have an larray addin adding a ribbon button with something like "open in LArray editor". When something is selected, it would do the opposite of "copy ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gdementen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| turbo-cache-control | no-preview |
| go-import | github.com/larray-project/larray git https://github.com/larray-project/larray.git |
| octolytics-dimension-user_id | 26460981 |
| octolytics-dimension-user_login | larray-project |
| octolytics-dimension-repository_id | 16981067 |
| octolytics-dimension-repository_nwo | larray-project/larray |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16981067 |
| octolytics-dimension-repository_network_root_nwo | larray-project/larray |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width