semvec/pypi-packages huggingface dataset:
c2y 0.1.5
Convert coco datasets to yolo datasets
Requires Python: >=3.10,<3.13

# NAME
    c2y

# SYNOPSIS
    c2y <flags>

# DESCRIPTION
    Convert coco datasets to yolo datasets

# FLAGS
    -a, --ann_path=ANN_PATH
        Type: Optional[Optional]
        Default: None
    -i, --imgs_dir=IMGS_DIR
        Type: Optional[Optional]
        Default: None
    -y, --yolo_cfg_yaml=YOLO_CFG_YAML
        Type: Optional[Optional]
        Default: None
    -o, --output_dir=OUTPUT_DIR
        Type: Optional[Optional]
        Default: None
    -f, --force=FORCE
        Type: bool
        Default: False
sourmash-mixers 0.2.2
this meta-package installs a collection of sourmash plugins!
Requires Python: >=3.8

# sourmash-mixers

[![PyPI version](https://badge.fury.io/py/sourmash-mixers.svg)](https://badge.fury.io/py/sourmash-mixers)

`sourmash-mixers` is a meta-package to install a number of useful
[sourmash plugins](https://sourmash.readthedocs.io/en/latest/command-line.html#using-sourmash-plugins)!

Our intention is that all "suitably mature" sourmash plugins will be
available via `sourmash-mixers`, at least for now. "Maturity" rubrics
are defined
[here](https://github.com/ctb/sourmash-mixers/blob/main/.github/ISSUE_TEMPLATE/checklist-for-a-new-plugin.md), but it's an evolving criteria...

The list of plugins installed by `sourmash-mixers` is available [in `pyproject.toml` under **dependencies**](https://github.com/ctb/sourmash-mixers/blob/main/pyproject.toml) - the list includes:

* [a command-line plugin to produce 2- and 3-way Venn diagrams of sketches](https://github.com/sourmash-bio/sourmash_plugin_venn)
* [a command-line plugin to sketch many samples or genomes](https://github.com/sourmash-bio/sourmash_plugin_sketchall)
* [a command-line plugin to download NCBI genomes by accession](https://github.com/ctb/get-some-ncbi-genomes/)
* [a command-line plugin to filter hashes by presence/absence in multiple samples](https://github.com/ctb/sourmash_plugin_commonhash)
* [a command-line plugin to plot abundance histograms](https://github.com/ctb/sourmash_plugin_abundhist)

## Installation

This command:
```
pip install sourmash-mixers
```
will install the [latest version of `sourmash-mixers` from the Python Package Index](https://pypi.org/project/sourmash-mixers/).

## Usage

Command-line plugin subcommands can be listed by:
```
sourmash scripts
```
and detailed usage information for each plugin command can be seen with
```
sourmash scripts <command> -h
```
e.g. `sourmash scripts sketchall -h`.

You can list all installed plugins with:
```
sourmash info -v
```

## Developer information

If you're interested in developing your own plugin, or updating an
existing plugin, please see
[sourmash plugins via Python entry points](https://sourmash.readthedocs.io/en/latest/dev_plugins.html). A template repository is available there for
people who want to just get started writing code! Or you can get started
with any of the plugins described above!

For questions, comments, and help writing and testing plugins, please
file issues
[over on sourmash-bio/sourmash](https://github.com/dib-lab/sourmash/issues)
and/or
[visit our gitter/matrix channel](https://github.com/sourmash-bio/sourmash/issues/1686).

Some back story on plugins - their motivation, and their
implementation - can be found
[in this blog post](http://ivory.idyll.org/blog/2023-sourmash-plugins-first-effort.html).

If you're interested in adding your own plugin to sourmash-mixers
specifically, please create
[a new issue in the sourmash-mixers repository](https://github.com/ctb/sourmash-mixers/issues)
with "Checklist for a new plugin" and fill it out as you can, and then
ask for more instructions on that issue!
license-scanner 0.2.0
Scans your environment for all needed licenses
Keywords: license_scanner

# license_scanner

Find all licenses needed by the package in your python environment.
It will sort all package by license.

Install by pip

```cmd
pip install license_scanner
```

Usage

```cmd
license_scanner
```

![](readme_files/demo.gif)

## Check within you pipeline

You can make your pipeline fail if a project does not have the correct licenses.
To do so create a `pyproject.toml` and add underneath `tool.license_scanner` two lists `allowed-licenses` and `allowed-packages`.
If a package does not have license in `allowed-licenses` AND it is not in `allowed-packages` it will throw an error.

```toml
[tool.license_scanner]
allowed-licenses = [
  "MIT",
  "apache software license",
  "apache software license v2",
  "apache software license v3",
  "BSD license",
  "BSD 3-clause license",
  'GNU lesser general public license',
  'GNU lesser general public license v2',
  'GNU lesser general public license v3',
  'Python software foundation license',
  'Mozilla public license 2.0 (mpl 2.0)',
  'mozilla',
]
allowed-packages = ["license_scanner"]
```

To run the license scanner make sure you are in the same directory as `pyproject.toml` and run `license_scanner -m whitelist` or `python -m license_scanner.cli -m whitelist`. 
It will now throw you an error if your environment has an package with a license you did not approve of.

### Example: Github actions

This github actions triggers every time you make a PR to the main branch. With `pip install .` it installs the current project, next it installs `license_scanner`, and lastly it runs the check.

Be aware, if you want to do unittest make sure you install `pytest` AFTER you run license_scanner. Otherwise `pytest` is in your environment when you check for unwanted licenses.

```yaml
name: Licenses check

on:
  pull_request:
    branches:
      - main

permissions:
  contents: read

jobs:
  deploy:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - name: Set up Python
      uses: actions/setup-python@v3
      with:
        python-version: '3.x'
    - name: Check for licenses
      run: |
        python -m pip install --upgrade pip
        pip install .
        pip install license_scanner
        python -m license_scanner.cli -m whitelist

```
# Credits

- Tom Nijhof


# History

## 0.2.0 (2023-08-05)
- Add whitelisted mode to CLI

## 0.1.3 (2023-07-26)
- Fix mislabeling of 2 AGPL v3 as GPL v3

## 0.0.1 (2023-01-10)

- Add license scanner
- Find all licenses in your env

## 0.0.0 (1970-01-01)

- Copied basic package a start of license_scanner