semvec/pypi-packages huggingface dataset:
openweather_report 0.1.5
To get weather data using the OpenWeather API.
Requires Python: >=3.11

# OpenWeather Report

Get weather using OpenWeather API and save to a database.

## Quickstart

To install, you can use `pipx`:

```
$ pipx install openweather_report
```

If using `pip` I would suggest installing into a virtual environment.
**Note** that `libpq` is required for `psycopg2`.
Below is how to install using a Debian based distro like Ubuntu:

```
$ sudo apt install install libpq-dev libpq5
```

Then you can install `openweather_report`.
Then to get help, do:

```
$ openweather_report --help
Usage: openweather_report [OPTIONS] {one_call}
                          LATITUDE LONGITUDE API_KEY

  Take user inputs and save to either file or database.

Options:
  --weather_date [%Y-%m-%d %H:%M]
                                  Put in the date to get the weather for a
                                  particular day.
  --save [json|postgresql|sqlite]
  --save_path TEXT
  --db_string TEXT                Connection string to save to database.
  --version                       Show the version and exit.
  --help                          Show this message and exit.
```

To save data to a json file:

```
$ openweather_report one_call 30.00 -30.00 your-api-key --save json --save_path
my_city.json
```

## Setting up Database Structure

Currently PostgreSQL and Sqlite are supported.
The table structure will need to be generated before attempting to save any
data.

### PostgreSQL

Below is the structure for `raw_json_data`:

```
create schema if not exists weather;

create table if not exists weather.raw_json_data (
(
     id bigserial not null
    ,entry_date timestamp with time zone not null
    ,api_call text not null
    ,raw_data jsonb null
    ,software_version null
	,primary key (id)
);
```

### SQLite

The structure is similar to PostgreSQL but does not have a schema:

```
create table if not exists raw_json_data
(
     id integer primary key
    ,entry_date text not null
    ,api_call text not null
    ,raw_data text null
    ,software_version text null
);
```

## OpenWeather API

Go to https://openweathermap.org/api though this program currently only
supports the One Call API.
The program will eventually support other APIs.
chapsnap 1.2.0
Resync Chapters by snapping them to Scene Changes.
Requires Python: >=3.7,<3.12
Keywords: python,chapters,video,analysis,scene-detection

# ChapSnap

Resync Chapters by snapping them to Scene Changes.

## Usage

```
Usage: chapsnap [OPTIONS] VIDEO [CHAPTERS]

  Snap Chapters to Scene Changes.

  VIDEO       The video file to snap chapters to scene changes. All video formats are
              supported. You may alternatively provide a directory path to process
              video files in batch.
  [CHAPTERS]  Optional chapters file if you want to use chapters from a file
              rather than ones already muxed with the video.

Options:
  -t, --threshold FLOAT  Threshold on Scene Change probability scores. The
                         lower the value, the more unlikely the frame is to be
                         a Scene Change. Range: 0.0 (Impossible) - 1.0
                         (Definite).
  -o, --offset FLOAT     Offset to apply to each Chapter. A negative offset
                         may result in fewer Chapters.
  --trim INTEGER         Remove n Chapters from the start of the Video. A
                         negative value will remove n Chapters from the end of
                         the Video. Timestamps will be offset respectively.
  -nf, --no-forward      Do not try to resync Chapters forward in time.
  -nb, --no-backward     Do not try to resync Chapters backward in time.
  -k, --keyframes        Only sync to Scene Changes on Keyframes (I-frames).
  -0, --zero             Force the first chapter to be at `00:00:00.000`, even
                         after offsets and trims.
  -c, --chain            Chain sync adjustments from one Chapter to the next.
                         E.g., Chapter 1 had -2, so Chapter 2 will begin with
                         an offset of -2. Chapter 2 with -2 has a change of
                         -1, so Chapter 3 will begin with an offset of -3 and
                         so on.
  --overwrite            Apply new Chapters to the input video file in-place,
                         without making a duplicate.
  --help                 Show this message and exit.
```

## Contributors

<a href="https://github.com/rlaphoenix"><img src="https://images.weserv.nl/?url=avatars.githubusercontent.com/u/17136956?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt=""/></a>

## License

© 2023 rlaphoenix — [GNU General Public License, Version 3.0](LICENSE)
oso-sdk 0.3.2
Python integrations for Oso Cloud
Requires Python: >=3.8

# Python integrations for [Oso Cloud](https://www.osohq.com/docs)

The Oso SDK provides web framework middleware for [`oso-cloud`](https://pypi.org/project/oso-cloud/), the Oso Cloud Client for Python.

**Please Note: The SDK is currently released as a developer preview. Do not use this SDK for production workloads.**


## Getting Started

>If you are looking for the sample application, navigate to [examples/starter-policy/fastapi](examples/starter-policy/fastapi/).

### Install

```bash
pip install --upgrade oso-sdk
```

### Integrations

The Oso SDK integrates directly with the following supported web frameworks:

- [FastAPI](https://github.com/osohq/oso-python/blob/main/examples/fastapi/README.md)
- [Flask](https://github.com/osohq/oso-python/blob/main/examples/flask/README.md)

If you want to add support for a new web framework, please submit a Pull Request or open a GitHub issue.

## Documentation

- To get up and running with Oso, try the [Quickstart guide](https://www.osohq.com/docs/get-started/quickstart/beginners-guide).
- Full documentation is available at [https://www.osohq.com/docs](https://www.osohq.com/docs).
- To learn about authorization best practices (not specific to Oso), read the [Authorization Academy](https://www.osohq.com/developers/authorization-academy) guides.

## Community & Support

If you have any questions on Oso or authorization more generally, you can join our engineering team & hundreds of other developers using Oso in our community Slack:

[![Button][join-slack-link]][badge-slack-link]

## Contributing to the SDK

Please refer to [CONTRIBUTING.md](https://github.com/osohq/oso-python/blob/main/CONTRIBUTING.md).

## License

Licensed under the Apache 2.0 license, see [LICENSE](https://github.com/osohq/oso-python/blob/main/LICENSE).

[join-slack-link]: https://user-images.githubusercontent.com/282595/128394344-1bd9e5b2-e83d-4666-b446-2e4f431ffcea.png
[badge-slack-link]: https://join-slack.osohq.com/