# Repository File Structure¶

The PyMedPhys repository has the following general structure:

pymedphys/
|   changelog.md
|   pyproject.toml
|   ...
|
|-- docs/
|
|-- pymedphys/
|
|-- ...


PyMedPhys contains a series of top-level files. These include:

README.rst: A text file containing general information on the PyMedPhys repository with links to important sections. On the PyMedPhys GitHub page, README.rst determines the text you see below the file structure. A text file that contains a full copy of the license used by PyMedPhys. A text file containing release notes for the PyMedPhys source code library. changelog.md determines the text presented on the Release Notes documentation page. The poetry configuration file that designates dependencies and other library related details.

You’ll quickly note from a cursory look through PyMedPhys that there are actually many more top-level files. Most of these help configure specific tasks, such as installation & automated testing. They are probably less critical to understand in detail in order to comprehend PyMedPhys’ structure, so we’ll disregard them for now in the interest of brevity.

(Most of) the rest of PyMedPhys is arranged in the following directories:

docs/: Contains most of PyMedPhys’ documentation. The files within docs/ make up the text you are reading right now! A documentation generator called Sphinx converts the files in docs/ into human-readable format. The same tool also pulls the docstrings from PyMedPhys’ source code and displays them in the documentation pages. The main PyMedPhys package.