semvec/pypi-packages huggingface dataset:
Qart 0.0.20
A short description of your package
License: MIT
Requires Python: >=3.6

# Coverage
[![codecov](https://codecov.io/gh/as6325400/Qart/branch/main/graph/badge.svg)](https://codecov.io/gh/as6325400/Qart)

# A package to blend image and Qrcode


## Install

```py
pip install Qart
```

## Usage

### InformationMask

if object inherit Qrcode can use this method

Return a numpy array sizeof module nums


1. if Mask[i][j] == 0，this point is cannot be changed
2. if Mask[i][j] == 1，this point is dont care
3. if Mask[i][j] == 2，this point is padding
4. if Mask[i][j] == 3，this point is data
5. if Mask[i][j] == 4，this point is ecc
6. if Mask[i][j] == 5，this point remain bits


in short, if mask[i][j] == [1, 2, 4], this point can change

### Qrcode

1. **Create Object**
    To create an object where the constructor takes a string that you want to encode

    ```py
    from Qart import Qrcode

    Qr = Qrcode("Accepted")
    ```

2. **Generate**
    - The first parameter is the version of the QR code to be generated.
    - The second parameter is the error correction level of the QR code to be generated.
    - The third parameter is the version of the mask 0 ~ 7. (option)
    - The fourth parameter is the mode of the positioning point can use "Normal" and "Micro". (option)

    ```py
    Qr.generate(6, "L", mask = 0, mode = "Normal")
    ```

3. **Show**
    Show QRcode use matplotlib

    ```py
    Qr.show()
    ```

### Qart 

1. **Create Object**
    To create an object where the constructor takes a string or numpy array that you want to encode

    ```py
    from Qart import Qart
    Qr = Qart("Accepted")
    ```

2. **Generate**
    - The first parameter is the path of the image to be merged.
    - The second parameter is the version of the QR code to be generated.
    - The third parameter is the error correction level of the QR code to be generated.
    - The fourth parameter is the version of the mask 0 ~ 7. (option)
    - The fifth parameter is the mode of the positioning point can use "Normal" and "Micro". (option)

    ```py
    Qr.generate("img.png", 6, "L", mask = 0, mode = "Normal")
    ```

3. **Show**
    Show QRcode use matplotlib

    ```py
    Qr.show()
    ```

### Image

1. **Load Image**
   ```py
   from Qart import Image
   img = Image("1.png")
   ```
3. **Set Moudlenums (option)**
   ```py
   from Qart import Image
   img.SetModuleNums(MoudleNums: int)
   ```
4. **Show**
   Four mode, "RGB" "Grayscale" "OTSU" "Modulebase"
            
   ```py
   from Qart import Image
   img.show("OTSU")
   ```

## Reference

1. [QArt Codes](https://research.swtch.com/qart)
2. [thonky](https://www.thonky.com/qr-code-tutorial/)
pakage-version-seeker 1.0.4
Find unspecified pakages verison!!
License: MIT
Requires Python: >=3.8

# package-version-seeker

옛날 버전의 패키지를 설치할때, requirement.txt를 보면 버전이 명시되지 않은 경우가 있습니다.

패키지가 만들어진 당시에는 명시하지 않아도 잘 동작했겠지만, 지금은 아닙니다.

1. 매번 패키지가 만들어진 날짜를 찾고
2. 찾은 날짜랑 가장 비슷한 날짜에 만들어진 버전을 다시 찾아서
3. requirement.txt를 수정해야합니다.

위 과정은 굉장히 귀찮은 작업입니다.

## How to use

총 3가지가 필요합니다.
- 문제가 되는 requirement.txt의 경로
- 문제가 되는 패키지의 이름 (ex. mmdet3d)
- 문제가 되는 패키지의 버전 (ex. 0.17.1)

예시로 드는 텍스트 파일은 아래와 같이 작성되어있습니다.
```python
lyft_dataset_sdk
networkx>=2.2,<2.3
# we may unlock the verion of numba in the future
numba==0.48.0
numpy<1.20.0
nuscenes-devkit
plyfile
scikit-image
# by default we also use tensorboard to log results
tensorboard
trimesh>=2.35.39,<2.35.40
```

보시다시피, 몇가지 패키지는 버전 명시가 되어있지 않습니다.

다음과 같이 `pakage-version-seeker`를 설치해주세요
```python
pip install pakage-version-seeker
```

>[!CAUTION]
>이름이 `pakage`로 시작하는 것은 오타가 아닙니다. \
>\
>패키지를 배포할때, 제가 실수해서 그렇습니다.

이후 다음과 같이 실행합니다.

```python
pvs mmdet3d 0.17.1 ./mmdetection3d/requirements/runtime.txt
```

실행 결과는 다음과 같습니다.

```python
[SUCCESS]
======================================================================================
Export pretty requirement.txt to 'mmdetection3d/requirements/runtime.txt' successfully  
======================================================================================
```

파일은 다음과 같이 변경됩니다.

```python
lyft_dataset_sdk==0.0.8
networkx>=2.2,<2.3
numba==0.48.0
numpy<1.20.0
nuscenes-devkit==1.1.9
plyfile==0.7.4
scikit-image==0.18.3
tensorboard==2.6.0
trimesh>=2.35.39,<2.35.40
```

>[!NOTE]
>기본적인 동작은 req_path에 존재하는 requirement.txt를 수정하는 것입니다. \
>만약 단순하게 output만 확인하는 경우, 다음과 같이 `--show-output` 인자를 같이 작성해주세요.

```python
pvs mmdet3d 0.17.1 ./mmdetection3d/requirements/runtime.txt --show-output
```

### If the desired path exists

특정 파일로 결과를 작성하고싶은 경우, 다음과 같이 `--export-path`를 명시해주세요.

```python
pvs mmdet3d 0.17.1 ./mmdetection3d/requirements/runtime.txt --export-path ./new_requirement.txt
```
git-codeowners 1.1.2
A git subcommand to query and validate CODEOWNERS
License: MIT
Requires Python: >=3.8
Keywords: CODEOWNERS, git, owners

# git-codeowners

**A git subcommand to query and validate CODEOWNERS.**

List owners of files based on the [CODEOWNERS](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners) file of the current repository.

```bash
> git codeowners src/main.rs
src/main.rs                              @weyland
```

```bash
> git codeowners `git ls-files`
.gitignore                               (unowned)
Cargo.lock                               @weyland
Cargo.toml                               @weyland
LICENSE                                  (unowned)
README.md                                @weyland
src/main.rs                              @weyland
```

```bash
# Oops, did the last commit add unowned files?
> git diff --name-only --diff-filter=A | git codeowners
.gitignore                               @bob
LICENSE                                  (unowned)
```

```bash
# I need stats about my repo
> echo `git ls-files | git codeowners | grep "(unowned)"| wc -l` out of `git ls-files | git codeowners | wc -l` files in this repository do not have a corresponding CODEOWNERS entry
2 out of 6 files in this repository do not have a CODEOWNERS entry
```

## Installation

- via [pip](https://pypi.org/project/git-codeowners/): `pip install git-codeowners`
- via [Cargo](https://crates.io/crates/git-owners): `cargo install git-owners`

  Note: The Cargo crate installs an equivalent `git-owners` command in addition to `git-codeowners`, for backwards compatibility.


## Usage

- Show owner of a file

  ```bash
  git codeowners some/path
  ```

- Show owners for a list of files

  ```bash
  git codeowners some/path some/other/path
  ```

Each path should be relative to the git repository root. This makes it easy to combine with other git commands:

- Show owners for every tracked file in the repository

  ```bash
  git ls-files | git codeowners
  ```

- Show owners for files modified in last five commits

  ```bash
  git diff --name-only HEAD~5 HEAD | git codeowners
  ```

- Congratulate the user if the current changeset does not add files without owner

  ```bash
  git diff --diff-filter=ACR --name-only | git codeowners && echo "Great job! No unowned files added!"
  ```

- Get an overview of your CODEOWNERS coverage
  ```bash
  echo `git ls-files | git codeowners | grep "(unowned)"| wc -l` out of `git ls-files | git codeowners | wc -l` files in this repository do not have a CODEOWNERS entry
  ```

## Features

- Detects the right CODEOWNERS file of the current git repository (`CODEOWNERS`, `docs/CODEOWNERS`, or `.github/CODEOWNERS`)
- Works well as a pre-commit hook. Returns a non-zero exit code if unowned files are found
- Is composable & scripting friendly
- Is fast & written in Rust

## Issues & Contributing

If you have any questions or problems, feel free to communicate using Github Issues.