semvec/pypi-packages huggingface dataset:
baico 0.1.0
Best-Arm Identification based Combinatorial Optimization Algorithms.
License: MIT
Keywords: baico combinatorial-optimization

# BAICO

BAICO (**B**est **A**rm **I**dentification-based **C**ombinatorial **O**ptimization Algorithms) is a collection of discrete optimization algorithms for stochastic objective functions based on the best arm identification technique.

## Install

```bash
pip3 install baico
```

## Usage

```python
import random
weights = {
    'a': 1,
    'b': 2,
    'c': 3,
    'd': 4,
}
def fn(S): return sum(weights[a] * random.random() for a in S)
support = weights.keys()

solver = StochasticGreedy(fn=fn, support=support, cardinality=2)
S = solver.optimal_solution()
```

```bash
..frozenset({'d', 'c'})
```

## Licenses

This project is licensed under the MIT License.
minitds 0.5.3
Yet another MS SQLServer database driver
License: MIT
Keywords: SQLServer

=============
minitds
=============

Yet another Python MS SQLServer database driver.

Support platform
-----------------

- Python 3.5+

Support database
------------------

We test with MS SQLServer 2019 on Ubuntu.
But we think it works with the following versions.

- MS SQLServer 2012, 2014, 2016, 2017, 2019
- Microsoft Azure SQL Database


Installation
-----------------

::

    $ pip install minitds

Example
-----------------

Query::

   import minitds
   conn = minitds.connect(host='localhost',
                       user='sa',
                       password='secret',
                       database='database_name')
   cur = conn.cursor()
   cur.execute('select foo, bar from baz')
   for r in cur.fetchall():
      print(r[0], r[1])
   conn.close()

Execute Procedure::

   import minitds
   conn = minitds.connect(host='localhost',
                       user='sa',
                       password='secret',
                       database='database_name')
   cur = conn.cursor()
   cur.callproc('something_proc', [123, 'ABC'])
   conn.close()


Restrictions
----------------

- Support connecting through SQL Server Authentication only.