semvec/pypi-packages huggingface dataset:
resumableds 1.0.0
A Python class that supports Data Science projects.

# resumableds
A Python class that supports Data Science projects.

resumableds supports you in writing data science scripts including save/resume functionality.

Data can be saved and resumed avoiding unnessary retrievals of raw data from data storages.

The data directory structure is inspired by cookiecutter-data-science (https://drivendata.github.io/cookiecutter-data-science/).

The class also supports the statement 'Analysis is a DAG' (https://drivendata.github.io/cookiecutter-data-science/#analysis-is-a-dag).


resumableds is written in pure Python and it is intended to be used within Jupyter notebooks.
It however can also be useful in Python scripts or script pipelines.

### Example

```
proj1 = RdsProject('project1') # create object from class (creates the dir if it doesn't exist yet)
proj1.raw.df1 = pd.DataFrame() # create dataframe as attribute of proj1.raw (RdsFs 'raw')
proj1.defs.variable1 = 'foo' # create simple objects as attribute of proj1.defs (RdsFs 'defs')
proj1.save() # saved attributes of all RfdFs in proj1 to disk
```

This will result in the following directory structure (plus some overhead of internals):

- <output_dir>/defs/var_variable1.pkl
- <output_dir>/raw/df1.pkl
- <output_dir>/raw/df1.csv

Note, pandas dataframes are always dumped as pickle for further processing and as csv for easy exploration. The csv files are never read back anymore.

Later on or in another python session, you can do this:

```
proj2 = RdsProject('project1') # vars and data are read back to their original names
proj2.defs.variable1 == 'foo' # ==> True
isinstance(proj2.raw.df1, pd.DataFrame) # ==> True
```
tap-exchangeratehost 0.1.2
Singer.io tap for extracting currency exchange rate data from the exchangerate.host API

# tap-exchangeratehost

A [Singer](https://singer.io) tap to extract currency exchange rate
data from [exchangerate.host](http://exchangerate.host).

## Install

```
pip install tap-exchangeratehost
```

## Run

tap-exchangeratehost -c config.json

If you omit config file, the exchange rates are pulled with EUR as
base currency for the date of execution.

## About this project

This tap was inspired by [tap-exchangeragesapi](https://github.com/singer-io/tap-exchangeratesapi).
It was developed as a replacement of it after the original data source
(https://exchangeratesapi.io) started to require a signup and access key,
which is not ideal for the first example of singer.io.

Developed by ANELEN and friends. Please check out the ANELEN's
[open innovation philosophy and other projects](https://anelen.co/open-source.html)

![ANELEN](https://avatars.githubusercontent.com/u/13533307?s=400&u=a0d24a7330d55ce6db695c5572faf8f490c63898&v=4)

---

Copyright &copy; 2021~ Anelen Co., LLC
pyformex-tools 3.3.1
A collection of tools from the pyFormex project
Requires Python: >=3.8

# pyFormex Tools

This package contains some versatile tools that were taken from the
[pyFormex project](https://pyformex.org).
During two decades of pyFormex development, some tools were created that may
be interesting for a wider community. So we decided to publish these tools
separately to make them easier to install for those not needing the whole
pyFormex framework.

## Available modules

  * path: Defines a class Path that allows objected oriented handling of
          file system paths in the style of Python's pathlib, but more
		  convenient to use because our Path derives from str and can thus
		  be used everywhere a normal str is accepted.
          See also the [documentation](https://www.nongnu.org/pyformex/doc-3.0/ref/path.html#module-path).


## Version

  The first two components of the pyFormex Tools version are always the same as
  the corresponding pyFormex release version. A third component may be added
  to tag subsequent versions of this package.


## License

  pyFormex is licensed under the GNU General Public License v3 or later (GPLv3+)
  and so are these tools.
img-compress 0.0.3
一个主流图片压缩方案的自动化脚本（利用 tinify 实现）
Requires Python: >=3.6

# 一个主流图片压缩方案的自动化脚本（利用 tinify 实现）

### 实现三种图片输入的方式
* 用户可以指定需要压缩的图片文件名称（支持多个图片文件，使用空格隔开）
* 如果用户未指定图片，默认压缩当前文件夹下所有的 jpg/jpeg/png/webp 图片

### 支持图片的尺寸调整
* 输入宽度和高度（比如 600 800），表示按比例缩小图片，使其适合给定的尺寸
* 输入宽度（比如 600 0），表示按确定的宽度调整图片，高度适配
* 输入高度（比如 0 800），表示按确定的高度调整图片，宽度适配
* 如未输入宽度和高度，则表示按照原始分辨率来压缩图片

### 调用方法
```
import img_compress

img_compress.tinify.key = "" # 请在https://tinify.cn/developers申请密匙
img_compress.compress() # 可以指定多个图片文件，未指定则压缩当前路径下的图片
```

注意：需先到tifiny官网申请API密匙 -> [传送门](https://tinify.cn/developers)