semvec/pypi-packages huggingface dataset:
rich-tracebacks 2.0.0
Automatic installation of Rich's traceback handler
Requires Python: >=3.6.2

# rich-tracebacks

rich-tracebacks automates the installation
of [Rich's traceback handler](https://rich.readthedocs.io/en/stable/traceback.html#traceback-handler) in Python
programs. Compared to Rich's
own [sanctioned method](https://rich.readthedocs.io/en/stable/traceback.html#automatic-traceback-handler)
of automatically installing its traceback handler, rich-tracebacks is markedly simpler and agnostic to your virtual
environment.

## Installation

```bash
pip install rich-tracebacks
```

## Usage

### Enabling

Set the `RICH_TRACEBACKS` environment variable. The value of the variable doesn't matter, but we'll use `1` as an
example.

```bash
export RICH_TRACEBACKS=1
```

That's it. Rich's traceback handler will be automatically installed each time you run your program.

> [!IMPORTANT]
> If you use [PyCharm](https://jetbrains.com/pycharm), you may notice that rich-tracebacks doesn't work when using
> PyCharm's debugger. You can fix this by setting the `RICH_TRACEBACKS_PYCHARM` environment variable to any value.

### Disabling

Unset the `RICH_TRACEBACKS` environment variable.

```bash
unset RICH_TRACEBACKS
```

### Configuration

You can configure the traceback handler with
its [supported options](https://rich.readthedocs.io/en/stable/reference/traceback.html#rich.traceback.install)
by creating an `rt_config.py` file at your project's root. The file should contain a dictionary named `config`
that maps option names to their intended values. For example:

```python
# rt_config.py

config = {
    "show_locals": True,
    "width": 120,
    "theme": "monokai",
    ...
}
```

Options that are not defined in `rt_config.py` will fall back to their default values. If `rt_config.py`
does not exist, all options will fall back to their default values.
kconfstyle 0.2.4
Simple formatter for Kconfig files
Requires Python: >=3.10

[![](https://img.shields.io/badge/GitHub-noahp/kconfstyle-8da0cb?style=flat-square&logo=github)](https://github.com/noahp/kconfstyle)
[![](https://img.shields.io/github/actions/workflow/status/noahp/kconfstyle/ci.yml?style=flat-square&branch=main)](https://github.com/noahp/kconfstyle/actions?query=branch%3Amain+)
[![](https://img.shields.io/pypi/v/kconfstyle?style=flat-square)](https://pypi.org/project/kconfstyle/)

> **NOTE** this package has been renamed from `kconfstyle` to `kconfigstyle`!
> This package will no longer receive updates.

# kconfstyle

A simple linter for Kconfig files, with support for Zephyr and ESP-IDF coding
styles.

See here for refences on Zephyr and ESP-IDF Kconfig styles:

- https://docs.zephyrproject.org/latest/contribute/style/kconfig.html
- https://docs.espressif.com/projects/esp-idf-kconfig/en/latest/kconfcheck/index.html#kconfig-format-rules

Espressif provides a tool called
[`kconfcheck`](https://github.com/espressif/esp-idf-kconfig/blob/master/kconfcheck/core.py)
to check Kconfig formatting, but it is not very configurable and does not
support auto-formatting. `kconfstyle` aims to provide a more flexible and
user-friendly alternative.

## Installation

Run without installing with `uv`:

```bash
uvx kconfstyle [options] <kconfig_files>
```

Or install and run:

```bash
pip install kconfstyle
kconfstyle [options] <kconfig_files>
```

## License

See LICENSE file for details.
dbt-postgres 1.10.0
The set of adapter protocols and base functionality that supports integration with dbt-core
Requires Python: >=3.10.0
Keywords: adapter, adapters, database, dbt, dbt Cloud, dbt Core, dbt Labs, dbt-core, elt, postgres

<p align="center">
    <img
        src="https://raw.githubusercontent.com/dbt-labs/dbt/ec7dee39f793aa4f7dd3dae37282cc87664813e4/etc/dbt-logo-full.svg"
        alt="dbt logo"
        width="500"
    />
</p>

<p align="center">
    <a href="https://pypi.org/project/dbt-postgres/">
        <img src="https://badge.fury.io/py/dbt-postgres.svg" />
    </a>
    <a target="_blank" href="https://pypi.org/project/dbt-postgres/" style="background:none">
        <img src="https://img.shields.io/pypi/pyversions/dbt-postgres">
    </a>
    <a href="https://github.com/psf/black">
        <img src="https://img.shields.io/badge/code%20style-black-000000.svg" />
    </a>
    <a href="https://github.com/python/mypy">
        <img src="https://www.mypy-lang.org/static/mypy_badge.svg" />
    </a>
    <a href="https://pepy.tech/project/dbt-postgres">
        <img src="https://static.pepy.tech/badge/dbt-postgres/month" />
    </a>
</p>

# dbt

**[dbt](https://www.getdbt.com/)** enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.

dbt is the T in ELT. Organize, cleanse, denormalize, filter, rename, and pre-aggregate the raw data in your warehouse so that it's ready for analysis.

## dbt-postgres

`dbt-postgres` enables dbt to work with Postgres.
For more information on using dbt with Postgres, consult [the docs](https://docs.getdbt.com/docs/profile-postgres).

# Getting started

Review the repository [README.md](../README.md) as most of that information pertains to `dbt-postgres`.

### psycopg2-binary vs. psycopg2

By default, `dbt-postgres` installs `psycopg2-binary`.
This is great for development, and even testing, as it does not require any OS dependencies; it's a pre-built wheel.
However, building `psycopg2` from source will grant performance improvements that are desired in a production environment.
In order to install `psycopg2`, use the following steps:

```bash
if [[ $(pip show psycopg2-binary) ]]; then
    PSYCOPG2_VERSION=$(pip show psycopg2-binary | grep Version | cut -d " " -f 2)
    pip uninstall -y psycopg2-binary
    pip install psycopg2==$PSYCOPG2_VERSION
fi
```

This ensures the version of `psycopg2` will match that of `psycopg2-binary`.

## Contribute

- Want to help us build `dbt-postgres`? Check out the [Contributing Guide](CONTRIBUTING.md).