semvec/pypi-packages huggingface dataset:
casher 0.5.0
Module for creating cache files, folders and etc
License: MIT
Requires Python: >=3.10,<4.0


# Casher - in development

1. [License](LICENSE.rst)

Python small module for creating cache files, folders and etc. Main purpose is to save data from
class, dict, object to local file and fast load it when required.

Primary usage is wrapping functions and classes for creating cache files.
jsw-wcc 0.1.11
Add water mark for image based on python.
License: MIT
Requires Python: >=3.10,<4.0

# jsw-wcc(marker.py)
> 为图片添加文字水印
> 可设置文字**大小、颜色、旋转、间隔、透明度**

<img src="https://tva1.sinaimg.cn/large/008vxvgGgy1h7qtfvu71xj30uh0p6wki.jpg" width="800" />

## installation
```shell
pip install jsw-wcc -U
```

# usage
> 需要 PIL 库 `pip install Pillow`

```
usage: wcc [-h] [-f FILE] [-m MARK] [-o OUT] [-c COLOR] [-s SPACE] [-a ANGLE] [--font-family FONT_FAMILY] [--font-height-crop FONT_HEIGHT_CROP] [--size SIZE]
                 [--opacity OPACITY] [--quality QUALITY]

optional arguments:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  image file path or directory
  -m MARK, --mark MARK  watermark content
  -o OUT, --out OUT     image output directory, default is ./output
  -c COLOR, --color COLOR
                        text color like '#000000', default is #8B8B1B
  -s SPACE, --space SPACE
                        space between watermarks, default is 75
  -a ANGLE, --angle ANGLE
                        rotate angle of watermarks, default is 30
  --font-family FONT_FAMILY
                        font family of text, default is './font/青鸟华光简琥珀.ttf'
                        using font in system just by font file name
                        for example 'PingFang.ttc', which is default installed on macOS
  --font-height-crop FONT_HEIGHT_CROP
                        change watermark font height crop
                        float will be parsed to factor; int will be parsed to value
                        default is '1.2', meaning 1.2 times font size
                        this useful with CJK font, because line height may be higher than size
  --size SIZE           font size of text, default is 50
  --opacity OPACITY     opacity of watermarks, default is 0.15
  --quality QUALITY     quality of output images, default is 90
```

```shell
wcc -f ./input/test.png -m 添加水印
```
polygon-protection 0.0.1
A library to protect polygon access key information
License: MIT

## Installation

```
pip install polygon_protection
```

## Get Started
```python
from polygon_protection import PolygonProtection

# A dictionary defining the set of currency pairs we will be pulling data for
# WARNING: portfolio class can never be found
# it is a self created class which is not published
currency_pairs = [["AUD", "USD", [], portfolio("AUD", "USD")],
                  ["GBP", "EUR", [], portfolio("GBP", "EUR")],
                  ["USD", "CAD", [], portfolio("USD", "CAD")],
                  ["USD", "JPY", [], portfolio("USD", "JPY")],
                  ["USD", "MXN", [], portfolio("USD", "MXN")],
                  ["EUR", "USD", [], portfolio("EUR", "USD")],
                  ["USD", "CNY", [], portfolio("USD", "CNY")],
                  ["USD", "CZK", [], portfolio("USD", "CZK")],
                  ["USD", "PLN", [], portfolio("USD", "PLN")],
                  ["USD", "INR", [], portfolio("USD", "INR")]]

# Run the main data collection loop
PolygonProtection.main(currency_pairs=currency_pairs)
```
nurdalib 0.1.0
Homework 1 library
License: MIT

**Description**
This library was created for Data Engineering Homework 1 (MG-GY 8411) by Professor De Oliveira 
at the NYU Tandon School of Engineering. This library contains the main() function with the API key 
for Polygon from the code of Max Maximilian, a former student at NYU Tandon.

**Installation**
pip install nurdalib
colab-notebook-utils 1.0.1
Usefull tools for dealing with colab notebooks
License: MIT

# Colab-Utils
Usefull tools for dealing with colab notebooks


## Installation

Go in a colab notebook and run the following cell:

```python
!pip install colab_notebook_utils
```


You will need to mount your drive in the first place.

```python
from google.colab import drive
drive.mount('/content/drive')
```

## Set workspace

You can get the workspace path that Colab use (which is different that the location of your notebook, it should be /content/)
    
```python   
from colab_notebook_utils.workspace import get_workspace_path
get_workspace_path()
```

You can automatically set this workspace as the location of your notebook, which is useful when you want to save files in the workspace, or when you want to use a relative path to a file in the workspace.
    
```python
from colab_notebook_utils.workspace import set_notebook_location_as_workspace
set_notebook_location_as_workspace()
```