semvec/pypi-packages huggingface dataset:
traceplot 1.0.4
Static map generator with points plots.
Requires Python: >=3.12

# Traceplot

_Traceplot_ is a library to generate static maps and plot points on it. You can download background maps from mapping services (Google Maps, Mapbox, OSM, ...) and plot your points on top. You can add markers, title, elevation graphs and more.

Here is a result you can get:

![](https://raw.githubusercontent.com/cdugeai/traceplot/main/images/premier_jour.png)

## Installation

_Traceplot_ is available on [Pypi](https://pypi.org/project/traceplot/):

```sh
# Using uv
uv add traceplot
# Using pip
pip install traceplot
```

## Usage

See more code in [examples](./examples) folder for loading points from GPX.

```python
from traceplot.Trace import Trace
from traceplot.types import PointGeo
from traceplot.BackgroundImage import BackgroundImage

points_geo_manual: list[PointGeo] = [
    PointGeo(2.282259089265323, 48.88677456721743, 50),
    PointGeo(2.2746338, 48.8589385, 52),
    PointGeo(2.3850533122051463, 48.82797239213328, 60),
]

t: Trace = Trace(points_geo=points_geo_manual)

t.addBackgroundImage(
    background_img=BackgroundImage(
        bbox=(2.117, 48.704, 2.557, 48.994), image_path="out/background_paris.png"
    )
)
t.addMarker(
    points_geo[0],
    img_path="img/marker_start.png",
    label_text="Start",
    marker_scale=0.5,
    label_offset_x=0.05,
    label_box=dict(
        boxstyle="round",
        edgecolor=(1.0, 0.1, 0.4, 0.6),
        facecolor=(1.0, 0.8, 0.8, .7),
    ),
    fontfamily="monospace",
)
t.addPolygon(
    [PointGeo(2.1, 48.1, 10), PointGeo(2.1, 49.1, 20)],
    fill=False,
    linewidth=4.0,
    edgecolor=(36/255, 28/255, 143/255, 0.3),
    linestyle="--",
)
t.addElevationGraph(height_pct=0.17, backgroundColor="white", backgroundColorAlpha=0.6)
t.plotPoints(format_string="-r", linewidth=6, alpha=.25)
t.addTitle("Around Paris", center_x=0.5, center_y=0.2, fontsize=30, fontstyle="italic")
t.save("out/day_one.png")
t.show()
t.close()
```

## Maps providers

Current implemented maps providers are:

- [done] Google Maps Static API
- [todo] Mapbox
- [todo] OSM
- [todo] Geoapify

## Developpement

Here are some useful commands for developpement:

```sh
# Run tests
make test
# Run lint
make lint
# Format code
make format
# Type checking
make mypy
# Get coverage
make coverage
```

These commands are available in [Makefile](./Makefile).
cffi-stubgen 1.0.2
PEP 561 type stubs generator for cffi modules
Requires Python: >=3.10

[![Build Status](https://github.com/LorenzoPeri17/cffi-stubgen/actions/workflows/tests.yaml/badge.svg)](https://github.com/<user>/<repo>/actions)
[![PyPI version](https://img.shields.io/pypi/v/cffi-stubgen.svg)](https://pypi.org/project/cffi-stubgen/)
[![License](https://img.shields.io/pypi/l/cffi-stubgen.svg)](https://github.com/LorenzoPeri17/cffi-stubgen/blob/main/LICENSE)
[![Python versions](https://img.shields.io/pypi/pyversions/cffi-stubgen.svg)](https://pypi.org/project/cffi-stubgen/)

# `cffi-stubgen`

`cffi-stubgen` is a tool for automatically generating [PEP 561](https://www.python.org/dev/peps/pep-0561/) type stubs (`.pyi` files) for Python modules built with [cffi](https://cffi.readthedocs.io/). This makes it easy to add type hints to your CFFI-based extensions, unlocking the full power of static type checking and IDE features.

## Why generate stubs?

- **Type checking:** Use tools like `mypy` to catch bugs before runtime.
- **IDE support:** Get autocompletion, inline documentation, and better navigation in editors like VS Code and PyCharm.
- **Documentation:** Stubs make your API clearer for users and contributors.

## How does it work?

`cffi-stubgen` inspects the compiled CFFI module (not your Python source!) and generates stubs for all the functions and types exposed via CFFI. You simply point it at the built module, and it does the rest.

## Quick Example

Suppose you have a CFFI module built in `example_module._example`. After installing your package, just run:

```sh
cffi-stubgen example_module._example
```

This will generate `.pyi` stubs for your module, ready for type checking and IDE use.

For a full walkthrough, see the [example/README.md](https://github.com/LorenzoPeri17/cffi-stubgen/tree/main/example) in this repository.

It will show you how `cffi-stubgen` can make `mypy` (and your IDE) aware of the arguments of

``` C
int add(int a, int b);
```

![VSCode Autocomplete Example](https://github.com/LorenzoPeri17/cffi-stubgen/blob/main/example/assets/vscode.png)

## Command Line Options

`cffi-stubgen` provides several options to customize stub generation:

- `-o`, `--output-dir`: Set the output directory for stubs (default: same as module).
- `-t`, `--typedefs`: Additional C types to define (space-separated).
- `--dry-run`: Parse the module and report errors, but don’t write stubs.
- `--no-cleanup`: If stub generation fails, do not remove incomplete stubs.
- `--verbose`: Print detailed information during stub generation.
- `--stub-extension`: Choose the file extension for stubs (`pyi` [default] or `py`).
- `MODULE_NAME`: The fully qualified name of your cffi module (e.g., `example_module._example`).

## Learn More

See the [example](https://github.com/LorenzoPeri17/cffi-stubgen/tree/main/example) for a hands-on guide!
chebfun 0.4.4.1
A Python implementation of Chebfun
Requires Python: >=3.10

================================================
ChebPy - A Python implementation of Chebfun
================================================

.. image:: https://github.com/chebpy/chebpy/actions/workflows/unittest.yml/badge.svg
    :target: https://github.com/chebpy/chebpy/actions/workflows/unittest.yml
.. image:: https://coveralls.io/repos/github/chebpy/chebpy/badge.svg?branch=master
    :target: https://coveralls.io/github/chebpy/chebpy?branch=master
.. image:: https://img.shields.io/badge/python-%203.8_--%203.13-blue.svg?
    :target: https://github.com/chebpy/chebpy/actions/workflows/unittest.yml
.. image:: https://img.shields.io/conda/dn/conda-forge/chebfun?label=conda%20downloads
    :target: https://anaconda.org/conda-forge/chebfun
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black
.. image:: https://mybinder.org/badge_logo.svg
    :target: https://mybinder.org/v2/gh/chebpy/chebpy/v0.4.3?filepath=docs%2Fnotebook-getting-started.ipynb

|


Numerical computing with Chebyshev series approximations in Python.


.. image:: docs/chebpy-readme-image1.png


ChebPy is a Python implementation of `Chebfun <http://www.chebfun.org/>`_.

- The software is licensed under a 3-Clause BSD License, see `LICENSE.rst <LICENSE.rst>`_.
- For installation details, see `INSTALL.rst <INSTALL.rst>`_.
- The code is documented in various files in the `docs <docs/>`_ folder.


The figure above was generated with the following simple ChebPy code:

.. code:: python

	f = chebfun(lambda x: np.sin(x**2) + np.sin(x)**2, [0, 10])
	g = chebfun(lambda x: np.exp(-(x-5)**2/10), [0, 10])
	r = (f-g).roots()
	ax = f.plot(); g.plot()
	ax.plot(r, f(r), 'o')
aoc-data 0.0.1
Real data to test your Advent of Code solutions
Requires Python: >=3.9

# aoc-data

> Real data to test your Advent of Code solutions

This package provides an example set of inputs and outputs to test
your [Advent of Code](https://adventofcode.com/) solutions against.

It's one thing to know your code happens to spit out the correct answers given your own
assigned input for an AoC puzzle.
This project prevents coincidences by allowing you to test your code against several
inputs.

> [!WARNING]
> This project is in development, and its features are not yet stable.

[![PyPI - Downloads](https://img.shields.io/pypi/dm/aoc-data)](https://pypi.org/project/aoc-data/)
[![Supported Versions](https://img.shields.io/pypi/pyversions/aoc-data.svg)](https://pypi.org/project/aoc-data)
[![Testing Status](https://img.shields.io/github/actions/workflow/status/bsoyka/aoc-data/test.yml?branch=main&label=tests)](https://github.com/bsoyka/aoc-data/actions?query=workflow%3A%22Test+with+pytest%22)
[![License](https://img.shields.io/pypi/l/aoc-data)](https://github.com/bsoyka/aoc-data/blob/master/LICENSE)
[![Version](https://img.shields.io/pypi/v/aoc-data?label=latest)](https://pypi.org/project/aoc-data)
[![GitHub Repo stars](https://img.shields.io/github/stars/bsoyka/aoc-data)](https://github.com/bsoyka/aoc-data)

## Installation

aoc-data is [available on PyPI](https://pypi.org/project/advent-of-code-ocr/).
Install it with your preferred package manager:

```sh
$ uv add aoc-data
$ pip install aoc-data
```

aoc-data officially supports Python 3.9+.

---

Advent of Code is a registered trademark of Eric K Wastl in the United States. This
project is not affiliated with nor endorsed by Advent of Code.