semvec/pypi-packages huggingface dataset:
seachad-terminal-colors 2.0.0
Una librería para escribir en el terminal con colorines, y mas cosas...
Requires Python: >=3.10

Una librerÃ­a de ejemplo para demostrar cÃ³mo subir un paquete a PyPI.

Allows print with colors

Very easy!!!

    >>> import terminal_colors as tc

    tc._print(f"{tc.Y}Print in rellow, {tc.G}print in green, {tc.B}, print in blue")
    tc._print(f"print in yellow", tc.Y)
    tc._print(f"print without marks", time_and_module_mark=False)


    def test_print():
        # utilizando el HELPER
        tc._print("Hola mundo", tc.B) # imprimirÃ¡ por defecto en CYAN con BRIGHT (asÃ­ sabemos que se estÃ¡ usando esta funciÃ³n por defecto)
        tc._print(f"{tc.Y}Hola {tc.R}mundo") # imprimirÃ¡ en AZUL sobre ROJO en BRIGHT
        tc._print("Hola mundo", tc.W) # vuelve a imprimir en CYAN con BRIGHT (asÃ­ sabemos que se estÃ¡ usando esta funciÃ³n por defecto)
        
        # utilizando las primitivas
        tc.print_in_color(tc.fg.BLUE+tc.bg.RED+tc.style.BRIGHT)
        tc.print("Show me your color")    
        tc.print_in_color(tc.fg.WHITE)    
        tc.print( "All following prints will be WHITE ...")
        tc.print( "continues WHITE...")
        tc.print_in_color()    
        tc.print( "Now default color")
pytest-bisect-tests 0.3.0
Find tests leaking state and affecting other
Requires Python: >=3.8

# pytest-bisect-tests

Sometimes one test can affect the execution of another test. This simple script tries to find the offender.

This script can be called as standalone script, or via pytest option.

Example:

```python
# faulty_test.py
a = 1

def test_faulty() -> None:
    global a
    a = 2

def test_failing() -> None:
    assert a == 1


$ pytest-bisect-tests --failing-test "faulty_test.py::test_failing"
Checking if the test fails on its own.
Running 1 tests.
Trying to find the faulty test.
Running 2 tests.
Faulty test: faulty_test.py::test_faulty
```

## Comparison of UX

