semvec/pypi-packages huggingface dataset:
assert-files 0.1.3
Assert files in test automation
License: MIT
Requires Python: >=3
Keywords: assert files test automation compare

# Assert-files

This lib is a support assert to validate files content (txt, csv, pdf, docx, xlsx and etc.).

## Features

* Implemented
    * PDF
        *  Form Comparing
* Not Implemente
    * PDF
        *All text comparing
    * TXT
    * CSV
    * DOCX
    * XLSX

___
## Installation
Follow lib instructions on https://pypi.org/project/assert-files/

```sh
pip install assert-files
```

## How to use

You are able to use assert_file.file.File object or just provide the path of local file

```python
from assert_files.assert_files import assert_objects
from assert_files.file import File

fields = ['field1', 'field2']
assert_objects(
    File(filepath='./tests/files/test_main.pdf'), 
    File(filepath='./tests/files/test_main_copy.pdf'), 
    fields=fields
)
```

```python
from assert_files.assert_files import assert_files_by_path

fields = ['field1', 'field2']
assert_files_by_path(
    './tests/files/test_main.pdf', 
    './tests/files/test_main_copy.pdf', 
    fields=fields
)
```
morecopy 0.4.0
Copy even immutable objects as much as possible
License: MIT
Requires Python: >=3.8,<3.13
Keywords: copy,deepcopy

# morecopy

[![Release](https://img.shields.io/pypi/v/morecopy?label=Release&color=cornflowerblue&style=flat-square)](https://pypi.org/project/morecopy/)
[![Python](https://img.shields.io/pypi/pyversions/morecopy?label=Python&color=cornflowerblue&style=flat-square)](https://pypi.org/project/morecopy/)
[![Downloads](https://img.shields.io/pypi/dm/morecopy?label=Downloads&color=cornflowerblue&style=flat-square)](https://pepy.tech/project/morecopy)
[![DOI](https://img.shields.io/badge/DOI-10.5281/zenodo.5594444-cornflowerblue?style=flat-square)](https://doi.org/10.5281/zenodo.5594444)
[![Tests](https://img.shields.io/github/actions/workflow/status/astropenguin/morecopy/tests.yml?label=Tests&style=flat-square)](https://github.com/astropenguin/morecopy/actions)

Copy even immutable objects as much as possible

## Overview

morecopy is a Python package that enables copy of immutable objects so that a copied object is equivalent but not identical to the original:

```python
from morecopy import copy


original = 1234567890
copied = copy(original)

original == copied # -> True
original is copied # -> False
```

> **Note**
> In general, there is no need to copy immutable objects, so this package may not be necessary in most cases.
> Also, some objects may not be copied even with this package:
> In CPython, for example, integers from -5 to 256 are always uncopied for optimization.

## Installation

```shell
$ pip install morecopy
```

## Supported immutable types

The following types are supported.
For mutable types (e.g. `list`) or unsupported immutable types (e.g. `bool`, `NoneType`), `morecopy.copy` and `morecopy.deepcopy` are equivalent to `copy.copy` and `copy.deepcopy`, respectively.

Type | `morecopy.copy` | `morecopy.deepcopy`
--- | --- | ---
`int` | yes | n/a
`float` | yes | n/a
`complex` | yes | n/a
`str` | yes | n/a
`bytes` | yes | n/a
`tuple` | yes | n/a
`range` | yes | n/a
`slice` | yes | n/a
`frozenset` | yes | n/a
`FunctionType` | yes | n/a
`LambdaType` | yes | n/a

## Custom immutable copier

Users can add a custom copy function (copier) for a type.
For example, the following code defines copy of integer by creating a copy function and registering it by the `copier_for` decorator.

```python
from morecopy import copier_for


@copier_for(int)
def copy_int(integer: int) -> int:
    return eval(repr(integer))
```
active-pr 0.1.0
an active report of PRs in the github
License: MIT
Requires Python: >=3.9,<4.0
Keywords: api,github,cli,report

# active_pr
an active report of PRs in the github.



## install
```bash
pip install active_pr
```

## access token
We should get a reading only github token [here](https://github.com/settings/tokens?type=beta) for access, and set in our env.
```bash
export GITHUB_TOKEN=<your token>
```


## usage
```bash
export | grep "GITHUB_TOKEN"
GITHUB_TOKEN=<github token>

# search created_at='begin..end' and state is the current state.
active_pr \
    --author kyoto7250 \
    --begin 2023-04-01 \
    --end 2023-04-30 \
    --type both \
    --state closed
    # --github-token <github token>


| repo_name             | type   | title                                                                                                                | created_at   | closed_at   |
|-----------------------|--------|----------------------------------------------------------------------------------------------------------------------|--------------|-------------|
| astral-sh/ruff        | PR     | [[`flake8-simplify`] Implement `dict-get-with-none-default` (`SIM910`)](https://github.com/astral-sh/ruff/pull/3874) | 2023-04-04   | 2023-04-04  |
| astral-sh/ruff        | PR     | [Supports more cases in `SIM112`](https://github.com/astral-sh/ruff/pull/3876)                                       | 2023-04-04   | 2023-04-04  |
| dondongwon/LPMDataset | ISSUE  | [Where is the `scrape_scope` column  at `raw_video_links.csv`?](https://github.com/dondongwon/LPMDataset/issues/3)   | 2023-04-25   | 2023-06-07  |

``````


## contribute
If you have suggestions for features or improvements to the code, please feel free to create an issue or PR.