semvec/pypi-packages huggingface dataset:
apb-spatial-utils 0.1.2
Miscellaneous spatial utils for python
Requires Python: >=3.6

##### Package <em>apb_spatial_utils</em>

Modules to deal with spatial data using common used spatial libraries as `Shapely`, 
`Topojsons` (requires `Nodejs` installed), ...

To install:
```shell
pip install apb_spatial_utils
```

Documentation here [apb_spatial_utils](https://serveis.portdebarcelona.cat/generic_python_packages/apb_spatial_utils.html)
streamlit-gettext 0.0.4
A Streamlit extension for easy localization of your apps
Requires Python: >=3.9
Keywords: streamlit, gettext, i18n

# streamlit-gettext

[![PyPI](https://img.shields.io/pypi/v/streamlit-gettext)](https://pypi.org/project/streamlit-gettext/)
![Supported Python versions](https://img.shields.io/pypi/pyversions/streamlit-gettext)

> 🚧 WORK IN PROGRESS 🚧

A Streamlit extension for easy localization of your apps. Gets preferred languages from the browser, shows the the translated app to a user (it can be different translations for different users connected to the same app).

See a working app with such functionality: <https://github.com/dfint/package-build>

TODO:

- [x] [example](https://github.com/insolor/streamlit-gettext/blob/main/example)
- [x] basic test (a smoketest for the example)
- [ ] documentation
- [ ] support of manual switching with default language selected from the browser preferred languages
- ...

Feedback and suggestions are highliy appreciated.
charmcraftst124 0.1.10
(deprecated) Temporary compatibility wrapper to use ST124 shorthand notation with older versions of charmcraft 3 that don't support ST124
Requires Python: >=3.10

# charmcraftst124

> [!CAUTION]
> This project is **deprecated**. Use [charmcraft](https://github.com/canonical/charmcraft) >=3.3.0 instead

Pack multi-base charms (that include base Ubuntu 24.04) with a single charmcraft.yaml and git branch using the upcoming [ST124 - Multi-base platforms in craft tools](https://docs.google.com/document/d/1QVHxZumruKVZ3yJ2C74qWhvs-ye5I9S6avMBDHs2YcQ/edit) "shorthand notation" charmcraft.yaml syntax

## Installation
Install `pipx`: https://pipx.pypa.io/stable/installation/
```
pipx install charmcraftst124
```

## Usage
### Step 1: Update charmcraft.yaml to supported syntax
Only ST124 "shorthand notation" syntax is supported

#### Example
```yaml
platforms:
  ubuntu@22.04:amd64:
  ubuntu@22.04:arm64:
  ubuntu@24.04:amd64:
  ubuntu@24.04:arm64:
```

Under the `platforms` key, `build-on` and `build-for` syntax are not supported

The `base` and `bases` keys are not supported

### Step 2: Pack platform
```
charmcraftst124 pack --platform ubuntu@22.04:amd64
```

See `charmcraftst124 pack --help` for more information

To pack multiple platforms, run `charmcraftst124 pack` once for each platform

## Why is only "shorthand notation" syntax supported?
"Shorthand notation" is used when `build-on` is identical to `build-for`. (For example, "ubuntu@22.04:amd64" means build on Ubuntu 22.04 amd64 and build for Ubuntu 22.04 amd64.)

For charms that depend (directly or indirectly) on Python packages with C extensions (e.g. pyyaml), charmcraft will build wheels where the C extensions only work on `build-on`.

For example, if a charm is built with
```yaml
platforms:
  foo:
    build-on: ubuntu@22.04:amd64
    build-for:
      - ubuntu@22.04:amd64
      - ubuntu@22.04:arm64
```
the wheels in the *.charm file will contain C extensions that only work on amd64, not arm64.

The vast majority of charms have at least one Python dependency with C extensions, so the vast majority of charms should use "shorthand notation".