Repository organization
The pyRevit repository is organized in the following folders:
binis not tracked in git. It holds runtime binaries (DLLs, engines, CLI, CPython undercengines/, etc.) produced locally bydotnet run -- ciinbuild/or downloaded bypyrevit clone/pyrevit clones updatefrom public CI Release assets. See Clone workflows for the two supported setups. Static sources live underrelease/bin-assets/,release/cengines/, andrelease/pyrevit-hosts.json.buildis the C# ModularPipelines project that builds, tests, stamps, signs and publishes the product, plus its own unit tests inbuild/tests/. Seebuild/README.mdand CI/CD.devis where the C# code resides.dev/scriptsholds the repository's Python tooling and its host-free CPython test suites:test_<script>.pycovers a script in that folder and runs through apipenv run test-*entry, whiletest_standalone_*.pycovers apyrevitlibmodule without a Revit host and is what CI runs (see CI/CD).docsholds the sources of the documentation website, built with mkdocs.docs/gen_ref_pages.pygenerates the reference API from thepyrevitlib/pyrevitdocstrings and copies the*.mdfiles of the repository root into the site.docs/staticanddocs/imageshold the website assets.extensionsholds the pyRevit extensions and theextensions.jsoncatalog.pyRevitCore.extensionbuilds thepyRevitribbon tab.pyRevitTools,pyRevitTags,pyRevitTutor,pyRevitTemplatesandpyRevitBundlesCreatorExtensionship tools that can be enabled from the Extensions button inside pyRevit.pyRevitDevToolsandpyRevitDevHooksare for contributors: DevTools runs tests and checks that pyRevit, and your modifications, work in a live Revit; DevHooks logs hook events.extrasholds auxiliary files: icon sources (adskicons), the dark mode generator (dark_mode), bundle translation scripts, and an Advanced Installer project for Revit shortcuts.licensescontains the licenses of the included third party projects.pyrevitlibcontains pyRevit's Python libraries and related projects'. It is the library user scripts import to ease Revit API development.releasecontains the static assets and installer scripts needed to build the final products (the pyRevit and pyRevit CLI installers).site-packagesis the collection of third-party Python packages that pyRevit makes available to scripts. The default engine is IronPython 2.7.12, so the packages must be compatible with it..githubholds the GitHub Actions workflows, issue and pull request templates, and the agent skills under.github/skills.