semvec/pypi-packages huggingface dataset:
stackgpt 0.2.0
StackOverflow-style GPT assistant for your terminal
Requires Python: >=3.8

# Welcome to StackGPT

Hey there! 👋 Welcome to the StackGPT GitHub repository. This project is a terminal-based assistant that answers your programming questions just like StackOverflow — fast, concise, and powered by AI.

## About StackGPT

StackGPT is designed to help developers debug and understand errors quickly by generating StackOverflow-style answers from your error messages or code snippets.
- Fast CLI interface  
- Markdown output in terminal  
- Powered by OpenAI GPT-4  
- Simple to install and use

## Getting Started

Ready to boost your debugging? Follow these steps:

1. **Clone the repository**:  
   ```bash
   git clone https://github.com/buuya/stackgpt.git
   cd stackgpt
2. **Install dependencies**:

   ```bash
   pip install -r requirements.txt
3. **Setup your OpenAI API key**:

   * Copy `.env.example` to `.env`
   * Add your OpenAI key to `.env`

   ```
   OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
4. **Run the CLI**:

   ```bash
   stackgpt "Your error or question here"

   or

   ```bash
   stackgpt --file error_log.txt

## Contribution Guidelines

We ❤️ contributions! If you'd like to improve StackGPT or add features, here’s how:

* Fork the repository
* Create a new branch: `git checkout -b feature/your-feature`
* Make your changes and commit: `git commit -m 'Add feature'`
* Push to your branch: `git push origin feature/your-feature`
* Open a pull request

Let's build a smarter debugging tool together!

## Code of Conduct

Please review and adhere to our [Code of Conduct](CODE_OF_CONDUCT.md) to help us maintain a welcoming community.

## License

StackGPT is licensed under the MIT License. See [LICENSE](LICENSE) for details.

---

## 👨‍💻 Built By

**Ayub Farxaan** under **Buuya Studious Lab**
GitHub: [@buuya](https://github.com/buuya)
Twitter: [@cptbuuya](https://github.com/cptbuuya)
jax-ifnt 0.1.11
Execute runtime assertions, indexing checks, and more if jax code is not traced.
Requires Python: >=3.9

.. This file is generated from index.rst and should not be modified directly.

🚀 ifnt
=======

.. image:: https://github.com/tillahoffmann/ifnt/actions/workflows/build.yml/badge.svg
    :target: https://github.com/tillahoffmann/ifnt/actions/workflows/build.yml
.. image:: https://readthedocs.org/projects/ifnt/badge/?version=latest
    :target: https://ifnt.readthedocs.io/en/latest/?badge=latest
.. image:: https://img.shields.io/pypi/v/jax-ifnt
    :target: https://pypi.org/project/jax-ifnt

Execute runtime assertions, indexing checks, and more if :code:`jax` code is not traced.

Overview
--------

ifnt comprises three core modules, :code:`ifnt.util` with utility functions, :code:`ifnt.testing` for runtime assertions, and :code:`ifnt.random` for stateful random number generation.

    >>> import ifnt
    >>> import jax
    >>> from jax import numpy as jnp
    >>>
    >>> def safe_log(x):
    ...     ifnt.testing.assert_array_less(0, x)
    ...     return jnp.log(x)
    >>>
    >>> safe_log(-1)
    Traceback (most recent call last):
    ...
    AssertionError: Arrays are not strictly ordered `x < y`
    <BLANKLINE>
    Mismatched elements: 1 / 1 (100%)
    Max absolute difference among violations: 1
    Max relative difference among violations: 1.
    x: array(0)
    y: array(-1)
    >>>
    >>> jax.jit(safe_log)(-1)
    Array(nan, dtype=float32, weak_type=True)

Installation
------------

.. code-block:: bash

    $ pip install jax-ifnt

Relationship to chex
--------------------

DeepMind's `chex <https://github.com/google-deepmind/chex>`_ provides similar, often complementary, assertions. While chex requires runtime assertions to be "functionalized" with :code:`chex.chexify`, ifnt will skip assertions in traced code. This facilitates, for example, verifying that indices are not out of bounds.

.. End of autogenerated file.