{"id":30523866,"url":"https://github.com/russelwebber/xlslim-code-samples","last_synced_at":"2026-05-06T17:34:12.415Z","repository":{"id":49900822,"uuid":"480005394","full_name":"RusselWebber/xlslim-code-samples","owner":"RusselWebber","description":"Working examples showing how to use Python from Excel using xlSlim","archived":false,"fork":false,"pushed_at":"2024-11-01T16:07:46.000Z","size":5972,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-27T02:44:06.960Z","etag":null,"topics":["excel","kafka","numpy","pandas","python","streaming","vba"],"latest_commit_sha":null,"homepage":"https://xlslim.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RusselWebber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-10T12:05:32.000Z","updated_at":"2025-04-01T10:58:29.000Z","dependencies_parsed_at":"2024-06-27T20:04:21.608Z","dependency_job_id":"8ded84aa-7aac-4274-9dda-6ac996ee626e","html_url":"https://github.com/RusselWebber/xlslim-code-samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RusselWebber/xlslim-code-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RusselWebber%2Fxlslim-code-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RusselWebber%2Fxlslim-code-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RusselWebber%2Fxlslim-code-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RusselWebber%2Fxlslim-code-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RusselWebber","download_url":"https://codeload.github.com/RusselWebber/xlslim-code-samples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RusselWebber%2Fxlslim-code-samples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32704494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["excel","kafka","numpy","pandas","python","streaming","vba"],"created_at":"2025-08-26T20:51:36.662Z","updated_at":"2026-05-06T17:34:12.400Z","avatar_url":"https://github.com/RusselWebber.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xlslim-code-samples\n\nThis repo contains working examples showing how the xlSlim Excel add-in enables you to use Python in Excel.\n\nSee https://russelwebber.github.io/xlslim-docs/html/index.html and https://www.xlslim.com\n\nSpecific examples are:\n\n## Basics\n\n- Interactive mode where Excel mimics a Jupyter notebook\n- Calling a Python function from Excel\n- Using type hints\n- Passing a dictionary\n- Using optional arguments\n- Reading a csv into Excel using Python\n- Fetching JSON data from the web and showing this in Excel\n- Manipulating data using SQLite and showing the results in Excel\n- Calling VBA and other macro functions from Python\n\n## Imports\n\n- Controlling which Python functions are imported into Excel\n- Adding additional paths to the Python module search path\n- Dynamic imports, creating modules and functions from text in Excel\n\n## Remote Imports\n\n- Importing modules from GitHub and BitBucket\n- Importing a module from a Gist\n- Importing code from a remote ZIP archive\n\n## NLP\n\n- Performaing nlp with Python and Excel\n\n## numpy\n\n- Passing numpy arrays from Excel to Python functions\n- Cacheing numpy arrays returned from Python\n\n## pandas\n\n- Using interactive mode to read data from csv, pivot in pandas, and export as PDF\n- Passing pandas series and dataframes from Excel to Python functions\n- Cacheing pandas series and dataframes returned from Python\n- Calling a Python Monte Carlo option pricer from Excel\n- Reading prices from Yahoo Finance into Excel\n- Using Python sklearn to perform Principal Components Analysis of Index Prices\n\n## Streaming\n\n- Streaming data from Bloomberg into Excel using Python\n- Streaming data from IEX into Excel using Python\n- Streaming data from Kafka into Excel using Python\n- Streaming numpy arrays from Kafa into Excel using Python\n\n## VBA\n\n- Using Python as an Excel replacement.\n- Loading csv data into Excel using PowerQuery.\n- Using Python and pywin32 COM to create a pivot table.\n- Adding items to the context and ribbon menus\n\n## Finance\n\n- Using xlSlim to run scenario analysis for equity index options. This example shows how data classes and dictionaries can be used to structure code neatly.\n\n## DuckDB\n\n- Using DuckDB to query csv, json and Parquet files.\n\n## Optimization\n\n- Using scipy.optimize.linprog to solve a production mix problem.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusselwebber%2Fxlslim-code-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frusselwebber%2Fxlslim-code-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusselwebber%2Fxlslim-code-samples/lists"}