semvec/pypi-packages huggingface dataset:
columngenerationsolverpy 0.0.15
A solver based on Column Generation
Requires Python: >=3.6

# Column Generation Solver (Python)

A solver based on column generation.

This is the Python3 version of the C++ package [fontanf/columngenerationsolver](https://github.com/fontanf/columngenerationsolver).

![columngeneration](img/columngeneration.jpg?raw=true "columngeneration")

[image source](https://commons.wikimedia.org/wiki/File:ColonnesPavillonTrajan.jpg)

## Description

The goal of this repository is to provide a simple framework to quickly implement heuristic algorithms based on column generation.

Algorithms:
* Column Generation `column_generation`
* Greedy `greedy`
* Limited Discrepancy Search `limited_discrepancy_search`

## Examples

[Cutting Stock Problem](examples/cuttingstock.py)

## Usage, running examples from command line

Install
```shell
pip3 install columngenerationsolverpy
```

Running an example:
```shell
mkdir -p data/cuttingstock/instance
python3 -m examples.cuttingstock -a generator -i data/cuttingstock/instance
python3 -m examples.cuttingstock -a column_generation -i data/cuttingstock/instance_10.json
python3 -m examples.cuttingstock -a limited_discrepancy_search -i data/cuttingstock/instance_10.json
```

Update:
```shell
pip3 install --upgrade columngenerationsolverpy
```

## Usage, Python library

See examples.
cascadetoml 0.3.3
Command for cascading toml files together

Introduction
============

[![Discord](https://img.shields.io/discord/327254708534116352.svg)](https://adafru.it/discord)
[![Build Status](https://github.com/adafruit/cascadetoml/workflows/Build%20CI/badge.svg)](https://github.com/adafruit/cascadetoml/actions)
[![Code Style: Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

Command for cascading toml "databases" into their full objects

TOML cascades are file trees that define generic configuration. Cascading allows
for shared setting to be set in one place.

The root of a cascade has two files that define it:

* `.cascade.toml` defines settings for `cascadetoml`. Settings are:
  * `paths` a list of strings where each string is a python format-style string. These strings are used to pull out setting defined by the path.
* `<type>.template.toml` defines the full structure of the resulting TOML object. `<type>` is used as the name for the array of tables output when a cascade results in multiple objects. The keys in the table are the only ones allowed in TOML files within the tree. The types of values must also be consistent.

Settings for a particular folder are in a TOML file with the folder name plus the `.toml` extension.

The first repo using this is the
[`nvm.toml`](https://github.com/adafruit/nvm.toml) repo. Its only path is `{technology}/{manufacturer}/{sku}.toml`. A file such as `flash/gigadevice/GD1.toml` will have the implicit values:

```toml
technology = "flash"
manufacturer = "gigadevice"
sku = "GD1"
```

All of the other values come from these files in order:

* `flash/flash.toml`
* `flash/gigadevice/gigadevice.toml`
* `flash/gigadevice/GD1.toml`

No key may exist at multiple levels.

`cascadetoml check` can be used to validate much of this.

Installing from PyPI
=====================

To install for current user:

```shell
pip3 install cascadetoml
```

To install system-wide (this may be required in some cases):

```shell
sudo pip3 install cascadetoml
```

To install in a virtual environment in your current project:

```shell
mkdir project-name && cd project-name
python3 -m venv .env
source .env/bin/activate
pip3 install cascadetoml
```

Installing for development
==========================

`cascadetoml` uses [flit]() for packaging. To install a development copy into your current venv do:

  flit install -s --deps develop

After install, you simply edit the files in place and the venv will use the source files directly.

Contributing
============

Contributions are welcome! Please read our [Code of Conduct](https://github.com/adafruit/Adafruit_CircuitPython_cascadetoml/blob/main/CODE_OF_CONDUCT.md)
before contributing to help this project stay welcoming.

Documentation
=============

For information on building library documentation, please check out
[this guide](https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1).
crawlio 2.3.3
Simple and customizable web crawler built with Python's asyncio

# crawlio
Asynchronous web crawling and scraping with Python for minimalists

> Warning: this project is under active development and **not yet production-ready**!

## Features

- Crawling: download an entire website in just a few seconds
- Scraping: Customizable XPath & CSS data selectors (using `parsel`)
- Zero-configuration: get up and running with ~5 LoC
- Interfaces: Web UI + JSON API powered by FastAPI & VueJS

Built with `asyncio`, `aiohttp` and 🍺

## Setup
```bash
pip install crawlio
```

## Usage

```python
import asyncio
from crawlio import Crawler, Selector

bot = Crawler(
    url='https://quotes.toscrape.com/',
    selectors=[
        Selector('links', '//a/@href'),
        Selector('heading', type='xpath', query='//h3//text()', process=lambda items: ' '.join(items))
    ]
)
output = asyncio.run(bot.run())
for item in output["data"]:
    print(item)
```

## License
Copyright (C) 2021  Maximilian Wolf

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.
wumpy-client 0.0.0
High-level simplification over the Wumpy project
Requires Python: >=3.8
Keywords: wumpy,wumpus,wrapper,discord,discord-api,discord-bot,discord-api-wrapper,python-3

Here lies a future Wumpy subpackage..

In the mean-time, check out the [Wumpy project on GitHub](github.com/wumpyproject).
Wumpy is an open source, extensible Discord API wrapper designed for everyone.