Skip to main content

LazyCodr 🚀

A CLI tool designed to help lazy coders get their work done with AI! LazyCodr automates tasks such as generating pull requests, and more, using our beloved AI models.

YouTube Video Introduction

Features 💡

  • Generate pull request descriptions
  • Automate commit messages (incoming ...)
  • Easy configuration
  • Works with GitHub API
  • Powered by LLMs (for now only OpenAI)

Installation 💻

pip install lazycodr

Requirements 🔑

Before you can use LazyCodr, you'll need to create an OpenAI API key and a GitHub token. Here's how to do both:

OpenAI API Key

  1. Sign up for an account on the OpenAI website if you don't have one already.
  2. Once logged in, go to the API Keys page.
  3. Click on "Create an API key" and copy the generated key.

GitHub Token

  1. Log in to your GitHub account and go to the Personal Access Tokens page.
  2. Click on "Generate new token" in the top right corner.j
  3. Give your token a descriptive name and select the required scopes (for LazyCodr, you'll need repo and user scopes.
  4. Click "Generate token" at the bottom of the page and copy the generated token.

After you have both your OpenAI API key and GitHub token, you can configure LazyCodr by running the following command:

lazycodr config credentials

This command will prompt you to enter your API key and GitHub token, which will be securely stored for future use.

Now you're all set to use LazyCodr! 🚀

Usage 📚

  1. Configure LazyCodr with your OpenAI API key and GitHub token:
lazycodr config credentials
  1. Use LazyCodr to generate a pull request description:
lazycodr pr generate <repo_name> <pr_number>
  1. Use LazyCodr to generate README.md file for a git repo (it will pickup the ignored pattern from the .gitignore if it exists and you can also add additional ones with --ignore option):
lazycodr readme generate <repo_name> --ignore=pattern1 --ignore=pattern2 ...

Roadmap 🗺️

"A lazy programmer is a great programmer"

We're on a mission to make all of us even lazier 😅! There is no clear roadmap, but here are some ideas for LazyCodr's future:

🚀 Commit Message Generation:
Automatically generate meaningful commit messages based on your code changes, so you can save time and focus on coding.

🚀 Codebase Conversations:
Chat with your codebase to get AI-powered recommendations and insights about your code, helping you make informed decisions as you work.

🚀 AI-driven Guidance:
Receive step-by-step guidance from AI on how to write new features or implement specific functionality, making it easier to tackle challenging tasks.

🚀 [DONE] README Generation:
Automatically generate well-structured and informative README files for your projects, ensuring that your documentation is always up to date.

🚀 ... replace yourself entirely so you can take 10 jobs in parallel 🤑🤑🤑

Remember, even though I'm aiming to make you the laziest programmer possible 😜, I still appreciate your help. If you have any ideas, suggestions, or improvements, feel free to contribute and help make LazyCodr even better for your fellow lazy programmers.

Together, we can redefine the art of lazy programming!

Contributing 🤝

Contributions are welcome! Feel free to submit a pull request or open an issue.

License 📄

This project is licensed under the MIT License.

Happy coding! 🎉

Metadata

Release files for lazycodr 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lazycodr 0.2.3
File Size Uploaded
lazycodr-0.2.3.tar.gz 10.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lazycodr 0.2.3
File Interpreter ABI Platform
lazycodr-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 22.6 kB

Release files / lazycodr-0.2.3.tar.gz

Download URL lazycodr-0.2.3.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
09fb404f134f967335b31e0437cd5e8fbb3a52e8e8a9e51b572cf5b8bb74a6b7
BLAKE2b-256 checksum
How to use checksums
b431ea0c963a08ac2f040244d3245d7d212d986c8b9644b6b7f64353c5701372
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1016-azure

Release files / lazycodr-0.2.3-py3-none-any.whl

Download URL lazycodr-0.2.3-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c9656038253d540c37e19a8bb395c484ca4eb32d91de43b9b03f626523537bef
BLAKE2b-256 checksum
How to use checksums
38b78afa6f56aa18febb09ff0bb22e804a0ad9535b73924586759ef60c86a04e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1016-azure

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page