Skip to main content

Code Assistant

Project description

Code Assistant [CodeAss]

An assistant I want to use when coding. With help of ChatGPT or not.

PyPi

🚀 Features

💻 Commit messages

  • AI based commit messages based on semantic version and context in what changed.
  • Commit directly with AI based commit messages

🔮 Future Features

Git

  • Rewrite all local commits to one big one not yet on origin to one commit. and get a nice commit msg for that one e.g. git reset --soft (until what commit is on origin on this branch) and then git add . git commit etc.

AI

  • Output of prompts
  • Give context to assistant to help the assistant to help coding
    • Content of code files and
    • Comments in top of each file with the path of the file
    • Lint messages
    • Error messages
    • add this command: tree --gitignore -pugf to give tree with permissions and user, group
    • bash / zsh history last hour?
    • environment variables (can be risky!)
    • Give other context
    • glab ci trace

Glab

  • open view latest pipeline automatically
  • check on latest pipeline from this commit and constantly check job status, if fail then print trace something
  • check ci lint (glab ci lint) if .gitlab-ci.yml exists

Combined

lint

run all lint for all that exist.

  • If javascript project run npx lint / bun lint
  • if python run flake or similar.
  • if .gitlab-ci.yml run glab lint

⚡ Installation

1. Install Python 🐍

2. 💻 Open a terminal and run

pip install --upgrade codeass

3. Done 🎉

🎈 How to use

Then run ca in a 💻 terminal to use the app.

💩 Development

Create virtual environment with venv & activate

pip install -e .

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

codeass-0.15.3.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

CodeAss-0.15.3-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file codeass-0.15.3.tar.gz.

File metadata

  • Download URL: codeass-0.15.3.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for codeass-0.15.3.tar.gz
Algorithm Hash digest
SHA256 5337b5554ba51e33548019ba074113ed8c9e5f7fcbdc3d42623f858049837542
MD5 7bbbb774aa06f05610ec728351a12289
BLAKE2b-256 4e980f52a00f4f798751e254999d6699201d5e30ee8f627aed241ddbd2d7a88c

See more details on using hashes here.

File details

Details for the file CodeAss-0.15.3-py3-none-any.whl.

File metadata

  • Download URL: CodeAss-0.15.3-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for CodeAss-0.15.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a12a0660b03c9d7ff8cccb3d57542a3bcd252dd1ca05d0d5a11c879fd0d0aa78
MD5 90a4cb180e093e2846d6611c4ca18ef0
BLAKE2b-256 3a0dd78b2f02b083329ffcb748c7faa1e7ced5ca3ba366bdb49f28d941f76210

See more details on using hashes here.

Supported by

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