Galaxy Files and Directory Structure
Learning Questions
- How is the Galaxy codebase organized?
- Where do I find different components?
- What is the difference between
libandpackages?
Learning Objectives
- Navigate the Galaxy repository structure
- Understand the
libvspackagesorganization - Locate key files and directories
Project Docs
Code
Scripts
Test Sources
Continuous Integration
One Repository, Two Views of a Project
lib contains a single monolithic view of the galaxy namespace.
Each sub-directory of packages contains a logical subset of this galaxy namespace. Directory symbolic links are used to ensure the same files are used.
Package Structure
PyPI

Key Takeaways
- Project documentation in root (README, CONTRIBUTING, CODE_OF_CONDUCT)
- Code in
lib(monolithic) andpackages(modular) - Tests in
testandlib/galaxy_test - CI configuration in
.github - Packages are published to PyPI