semvec/pypi-packages huggingface dataset:
lineage-aq 1.5.0
Interactive command line interface to create and edit lineage of families.
License: MIT
Requires Python: >=3.10,<4.0
Keywords: python,lineage,genealogy

# Lineage

Genealogy management software  
Stores lineage of family. Interactive command line interface to create and edit lineage of families. 


### Lineage
noun:
the series of families that somebody comes from originally  
वंश, वंशावली


# Install
###### Recommended (To install pipx click [here](https://github.com/pypa/pipx#install-pipx))
```
pipx install lineage-aq
```

###### or
```
pip install lineage-aq
```

#### Or upgrade by:
```
pipx upgrade lineage-aq
```
###### or
```
pip install --upgrade lineage-aq
```
# Usage

### Execute:
```
lineage
```


# Install from source
Poetry is required. For installation click [here](https://python-poetry.org/docs/#installation).

   Download the source and install the dependencies by running:
  
   ``` 
   git clone https://github.com/aqdasak/Lineage.git
   cd Lineage
   poetry install
   ```

### Run
In the source folder containing pyproject.toml, run
```
poetry shell
lineage
```

> For Python3.7 compatible version click [here](https://github.com/aqdasak/Lineage-py37)
python-elo-system 3.0.2
Yet another Python Implementation of the Elo rating system.
License: MIT
Requires Python: >=3.10
Keywords: elo

# Python Implementation - Elo Rating System

This is a fork of Python Implementation - Elo Rating System by Kraktoos and adds
the following features:

- Ranks has been removed.
- Win, lose and draw counts.
- Rewritten to use a player class to store statistics.

## Examples

### Creating an Implementation

```python
from elo_system import EloSystem
elo = EloSystem(base_elo = 1000, k = 32) # Base values for base_elo and k
```

### Adding and Removing Players

```python
# Adding players
>>> elo.add_player("John")
>>> elo.add_player("Marcus", 1400)
>>> print(elo.get_overall_list())
[{'name': 'Marcus', 'elo': 1400}, {'name': 'John', 'elo': 1000}]

# Removing Players
>>> elo.remove_player("Marcus")
>>> print(elo.get_overall_list())
[{'name': 'John', 'elo': 1000}]
```

### Recording a Match

```python
>>> elo.add_player("John")
>>> elo.add_player("Marcus", 1400)
>>> print(elo.get_overall_list())
[{'name': 'Marcus', 'elo': 1400}, {'name': 'John', 'elo': 1000}]

>>> elo.record_match("Marcus", "John", "Marcus")
>>> print(elo.get_overall_list())
[{'name': 'Marcus', 'elo': 1402}, {'name': 'John', 'elo': 997}]

>>> elo.record_match("Marcus", "John", "John")
>>> print(elo.get_overall_list())
[{'name': 'Marcus', 'elo': 1372}, {'name': 'John', 'elo': 1026}]

>>> elo.record_match("Marcus", "John")
>>> print(elo.get_overall_list())
[{'name': 'Marcus', 'elo': 1359}, {'name': 'John', 'elo': 1038}]
```

### Other Useful Methods

```python
>>> elo.add_player("John")
>>> elo.add_player("Marcus", 2400)
>>> elo.add_player("James", 1000)

# There is also set_elo(), reset_elo(), add_elo(), remove_elo(), and get_wins(), etc...
>>> print(elo.get_overall_list())
[{'name': 'Marcus', 'elo': 2400}, {'name': 'John', 'elo': 1000}, {'name': 'James', 'elo': 1000}]

>>> print(elo.get_player_elo("John"))
1000

>>> print(elo.get_player_count())
3

>>> print(elo.get_players_with_elo(1000))
['John', 'James']
```

## License

This implementation is licensed under the MIT License.