semvec/pypi-packages huggingface dataset:
phun 0.1.2
Physics Aware Functions
Requires Python: <4.0,>=3.8

|LT| |Docs| |PyPI|

.. |LT| image:: https://github.com/adxsrc/phun/actions/workflows/python-package.yml/badge.svg
   :target: https://github.com/adxsrc/phun/actions/workflows/python-package.yml

.. |Docs| image:: https://github.com/adxsrc/phun/actions/workflows/sphinx-pages.yml/badge.svg
   :target: https://github.com/adxsrc/phun/actions/workflows/sphinx-pages.yml

.. |PyPI| image:: https://github.com/adxsrc/phun/actions/workflows/python-publish.yml/badge.svg
   :target: https://pypi.org/project/phun/


|Phun|_: Physics Aware Functions
================================

Writing physics functions is non-trivial.
Although each physical quantity can be expressed in different units,
in computation physics, it is common to require the inputs of a
physics function in a pre-determined unit system.
This makes reusing these physics functions in different fields
challenging.
|Astropy|_ provides a powerful ``units`` sub-module to partially solve
this problem.
However, it introduces a special ``Quantity`` class, which makes it
incompatible with other high performance packages such as |JAX|.

|Phun|_ solves this problem by enabling *both* writing physics
functions with ``astropy.units`` and currying these functions into
pure functions that can ``jax.jit``.
|Phun|_ provides a standard pattern to implement these functions, as
well as python decorator to transform these physics functions.
|Phun|_ makes writing |JAX| compatible physics aware functions easier.


.. |Astropy| replace:: ``Astropy``
.. |Phun|    replace:: ``Phun``
.. |JAX|     replace:: ``JAX``

.. _Astropy: https://www.astropy.org/
.. _Phun:    https://github.com/adxsrc/phun
.. _JAX:     https://github.com/google/jax
tp-folder-dl 0.1.1
Automatic download of PO files from the TranslationProject
Requires Python: >=3.9

# tp-folder-dl

[![PyPI - Version](https://img.shields.io/pypi/v/tp-folder-dl.svg)](https://pypi.org/project/tp-folder-dl)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/tp-folder-dl.svg)](https://pypi.org/project/tp-folder-dl)

-----

## Table of Content

<!-- TOC -->
  * [Goal](#goal)
  * [Status](#status)
  * [Installation](#installation)
    * [End user (with pip)](#end-user-with-pip)
    * [Developer](#developer)
  * [Usage](#usage)
  * [License](#license)
<!-- TOC -->

## Goal

This is a simple tool to make it easier for maintainers to retrieve PO files
produced by the [Translation Project](https://translationproject.org/).
It automatically retrieves any new file
meaning a file missing in the local folder or having a timestamp different
from the date on the TP site.

## Status

Despite a high coverage rate (close to 100%), this is only a Beta quality work,
because it lacks real world tests.

## Installation

### End user (with pip)

As the project is available on PyPI, you can just do:

```commandline
pip install tp-folder-dl
```

### Developer

You can manually download a source package from GitHub, or better use `git`:

```commandline
git clone https://github.com/s-ball/tp-folder-dl.git
```

The project contains extensive tests which can be triggered
(from the main project folder) with

```commandline
pytest tests
```
or (when using `hatch`)

```commandline
hatch test
```

## Usage

Just open a terminal window on your system and change the current directory to
the `po` folder of your project. Then just call the tool passing it your project name:

```commandline
tp-folder-dl domain
```

That should be enough to download any new or updated PO file.

Of course, `td-folder-dl` supports the common `-v` and `-h` flags with their
usual meaning.

## License

`tp-folder-dl` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.