PyFiberModes
Python toolkit for guided-mode analysis and design of circular step-index and multilayer optical fibers
What XERJ indexed
Snapshot
The whole repository at commit 82d4d64248 (2026-09-23). master is 61 commits ahead.
Selected work

“Freeze and harden the public API contract”. 15 files, 301 lines in PyFiberModes, tests.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-15. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: approach only
coupled-mode-theorydispersionfiber-opticsguided-modesmode-solveroptical-fibersoptical-waveguidesphotonics
Example questions
- How does PyFiberModes implement coupled-mode-theory?
- Where does PyFiberModes handle “Freeze and harden the public API contract”?
- What does PyFiberModes do in PyFiberModes?
Inside the indexed corpus
- 161 files, 1.2 MB in total, about 7.9 KB per file.
- The selected commit changed 15 of those files (9.3%).
- Languages by size: Python 99.4%, Makefile 0.6%.
- On GitHub since 2023-10-30, last push 2026-10-27, 140 commits on master.
- The pin is 61 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported GPL-3.0 for MartinPdeS/PyFiberModes on 2026-10-31, and the LICENSE file at commit 82d4d64248 was reviewed as GPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Martin Poinsinet de Sivry-Houle (@MartinPdeS) has 1 selected repository on the hub.
Using XERJ with PyFiberModes
- Search a SQL dump without restoring it The hub files it under Databases and storage engines.
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
- Ask questions about a GitHub repo without cloning it
The prompt
Paste it into your AI agent. It clones MartinPdeS/PyFiberModes at the pinned commit and indexes it on your machine.
Search the GitHub repository MartinPdeS/PyFiberModes with XERJ (https://hub.xerj.org/corpus/martinpdes--pyfibermodes). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/MartinPdeS/PyFiberModes PyFiberModes && git -C PyFiberModes checkout 82d4d64248747d88563d9ee7477f9196f98c13a0 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./PyFiberModes --url http://127.0.0.1:9200 --prefix pyfibermodes --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: GPL-3.0. Read it for the approach only, do not copy code.
Related
Martin Poinsinet de Sivry-HouleDatabases and storage engines corporahitaishi2222/photonics_helperlajosbencz/WaveDudeRustFurox-Art/axiomize
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.