semvec/pypi-packages huggingface dataset:
terminal-football-manager 0.1.49
A terminal-based football manager game with rich UI.
Requires Python: >=3.8

# Terminal Football Manager

An offline terminal football manager game played directly in your terminal, enhanced with rich colors and interactive menus. Have fun! And don't forget to report any bugs. Feedback is highly welcome.

## 🚀 How to Play

### 1. Prerequisites
Make sure you have **Python 3.8+** installed on your system.

### 2. Setup & Installation

**Option A: Instant Play (via PyPI)**
You can install the latest version directly from PyPI:
```bash
pip install terminal-football-manager
```

**Option B: From Source (for Developers)**
It is recommended to use a virtual environment:

```bash
# Create a virtual environment
python3 -m venv venv

# Activate it
# On Linux/macOS:
source venv/bin/activate
# On Windows:
# venv\Scripts\activate

# Install the game and dependencies
pip install .
```

### 3. Start the Game
If you installed via PyPI, simply run:
```bash
terminal-football-manager
```

Alternatively, if running from source:
```bash
python -m terminal_football_manager.main
```

## 🎮 Features
*   **Manager Mode:** Manage budgets, stadium upgrades, youth academies, and transfers.
*   **Player Career Mode:** Focus on the career of a single player.
*   **FUT Mode:** Build your ultimate team.
*   **International Tournaments:** Compete in the Champions League, World Cup, and more.
*   **Rich UI:** Beautiful terminal interface powered by the `rich` library.

---
Developed by **TaremwaStudios**
ffsim 0.0.67
Faster simulations of fermionic quantum circuits.
Requires Python: >=3.10

# ffsim

<!-- start introduction -->

ffsim is a software library for simulating fermionic quantum circuits that conserve particle number and the Z component of spin. This category includes many quantum circuits used for quantum chemistry simulations. By exploiting the symmetries and using specialized algorithms, ffsim can simulate these circuits much faster than a generic quantum circuit simulator.

<!-- end introduction -->

## Documentation

Documentation is located at the [project website](https://qiskit-community.github.io/ffsim/).

## Installation

<!-- start installation -->

We recommend installing ffsim using pip when possible:

```bash
pip install ffsim
```

This method won't work natively on Windows, however. Refer to the [installation instructions](https://qiskit-community.github.io/ffsim/install.html) for information about using ffsim on Windows, as well as instructions for installing from source and running ffsim in a container.

<!-- end installation -->

## Code example

<!-- start code-example -->

```python
import numpy as np
import pyscf

import ffsim

# Generate the Hamiltonian for an N2 molecule using PySCF and ffsim's wrapper for it
mol = pyscf.gto.Mole()
mol.build(atom=[["N", (0, 0, 0)], ["N", (1.0, 0, 0)]], basis="6-31g", symmetry="Dooh")
scf = pyscf.scf.RHF(mol).run()
mol_data = ffsim.MolecularData.from_scf(scf, active_space=range(4, mol.nao_nr()))
norb, nelec = mol_data.norb, mol_data.nelec
hamiltonian = mol_data.hamiltonian

# Convert the Hamiltonian to a SciPy LinearOperator
linop = ffsim.linear_operator(hamiltonian, norb=norb, nelec=nelec)

# Generate a random orbital rotation
orbital_rotation = ffsim.random.random_unitary(norb, seed=1234)

# Create the Hartree-Fock state and apply the orbital rotation to it
vec = ffsim.hartree_fock_state(norb, nelec)
vec = ffsim.apply_orbital_rotation(vec, orbital_rotation, norb=norb, nelec=nelec)

# Compute the energy of the state
energy = np.vdot(vec, linop @ vec).real
print(energy)  # prints -104.17181289596
```

<!-- end code-example -->

## Multithreading

Some ffsim functions implemented in Rust use multithreading. The number of threads can be set using the environment variable `RAYON_NUM_THREADS`. For example, to disable multithreading, set this variable as `RAYON_NUM_THREADS=1`.

## Citing ffsim

<!-- start citing -->

You can cite ffsim using the following BibTeX:

```bibtex
@misc{ffsim,
  author = {{The ffsim developers}},
  title = {ffsim: Faster simulations of fermionic quantum circuits},
  howpublished = {\url{https://github.com/qiskit-community/ffsim}},
}
```

<!-- end citing -->

## Developer guide

See the [developer guide](https://github.com/qiskit-community/ffsim/blob/main/CONTRIBUTING.md) for instructions on contributing code to ffsim.
mmar-utils 1.1.18
Utilities for multi-modal architectures team
Requires Python: >=3.11

# mmar-utils

Common pure/IO utilities for multi-modal architectures team.

## Installation

```bash
pip install mmar-utils
```

## parallel_map
Mix of `joblib.Parallel` and `tqdm`.
### Similar libraries
#### joblib.Parallel: https://joblib.readthedocs.io/en/latest/parallel.html
- doesn't support showing progress out of the box

Syntax comparison ( assuming tqdm disabled )

```python
from math import sqrt, pow
from joblib import Parallel as P, delayed as d
from agi_med_utils import parallel_map

# ONE-ARG: THREADING
print(P(n_jobs=2)(map(d(sqrt), range(5))))
print(P(n_jobs=2)(d(sqrt)(i) for i in range(5)))
print(parallel_map(sqrt, range(5)))
# > [0.0, 1.0, 2.0, 3.0, 4.0, 5.0]

# ONE-ARG: MULTIPROCESSING
print(P(n_jobs=2, backend='multiprocessing')(d(sqrt)(i) for i in range(3)))
print(parallel_map(sqrt, range(3), process=True))
# > [0.0, 1.0, 1.4142135623730951]

# MANY-ARGS: THREADING
pow_args = [(i, j) for i in range(1, 4) for j in range(1, 3)]
print(P(n_jobs=2)(d(pow)(i, j) for i, j in pow_args))
print(parallel_map(pow, pow_args, multiple_args=True))
# > [1.0, 1.0, 2.0, 4.0, 3.0, 9.0]

# KWARGS: THREADING
def ipow_kw(*, x, y):
    return 1 / pow(x, y)
ipow_kwargs = [{'x': i, 'y': j} for i, j in pow_args]
print(P(n_jobs=2)(d(ipow_kw)(**kw) for kw in ipow_kwargs))
print(parallel_map(ipow_kw, ipow_kwargs, kwargs_args=True))
# > [1.0, 1.0, 0.5, 0.25, 0.3333333333333333, 0.1111111111111111]

# KWARGS: MULTIPROCESSING
def ipow_kw_inc(*, x, y):
    return 1 / pow(x, y) + 1
print(P(n_jobs=2, backend='multiprocessing')(d(ipow_kw_inc)(**kw) for kw in ipow_kwargs))
print(parallel_map(ipow_kw_inc, ipow_kwargs, kwargs_args=True, process=True))
# > [2.0, 2.0, 1.5, 1.25, 1.3333333333333333, 1.1111111111111112]
```
#### pqdm: https://pqdm.readthedocs.io/en/latest/usage.html
## trace_with
Decorator for function which executes some callback on each function call.

### Similar libraries
#### functrace: https://github.com/idanhazan/functrace
- does not remember start datetime of call, which is critical
- supports selection of parameters to remember
- `functrace.TraceResult` object is not serializable out of the box