-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up citation report #5
Comments
Commit fd2b005 implements functionality to distinguish packages that have been installed in the environment from "custom" imports, which are likely to be utility scripts created by the user and probably don't need to be cited. The list of installed packages is found with importlib.find_loader which seems to work for both built-in packages and libraries, as well installed packages. There seem to be a lot of different ways to approach this, so it may need to be reevaluated in the future. |
Commit dee5417 improves how the report of imported packages is printed to the screen. Instead of a single list of packages with citations intermixed, it now prints two columns, one for installed packages and another for other imported modules. Full citations are in a separate section, which is cleaner.
|
Closing this issue for now. Some more work could be done to improve the full citations, in particular incorporating bibtex formatted citation blocks, but this can be discussed under #3. |
The current output of
citehelp
a list of text. It would be better if this report was formatted cleanly in some way, possibly with the actual citations clearly separated from package list. It also might be helpful if packages imported from installed distributions are differentiated from packages that are just imported from the users' (or other people's) scripts.The text was updated successfully, but these errors were encountered: