The question Roadmap and possible pitfalls for a first-time software author to publish a paper on a Python package? explains the road I've started on. I just noticed that Skyfield, a software package I use has a link on Astrophysics Source Code Library: https://ascl.net/1907.024 (see this also).
For other fields in the physical sciences (and in particular in Physics) are there source code libraries or registries providing a similar service to how ASCL.net describes itself?
About the ASCL
Much of scientific progress now hinges on the reliability, falsifiability and reproducibility of computer source codes. Astrophysics in particular is a discipline that today leads other sciences in making useful scientific components freely available online, including data, abstracts, preprints, and fully published papers, yet even today many astrophysics source codes remain hidden from public view.
The Astrophysics Source Code Library (ASCL)... takes an active approach to sharing astrophysical source code. ASCL's editors seek out both new and old peer-reviewed papers that describe methods or experiments that involve the development or use of source code, and add entries for the found codes to the library. This approach ensures that source codes are added without requiring authors to actively submit them, resulting in a comprehensive listing that covers a significant number of the astrophysics source codes used in peer-reviewed studies.
The ASCL established an advisory committee in 2011 to provide input and guide its development and expansion. ASCL source codes have been used to generate results published in or submitted to a refereed journal and are available for examination via a download site.
While ASCL "...seek(s) out both new and old peer-reviewed papers that describe methods or experiments that involve the development or use of source code..." answers could certainly describe a source code library or registry where authors would submit contributions themselves. For example Github and PyPI are already discussed in the linked question above, but they could certainly be listed again as part of an answer.
note: I'm not at all sure how important or necessary it is for me to know the answer to this question, perspective on how this would fit into my "roadmap" is welcome as well.