semvec/pypi-packages huggingface dataset:
pj-scraper 0.0.4
none
License: MIT
Requires Python: >=3.6

========
Overview
========



none

* Free software: MIT license

Installation
============

::

    pip install pj-scraper

Documentation
=============


To use the project:

.. code-block:: python

    from pj_scraper.scraper import Scraper
    s = Scraper()
    products = s.get_all_products_from_category("smartklokker")
    sellers_and_prices = s.get_sellers_and_prices_of_product_list(
        products["product_number"]
    )


Changelog
=========

0.0.0 (2021-04-09)
------------------

* First release on PyPI.
trick 0.1.0
A collection of some helper functions
License: MIT
Requires Python: >=3.9

# python-trick

一些helper函数合集。

## Reference

### compose

```python
def add_ten(x: int) -> int:
    return x + 10

def multi_five(x: int) -> int:
    return x * 5

add_ten_then_multi_five = compose(multi_five, add_ten)

add_ten_then_multi_five(2)  # output: 60
```

### curry

```python
@curry
def add(a, b, c, d):
    return a + b + c + d

assert add(1, 2, 3, 4) == add(1)(2)(3)(4)
```