semvec/pypi-packages huggingface dataset:
gmymaps 0.1.1
Reverse engineered APIs to interact with a Google My Maps map
Requires Python: <4.0,>=3.11

# gmymaps

## Impetus
Google Maps has a convenient feature for saving points of interest, called My Maps. Such maps are
useful for sharing locations with friends. Unfortunately, Google does not provide an API to
programatically view or update a MyMaps map<sup>[1](#references)</sup>, and it is
unlikely to be available any time soon.

This package acts as a simple wrapper around the endpoints used by the official My Maps web app,
essentially mimicking the web app's behavior.


## Try it out!
1. Head over to [My Maps](https://www.google.com/maps/d/u/0/) and create a My Maps map.
2. On [Google Drive](https://drive.google.com/drive), make the map publicly accessible by sharing
it as link for anyone to edit.

**Fetching map data**
```python
import gmymaps

map_id = 'your-map-id-here'
client = gmymaps.get_client()
result = client.get_map_data(map_id)
```

**Editing points and layers**
```python
from gmymaps import PointAttrs, PointAttrType

map_id = 'your-map-id-here'
layer_id = client.create_layer(map_id)
client.update_layer(map_id, layer_id, layer_name='My New Layer')

point_id = client.create_point(map_id, layer_id)
attrs = (PointAttrs()
    .add_attr(PointAttrType.NAME, "My New Point")
    .add_attr(PointAttrType.DESCRIPTION, "This is an interesting place to go!")
    .add_attr(PointAttrType.COORD, [1.37, 103.75]))
client.update_point(map_id, layer_id, point_id, attrs)

client.delete_point(map_id, layer_id, point_id)
client.delete_layer(map_id, layer_id)
```

## Cookies
When attempting to access a private map, requests will be redirected to a sign-in page.
This redirection occurs even if the map is shared with a service account and
accessed using OAuth credentials from that account. To bypass this, you can save a session cookie,
similar to yt-dlp's `--cookies-from-browser` feature. For more details, refer to `cookie.py`.


## Future work
- Creating convenience wrappers like `Map` and `Layer`
- Changing of point colors
- Uploading and downloading of KML files


## References
1: Link to issue: https://issuetracker.google.com/issues/35820262
doup 4.0.1
doup is a command line tool to find and update Docker-Image-Strings in project files.

# 🚀 doup

A command line tool to find and update dockertags in project files.

[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)
[![pipeline main](https://gitlab.com/doup1/doup/badges/main/pipeline.svg)](https://gitlab.com/doup1/doup/blob/feature/update_readme/README.md)

## Why you should use doup

The version of docker images should not set to `latest` to avoid upgrade nightmares and ensure the stability of your environment.
But containers should also be upgraded regulary to get new features and fixes of security issues.

You have to check for each container individually if a new version is published or not.
`doup` can save you a lot of time and is taking this task from you.

### Example

```bash
  ~/dev/repos/best_repo_ever (main)
 > doup --dry-run .

Finished in 20 seconds.
Searched in 11547 files and found 17 managed docker images.

| Filename          | Repository                   | Tag                        | Next                      | hasMajorVersionUpdate   |
|-------------------|------------------------------|----------------------------|---------------------------|-------------------------|
| all/vars.yml      | plantuml/plantuml-server     | jetty-v1.2022.14           | jetty-v1.2023.0           | False                   |
| all/vars.yml      | louislam/uptime-kuma         | 1.19.2-alpine              | 1.19.4-alpine             | False                   |
| all/jellyfin.yml  | jellyfin/jellyfin            | 20221230.11-unstable-amd64 | 20230114.9-unstable-amd64 | False                   |
| all/container.yml | homeassistant/home-assistant | 2023.1.1                   | 2023.1.4                  | False                   |
```

## Prepare your project for doup

Each dockerimage has to be marked in the previous line:

```yml
# doup:latest
haproxy_docker_image: haproxy:2.6.2-bullseye
```

- `doup`: doup is looking for lines which contains `doup:*`
- `latest`: the tag on dockerhub which is used to get the latest concrete tag

## QuickSetup

`doup` is published on PyPi and can be installed with `pip install doup`.
Afterwards you should mark some Docker-Version-Strings in your project and run `doup --dry-run`.

## Incoming features

- add output: release date of docker image
- add command: `doup list images`
  - list marked dockertags
- add command:`doup find images`
  - finds not marked dockertags
css-colors-stats 0.0.3
Quickly extract and count colors from CSS files.
Requires Python: <4.0,>=3.9

# css-colors-stats
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/css-colors-stats) ![PyPI - Version](https://img.shields.io/pypi/v/css-colors-stats)
[![Deployment](https://github.com/giocaizzi/css-colors-stats/actions/workflows/deployment.yml/badge.svg)](https://github.com/giocaizzi/css-colors-stats/actions/workflows/deployment.yml)

Quickly **extract and count colors from CSS files** using a *python CLI tool*.

Export result to:
- `json`
- `html`

Available color formats:
- `hex`
- `rgb`
- `rgba`
- `hsl`
- `hsla`

## Installation

Clone this repo and install it with *pip*.

```shell
pip install css-colors-stats
```

## Usage

```shell
css-colors-stats [-h] [--html] filepath
```

*Positional arguments*:
- `filepath`    the path to the CSS file.

*Options*:
- `--html`:             generate an HTML file with the color counts
- `-h`, `--help `:      show help message and exit