Standalone script:
[![asciicast](https://asciinema.org/a/wLxhvndvw912zjRYBM2mr3uTG.svg)](https://asciinema.org/a/wLxhvndvw912zjRYBM2mr3uTG)

pytest option:
[![asciicast](https://asciinema.org/a/EudozjTNeML0X18uhgbHO6hda.svg)](https://asciinema.org/a/EudozjTNeML0X18uhgbHO6hda)

## Installation

```shell
$ pip install pytest-bisect-tests
```

## Usage

### Standalone script
```shell
$ pytest-bisect-tests --failing-test "<identifier of the test as pytest shows them with -v>"
```

Additional arguments:

```shell
$ pytest-bisect-tests --help
usage: pytest-bisect-tests [-h] --failing-test FAILING_TEST [--run-options RUN_OPTIONS] [--collect-options COLLECT_OPTIONS] [--stdout]

options:
  -h, --help            show this help message and exit
  --failing-test FAILING_TEST
                        REQUIRED. The identifier of the test, as shown by pytest -v.
  --run-options RUN_OPTIONS
                        Arguments that will be passed directly to pytest. A single string.
  --collect-options COLLECT_OPTIONS
                        Arguments that will be passed to pytest during tests collection. A single string.
                        This is useful when, for example, you have a test grouping plugin that affects the tests run.
  --stdout              If passed, pytest output will be shown.
```

### As pytest option

This approach automatically discovers all tests in the suite and failing test, so it has minimal input options.

```shell
$ pytest --bisect-first-failure
```

## Alternatives
[detect-test-pollution](https://github.com/asottile/detect-test-pollution), an alternative package with similar functionality.
Lacks passing pytest run and collect options or showing the output from pytest. It also doesn't support pytest plugins that alter
how tests are collected (like [pytest-test-groups](https://github.com/mark-adams/pytest-test-groups)).
numbersD 0.0.1
Solving the apitude problems
Keywords: python, math, problems, mathematics, scientific calculations


# PyDMath Version - 0.1
## Introduction
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; This **PyDMath** is a mathematical module, with this you can able to perform a mathematical operations 
which includes mensuration, permutation and combination. We can use any use any type of measurement units but the output will return in SI standard units.
This makes differ from other Python modules.

## Math topics included till now
<ul>
  <li>Mensuration</li>
  <ul>
    <li>Area</li>
    <li>Perimeter</li>
    <li>Volume</li>
   </ul>
  <li>Permutation</li>
  <li>Combination</li>
</ul>

## Input and Output format
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Inputs must be a string seperated by "-" for value and the unit. Value on left side and unit on right side. If the input unit is in centimeter, millimeter, kilometer and meter then the output unit will always be meter.

# Mensuration
### Sample code
```python
from PyDMath import perimeter,area,volume
peri = perimeter()
ar = area()
vol = volume()
print(f"Perimeter of the shape {peri.circle('2-cm')}")
print(f"Area of the shape {ar.circle('2-cm')}")
print(f"Volume of the shape {vol.sphere('2-cm')}")
```

## Shapes including
### Perimeter and Area
```Circle``` ```Square``` ```Rectangle``` ```Triangle``` ```Equilateral triangle``` ```Parallelogram``` ```Trapezium``` ```Isosceles triangle``` ```Rhombus```
### Volume
```Sphere``` ```Cylinder``` ```Cube``` ```Rectangular prism``` ```Cone``` ```Hemi sphere``` ```Right rectangular prism``` 

# Permutation and Combination
### Sample code
```python
from PyDMath import fact,permutation,combination
# Factorial
print(fact(5))
perm = permutation()
co = combination()
print(perm.per(4,2))
print(co.comb(8,3))
```
sphinx-gitref 0.4.1
Keep your sphinx docs in sync with your code.
Requires Python: >=3.7
Keywords: django

# Sphinx Gitref

[![PyPI](https://img.shields.io/pypi/v/sphinx-gitref.svg)](https://pypi.org/project/sphinx-gitref/)
[![Documentation](https://readthedocs.org/projects/sphinx-gitref/badge/?version=latest)](https://sphinx-gitref.readthedocs.io/en/latest/)
[![Tests](https://github.com/radiac/sphinx-gitref/actions/workflows/ci.yml/badge.svg)](https://github.com/radiac/sphinx-gitref/actions/workflows/ci.yml)
[![Coverage](https://codecov.io/gh/radiac/sphinx-gitref/branch/main/graph/badge.svg?token=Q9AKPHRJF5)](https://codecov.io/gh/radiac/sphinx-gitref)

Keep your sphinx docs in sync with your code.

Adds a `` :gitref:`..` `` role to Sphinx to link to your code on GitHub, GitLab or
Bitbucket, and to make sure the references in your docs match the code.

Key features:

* Check code referenced in documentation still exists
* Check code hashes and alert when something has changed
* Link to source code on github
* Incorporate into tests or git hooks

Supports Python 3.7+

## Quickstart

### Installation

Install:

```bash
pip install sphinx-gitref
```

In your Sphinx ``conf.py``, add ``sphinx_gitref`` to the ``extensions`` list:

```python
extensions = [
    ...
    'sphinx_gitref',
]
```

See
[Configuration](https://sphinx-gitref.readthedocs.io/en/latest/install.html#configuration)
for options to customise gitref's defaults.


### In reStructuredText

You can then use the `` :gitref:`..` `` role to link to a file on GitHub, GitLab,
Bitbucket, or your own remote git service:

```
This file is :gitref:`README.rst`
For more information, see the :gitref:`project README <README.rst>`
```

or link to a variable, function or class in a python file::

```
The method which turns a reference into a line number
is :gitref:`sphinx_python/parse.py::python_to_lineno` -
this will raise a warning if the reference is not found.

Reference class attributes as you would in Python, such
as :gitref:`sphinx_python/git.py::Repo.path`.
```


### Code hash checks

If the file, line number or code reference is not in your code, or if they code's hash
does not match the hash in the database, your docs will fail to build.

You can check your references are up-to-date with::

    sphinx-gitref check

When adding new references, or when referenced code has changed, you can update the hash
database with::

    sphinx-gitref update

See the [documentation](https://sphinx-gitref.readthedocs.io/en/latest/usage.html) for
more detailed usage instructions and options.
pyconfman2 1.0.0
A python package for managing YAML configuration
Requires Python: >=3.8

# pyconfman2

pyconfman2 is designed to handle schema configurations by loading properties from a dictionary or a YAML configuration file. It provides methods for adding, getting, and removing properties from the schema.

## Installation
```bash
python -m pip install pyconfman2
```

## Usage

### Basic
In it's most basic form, a Schema can be created which will load a local "config.yaml" or "config.yml" file present.

```python
>>> from pyconfman2 import Schema
>>> config = Schema.ConfigSchema()
>>> print(config)
{}
```

### Provide a default config
```python
>>> from pyconfman2 import Schema
>>> config=Schema.ConfigSchema({"foo": "bar"})
>>> print(config)
{'foo': 'bar'}
```

### Specify the default config file to load
```python
>>> from pyconfman2 import Schema
>>> config=Schema.ConfigSchema(default_config="default_config.yaml")
>>> print(config)
{'foo': 'bar', 'zoo': {'jar': ['car', 'far']}}
```


### Specify the config file to load
```python
>>> from pyconfman2 import Schema
>>> config=Schema.ConfigSchema(default_config="default_config.yaml", filepath="another_config.yaml")
>>> print(config)
{'foo': 'overwritten_by_another_config', 'zoo': {'jar': ['car', 'far']}}
```


## Schema Loading breakdown
1. Load the hard-coded defaults
2. Load (and override) using the "default config" file if present
3. Load (and override) using the config file if present