Skip to main content

AI developer for lazy programmer

Project description

LazyDev: Automated Coding Project

Lazyness is the mother of invention

LazyDev is a Python module that utilizes GPT models to create entire coding projects for you. With just a few simple commands, LazyDev can generate a project file tree, write the necessary code, and even test the project for you. Say goodbye to the hassle of setting up projects from scratch and let LazyDev do the heavy lifting for you.

Features

  • Effortless project initialization: Simply use the python -m lazydev.develop -r <what you want to do> command to kickstart the project generation process.
  • Interactive question-based approach: LazyDev asks relevant questions to gather essential information before starting the coding process, ensuring that the generated project meets your specific requirements.
  • Complete project planning: LazyDev plans the entire project structure based on the gathered information, setting up the necessary directories and files for you.
  • Automated code generation: The module automatically generates the code based on the project plan, saving you time and effort.
  • Built-in testing functionality: LazyDev even includes an automated testing phase to ensure that the generated code performs as expected.

Installation

git clone https://github.com/thecodacus/lazy-dev.git
cd lazy-dev
pip install -r requirements.txt

LazyDev requires Python 3.6 or above.

Usage

Using LazyDev is as simple as running a single command. Once installed, you can initiate the project generation process by executing the following command:

python -m lazydev.develop -r <what you want to do>

Replace <what you want to do> with a brief description of your project's purpose or objective. LazyDev will then prompt you with a series of questions to gather the necessary information for project generation.

After answering the questions, LazyDev will proceed to plan the project structure, create the appropriate file tree, generate the required code files, and even run tests to verify the functionality.

Example

Let's say you want to create a Python web application for managing a book library. You can use LazyDev to automate the project setup. Here's an example command:

python -m lazydev.develop -r "Book Library Web App"

LazyDev will ask you questions like:

  • What database system would you like to use?
  • What features would you like to include in your web app?
  • Are there any specific libraries or frameworks you want to use?

Based on your responses, LazyDev will generate the project structure, code templates, and even a basic test suite for your book library web app.

Contributing

Contributions are welcome! If you encounter any issues, have ideas for new features, or want to improve the existing ones, feel free to open an issue or submit a pull request on the GitHub repository.

License

This project is licensed under the Apache-2.0 License. See the LICENSE file for more details.

Acknowledgements

LazyDev was inspired by the desire to automate the initial setup and coding process for various projects. The underlying GPT models used in this module were developed by OpenAI.

It is inspired by the project smol-ai/developer, and the principle Build the thing that builds all the things.

Contact

If you have any questions or suggestions, feel free to reach out to us at thecodacus@gmail.com.

Happy coding with LazyDev!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lazydev-0.0.2.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

lazydev-0.0.2-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file lazydev-0.0.2.tar.gz.

File metadata

  • Download URL: lazydev-0.0.2.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for lazydev-0.0.2.tar.gz
Algorithm Hash digest
SHA256 74f426eb768c52f01537337d0db8bbfe82efb0048679029acdfe9abadee358a3
MD5 af2ee01b8a5d75d0ecbbae516c678ef9
BLAKE2b-256 c46c4c37eba5479f97b2d0357cf4a32a4cc24a0c20c8b04ffb20284bfbd15655

See more details on using hashes here.

File details

Details for the file lazydev-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: lazydev-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for lazydev-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 61cc37293a9d2bb7dced1eb650e71a7eaa0097d689cdae8674f23fbfacbbc42f
MD5 0068e5297e32cbf966e621c781c1f55c
BLAKE2b-256 355f16d7a4237219b845d86f5b8c8435cff2188515ecbc290bfc04bcbc72593c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page