semvec/pypi-packages huggingface dataset:
smallcat 0.5.1
Add your description here
Requires Python: >=3.11

<p align="center">
  <img src="docs/assets/images/smallcat-logo.png" width="140" alt="smallcat logo">
</p>

<h1 align="center">smallcat</h1>
<p align="center"><em>A small, modular data catalog.</em></p>

<p align="center">
  <a href="https://pypi.org/project/smallcat/"><img src="https://img.shields.io/pypi/v/smallcat.svg" alt="PyPI"></a>
  <a href="https://pypi.org/project/smallcat/"><img src="https://img.shields.io/pypi/pyversions/smallcat.svg" alt="Python versions"></a>
  <a href="https://github.com/DeepKernelLabs/smallcat/actions"><img src="https://img.shields.io/github/actions/workflow/status/DeepKernelLabs/smallcat/publish.yml?label=CI" alt="CI"></a>
  <a href="https://codecov.io/gh/DeepKernelLabs/smallcat"><img src="https://img.shields.io/codecov/c/github/DeepKernelLabs/smallcat" alt="coverage"></a>
  <a href="https://github.com/DeepKernelLabs/smallcat/blob/main/LICENSE"><img src="https://img.shields.io/github/license/DeepKernelLabs/smallcat.svg" alt="license"></a>
  <a href="https://pepy.tech/project/smallcat"><img src="https://static.pepy.tech/badge/smallcat" alt="downloads"></a>
  <a href="https://DeepKernelLabs.github.io/smallcat/"><img src="https://img.shields.io/badge/docs-mkdocs%20material-blue" alt="docs"></a>
</p>

## Install
```bash
pip install smallcat
```

## Quickstart
### Create Catalog

Local catalogs can be kept in YAML files.

```yaml
entries:
    foo:
        file_format: csv
        connection:
            conn_type: fs
            extra:
                base_path: /tmp/smallcat-example/
        location: foo.csv
        load_options:
            header: true
    bar:
        file_format: parquet
        connection:
            conn_type: google_cloud_platform
            extra:
                bucket: my-bucket
        location: bar.csv
        save_options:
            partition_by:
                - year
                - month
```

### Standalone

```python
from smallcat import Catalog

catalog = Catalog.from_path("catalog.yaml")
catalog.save_pandas("foo", df)
df2 = catalog.load_pandas("foo")
```

### Filter on load

`load_pandas` (and the lower-level Arrow loaders) accept optional `where` and
`columns` arguments to push filters and projections down to DuckDB/Arrow when reading:

```python
df = catalog.load_pandas(
    "bar",
    where="event_date >= '2024-01-01'",
    columns=["event_date", "user_id"],
)
```

### With Airflow
```python
from smallcat import Catalog

catalog = Catalog.from_airflow_variable("example_catalog")
df = catalog.load_pandas("bar")
```

## Docs
Read more at [the official docs](https://deepkernellabs.github.io/smallcat/).
spotlight-pyodm 1.6.0
Python SDK for OpenDroneMap

# PyODM

For the latest documentation visit: https://pyodm.readthedocs.io

The information below is for managing the repository.

## Running Tests

```
python run_tests.py
```

Will run the all doctests. You must have a NodeODM node running in test mode locally to run the test suite:

```bash
docker run -ti -p 3000:3000 opendronemap/nodeodm --test
``` 

## Building The Documentation

Make sure you are using Python 3.

```bash
pip install virtualenv
virtualenv -p venv
source venv/bin/activate
pip install -r requirements.txt
```

Use [`sphinx-autobuild`](https://github.com/GaretJax/sphinx-autobuild) to automatically watch for changes and rebuild the html site using:

```
cd docs
make livehtml
```

To stop the server press `Ctrl+C`.

## Publishing to PyPI

```bash
pip install setuptools wheel twine
python setup.py sdist bdist_wheel
python -m twine upload dist/*
```

See https://packaging.python.org/tutorials/packaging-projects/ for more information.

## Support the Project

There are many ways to contribute to the project:

 - ⭐️ us on GitHub.
 - Help us test the application.
 - Spread the word about OpenDroneMap on social media.
 - Help answer questions on the community [forum](https://community.opendronemap.org)
 - Become a contributor!