semvec/pypi-packages huggingface dataset:
hdeps 1.4.0
Simple what-if dep resolution for python
License: MIT
Requires Python: >=3.10

# hdeps

Simple dependency not-a-solver lets you debug where backtracking would happen,
or figure out what would change on a platform that's not the same as you're
running right now.

This code was originally part of [honesty](https://pypi.org/project/honesty/)
but is easier to iterate on with pypi-simple as its source.

```sh
# For looking up published projects
$ hdeps requests
$ hdeps --install-order requests
$ hdeps --have urllib3==1.999 requests

# For looking up local (potentially modified) projects
$ hdeps .
$ hdeps /path/to/checkout
$ hdeps -r /path/to/requirements.{txt,in}
```

# Why isn't it a solver?

Think of this as a debugging solver.  It doesn't come up with one single
solution, but does the bulk of the legwork to let you, the human, figure out
what the problematic part of your dep tree is (even if the machine you're
running on isn't the same as you're trying to figure out).

If you want a real solver, I highly recommend look at
[resolvelib](https://pypi.org/project/resolvelib/) for low-level operations, or
[poetry](https://pypi.org/project/poetry/) which includes a higher-level solver
that keeps track of operations (like "upgrade" separately from "install").

# Version Compat

This project should work on 3.10-3.12, including mypy compatibility as checked
by tests.  Linting on older versions will not catch all issues (e.g. whitespace
in f-strings), so 3.12 is recommended.  Some transitive dependencies
(pydantic-core and libcst) rely on binary wheels that are not available yet on
3.13 and do not easily build from source.

# License

MIT, see `LICENSE` for details.
weaviate-agent-demo 0.3.1
Demo project for sometimes (poorly) generating Python code for Weaviate
License: MIT
Requires Python: !=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,!=3.8.*,>=3.9

# Weaviate Agent Demo

AI-powered demo app to help you use Weaviate, with a twist.

To install it, `pip` install the package with:

```shell
pip install weaviate-agent-demo
```

## CLI commands

Then, try out the different CLI commands set up in `src/weaviate_agent_demo/cli.py`, or in `pyproject.toml`.

e.g.:
- ask_llm
- ask_basic_ragbot
- ask_ragbot_with_reformulation
- ask_ragbot_with_tools
- safely_ask_ragbot_with_tools
- ask_weaviate_agent

## Dev setup

1. Clone the repo:
   ```shell
   git clone https://github.com/yourusername/weaviate-agent-demo.git
   cd weaviate-agent-demo
   ```

2. Install Poetry (if not already installed):
   ```shell
   curl -sSL https://install.python-poetry.org | python3 -
   ```

3. Install the project dependencies with Poetry:
   ```shell
   poetry install
   ```

4. Activate the virtual environment:
   ```shell
   poetry shell
   ```

5. Run a Weaviate instance (e.g., with Docker):

6. Run the files in `src/weaviate_agent_demo/db_setup` to ingest data:
   ```shell
   python src/weaviate_agent_demo/db_setup/1_create_collection.py
   python src/weaviate_agent_demo/db_setup/2_import.py
   ```

7. You can now use the CLI commands, for example:
   ```shell
   ask_llm
   ```

   Then, when prompted - try queries like "How do I connect to Weaviate", or "How do I use filters with dates in hybrid search?"

## Streamlit app

There is also a Streamlit app available. Try it with:

```shell
streamlit run app.py
```