semvec/pypi-packages huggingface dataset:
pyirf 0.13.0
A python library to calculate IACT IRFs and Sensitivities
Requires Python: >=3.10

==========================================
pyirf |ci| |codacy| |coverage| |doilatest|
==========================================

.. |ci| image:: https://github.com/cta-observatory/pyirf/workflows/CI/badge.svg?branch=main
  :target: https://github.com/cta-observatory/pyirf/actions?query=workflow%3ACI+branch%3Amain
.. |codacy| image:: https://app.codacy.com/project/badge/Grade/669fef80d3d54070960e66351477e383
  :target: https://www.codacy.com/gh/cta-observatory/pyirf/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=cta-observatory/pyirf&amp;utm_campaign=Badge_Grade
.. |coverage| image:: https://codecov.io/gh/cta-observatory/pyirf/branch/main/graph/badge.svg
  :target: https://codecov.io/gh/cta-observatory/pyirf
.. |doilatest| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4740755.svg
  :target: https://doi.org/10.5281/zenodo.4740755

*pyirf* is a python library for the generation of Instrument Response
Functions (IRFs) and sensitivities for the
`Cherenkov Telescope Array (CTA) <https://www.cta-observatory.org/>`_ .

Thanks to its simple input/output and modular function-based structure,
it can be used to process also data from other Imaging Atmospheric
Cherenkov Telescopes (IACTs).

- **Source code:** https://github.com/cta-observatory/pyirf
- **Documentation:** https://cta-observatory.github.io/pyirf/

Citing this software
--------------------
If you use a released version of this software for a publication,
please cite it by using the corresponding DOI:

- latest : |doilatest|
- all versions: `Please visit Zenodo <https://zenodo.org/record/5833284>`_ and select the correct version

At this point, our latest publication is the `2023 ICRC proceeding <https://doi.org/10.22323/1.444.0618>`_, which you can
cite using the following bibtex entry, especially if using functionalities from ``pyirf.interpolation``:

.. code::

   @inproceedings{pyirf-icrc-2023,
     author = {Dominik, Rune Michael and Linhoff, Maximilian and Sitarek, Julian},
     title = {Interpolation of Instrument Response Functions for the Cherenkov Telescope Array in the Context of pyirf},
     usera = {for the CTA Consortium},
     doi = {10.22323/1.444.0703},
     booktitle = {Proceedings, 38th International Cosmic Ray Conference},
     year=2023,
     volume={444},
     number={618},
     location={Nagoya, Japan},
   }
tradera_api 0.0.1
A python API wrapper for tradera.se
Requires Python: <4.0,>=3.10

# TraderaAPI

[![PyPI version](https://img.shields.io/pypi/v/tradera_api?style=for-the-badge)](https://pypi.org/project/tradera_api/) [![License](https://img.shields.io/badge/license-WTFPL-green?style=for-the-badge)](https://github.com/dunderrrrrr/tradera_api/blob/main/LICENSE) [![Python versions](https://img.shields.io/pypi/pyversions/tradera-api?style=for-the-badge)](https://pypi.org/project/tradera_api/) ![PyPI - Downloads](https://img.shields.io/pypi/dm/tradera_api?style=for-the-badge&color=%23dbce58)

This is an unofficial Python wrapper for the [Tradera](https://tradera.com/) API, Sweden’s largest online marketplace. It simplifies interaction with Tradera's services, such as searching and filtering listings in all categories, returning all data in raw json format.

>Tradera is Sweden's largest online marketplace, offering a platform for buying and selling new and second-hand items through auctions and fixed-price listings. It hosts millions of listings across categories like fashion, electronics, home goods, and collectibles, serving both private individuals and professional sellers.

## ✨ Features

- Make searches across all of Tradera
- Filters for region, categories, price range, and more.

## 🧑‍💻️ Install

TraderaAPI is available on PyPI.

```sh
pip install tradera-api
```

## 💁‍♀️ Usage

This will search for term "ESP32" across all categories using `AuctionType.all` and `Sorting.best_hit`, which is the default Tradera search behavior.

```py
>>> from tradera_api import TraderaAPI
>>> print(TraderaAPI().search("ESP32"))
```

### 🔎 Filtering


Use `Sorting`, `AuctionType`, `Category` and `price` to filter your search. For all available options, see each Enum respectively.


```py
>>> from TraderaAPI import Sorting, AuctionType, Category
>>> TraderaAPI().search(
   query="ESP32", 
   category=Category.hobby,
   price=(50, 200), # from 50 SEK to 200 SEK
   auction_type=AuctionType.buy_now,
   sorting=Sorting.time_left
)
```

## 📝 Notes

- Source repo: https://github.com/dunderrrrrr/tradera_api
- PyPI: https://pypi.org/project/tradera-api/