semvec/pypi-packages huggingface dataset:
codebuddie 0.0.3
codebuddie is a Python-based command-line interface (CLI) utility that uses OpenAI chatGPT API to help you in updating comments, docstring, module docstings in your code
License: MIT
Requires Python: >=3.7

# codebuddie: CLI

[![Visit Documentation](https://img.shields.io/badge/documentation-c17hawke-orange)](https://c17hawke.github.io/codebuddie)

[![Author](https://img.shields.io/badge/author-c17hawke-green)](https://github.com/c17hawke)
![Last Commit](https://img.shields.io/github/last-commit/c17hawke/codebuddie)
![Release Date](https://img.shields.io/github/release-date/c17hawke/codebuddie)
![Stars GitHub](https://img.shields.io/github/stars/c17hawke/codebuddie)
![Platform](https://img.shields.io/badge/platform-Visual%20Studio%20Code-blue)
![Language](https://img.shields.io/github/languages/top/c17hawke/codebuddie)
![Size](https://img.shields.io/github/repo-size/c17hawke/codebuddie)

## To install codebuddie -

run the following command in your terminal -

```bash
pip install codebuddie
```

## Now following are the ways you can use codebuddie -

> **NOTE: set `OPENAI_API_KEY` as an environment variable before using `codebuddie`**

It can update code with proper comments, docstring, and module docstrings in the following scenarios:

### 1. If pointed to a local directory. [TODO]

```bash
codebuddie -d path/to/source/directory
```

or

```bash
codebuddie --dir path/to/source/directory
```

or

```bash
codebuddie -d path/to/source/directory -o path/to/destination/directory
```

### 1. If pointed to a github repository. [TODO]

```bash
codebuddie -s link/to/github_repository
```

or

```bash
codebuddie --src link/to/github_repository
```

or

```bash
codebuddie -s link/to/github_repository -o link/to/destination/directory
```
py-carbon 1.0.4
Fully asynchronous Python library for carbon.now.sh
License: MIT
Requires Python: >=3.9

# py-carbon [![Badge](https://img.shields.io/pypi/v/py-carbon?color=3776AB&logo=python&style=for-the-badge)](https://pypi.org/project/py-carbon/)  [![Badge 2](https://img.shields.io/pypi/dm/py-carbon?color=3776AB&logo=python&style=for-the-badge)](https://pypi.org/project/py-carbon/)
Fully asynchronous Python library for [carbon.now.sh](https://carbon.now.sh)

## Installation
```
$ pip install py-carbon
```

## A quick example
In this example we'll create a carbon image and save it to disk.
```py
import carbon
import asyncio

code = """
defmodule Something do
    def anything() do
        IO.puts "Hello, World"
    end
end
"""  # Any kind of code-block in any language


async def main():
    cb = carbon.Carbon()  # Create a Carbon instance
    opts = carbon.CarbonOptions(code=code)  # Set the options for the image
    image = await cb.generate(opts)  # Generate the image
    await image.save('hello')  # Save the image in png format


asyncio.run(main())
```

And it'll output something like this:  
  
<img src="https://github.com/itsmewulf/py-carbon/blob/main/examples/something-script.png?raw=true" alt="Carbon Image" width="400"/>

### Contributing
This package is opensource so anyone with adequate python experience can contribute to this project!

### Reporting Issues
If you find any error/bug/mistake with the package or in the code feel free to create an issue and report
it [here.](https://github.com/itsmewulf/py-carbon/issues)

### Fixing/Editing Content
If you want to contribute to this package, fork the repository, make your changes and then simply create a Pull Request!

### Contact
If you want to contact me:  
**Mail -** ```paul@przybyszew.ski```  
**Discord -** [wulf](https://dsc.bio/wulf)