open-interpreter icon indicating copy to clipboard operation
open-interpreter copied to clipboard

Enhancing Project Documentation: Inclusion of Library Dependencies in README

Open tommymaher15 opened this issue 2 years ago • 8 comments

Is your feature request related to a problem? Please describe.

Currently, project documentation often lacks a structured representation of the libraries and dependencies used, causing ambiguity for newcomers and even experienced developers. This opacity can result in extended onboarding periods, inefficiencies in issue resolution, and reduced participation.

Describe the solution you'd like

I propose an integration within GitHub to encourage or enforce a standardized approach to document the libraries and dependencies utilized by a project. This documentation could be included within the project's README or in a dedicated section of the repository. The proposed documentation structure is as follows:

A designated section in the README listing all libraries and dependencies. For each library or dependency, a succinct description of its functionality within the project. Optionally, the inclusion of links to the library's official documentation or GitHub repository for more in-depth information.

Describe alternatives you've considered

No response

Additional context

I feel that for anything similar to this project I think it could be really helpful for people like me and others to wrap their head around the code structure and dependencies

tommymaher15 avatar Oct 26 '23 14:10 tommymaher15

Just adding what I posted in the Discord here, too.

If anyone wants to start a PR that gives an idea of what you’re looking for here and what would be helpful, I’m happy to take a look and provide suggestions and any context that I’ve got.

One thing I’ll recommend:

  • if it’s developer-focused for contributing to the project, it should go in the CONTRIBUTING.md
  • if it’s developer-focused for using, installing, building on top of, etc. it should go in the README.md or a new Markdown file (or files) in /docs

ericrallen avatar Oct 27 '23 16:10 ericrallen

hey @ericrallen i have experimenting with open-interpreter and i want to start contributing and this issues seems to inline with that, can i pick this issue? or should send request in Discord? thanks!!

paritoshtripathi935 avatar Oct 28 '23 13:10 paritoshtripathi935

Hey there, @paritoshtripathi935!

If you see an issue that speaks to you, like this one, feel encouraged to pick it up and start working on it.

You might want to add a comment saying you’re working on it, or let us know on Discord and we can assign it to you so that other folks looking for issues know someone is actively working on it and we don’t have duplicate efforts.

ericrallen avatar Oct 28 '23 13:10 ericrallen

okay thanks @ericrallen i am starting to work on it, let me also join discord.

paritoshtripathi935 avatar Oct 28 '23 14:10 paritoshtripathi935

Hey @ericrallen, if this issue is still open I would love to work on it.

BassCoder2808 avatar Jan 10 '24 09:01 BassCoder2808

Since it has been a few months, I'll transfer this issue to you @BassCoder2808

Notnaton avatar Jan 11 '24 17:01 Notnaton

Thanks @Notnaton, I will start working on it right away

BassCoder2808 avatar Jan 11 '24 18:01 BassCoder2808

I ran Openinterpreter on this task. Feels like this could be automated. Here's what the result looks like.

1 astor: Not found in the codebase. 2 git-python: Not found in the codebase. 3 inquirer: Not found in the codebase. 4 litellm: Used to initialize an object, set verbose option, and get completion information. 5 rich: Used for making rich-text and beautiful formatting easier in the terminal. 6 tokentrim: Imported but not found a place where a feature from it is used. 7 psutil: Imported and used to get virtual memory. 8 html2image: Imported but not found a place where a feature from it is used. 9 matplotlib: Imported and a backend getter function is used. 10 toml: Imported and used to load a TOML file. 11 posthog: An object from it is initialized and used to capture information. 12 tiktoken: Imported and used to get tokens from a text string or file. 13 pyautogui: Imported and various mouse and keyboard operations are performed. 14 plyer: Imported and used to make notifications. 15 pywinctl: Imported and used to get the active window. 16 yaspin: Imported and used for showing spinner during long operations. 17 pytesseract: Imported and used to extract text from an image. 18 pytest: Imported and used to mark test cases.

Probably not correct, but a more clever prompt and user's tenacity could automate this task away, I think. This took me a few minutes to get with Openinterpreter.

CommanderCrowCode avatar Jan 20 '24 22:01 CommanderCrowCode

Closing this stale issue. Please create a new issue if the problem is not resolved or explained in the documentation. Thanks!

MikeBirdTech avatar Mar 18 '24 19:03 MikeBirdTech