semvec/pypi-packages huggingface dataset:
outsetapy 0.1.0
A SDK for building applications with Outseta
Requires Python: >=3.8

# OutsetaPy : Outseta SDK for python

We created a Outseta SKD because we truely believe that outseta is the best membership management platorm in existance.

## Installation

pip install outsetapy

## Usage

Provide examples on how to use your project.

## API Reference

Provide documentation on how to use your API.

## Contributing

Provide guidelines on how to contribute to your project.

## License

GNU AGPLv3

## Contact

If you are developing a startup, and need help with the development of your product, send us a message on info@roborian.com and we will be able to help you with it.
exact-cover-py 0.1.2
Exact cover solver in Python
Requires Python: >=3.10

# exact cover in Python/numba using algorithm X

an implementation of Donald Knuth's Dancing Links algorithm X in Python / numba

## Usage

```bash
pip install exact_cover_py
```

```python
from exact_cover_py import exact_covers

problem = np.array([
        [1, 0, 0, 1, 0, 0, 1],
        [1, 0, 0, 1, 0, 0, 0],  # <--
        [0, 0, 0, 1, 1, 0, 1],
        [0, 0, 1, 0, 1, 1, 0],  # <--
        [0, 1, 1, 0, 0, 0, 1],
        [0, 1, 1, 0, 0, 1, 1],  # <--
        [0, 1, 0, 0, 0, 0, 1],
   ])

# exact_covers returns a generator of solutions

# one solution
print(next(exact_covers(problem)))
[1, 5, 3]

# all solutions
print(list(exact_covers(problem)))
[[1, 5, 3]]

# number of solutions
def mylen(iterable):
    return sum(map(lambda x: 1, iterable))

print(mylen(exact_covers(problem)))
2
```