MGIMO datasets and Python utilities.
Project description
Данные и программные утилиты МГИМО
Установка
pip install mgimo
Использование
Названия и столицы стран-членов ООН
from random import choice
from mgimo.data import country_to_capital
countries = list(country_to_capital.keys())
assert len(countries) == 193
country = choice(countries)
city = country_to_capital[country]
print(f"Выбрана страна: {country}, столица - {city}.")
Еще примеры в example.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mgimo-0.3.0.tar.gz
(20.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mgimo-0.3.0-py3-none-any.whl
(17.6 kB
view details)
File details
Details for the file mgimo-0.3.0.tar.gz.
File metadata
- Download URL: mgimo-0.3.0.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38b68165356cc0edae576c2b3f91cc183fc7ab806c76f8dc702c4970e8b14896
|
|
| MD5 |
d5d3280c4efd441c809c6e3123d8f6bc
|
|
| BLAKE2b-256 |
114bae41d17af299a875a7398c834622f55623912300f84f4475440f8bd90fbe
|
File details
Details for the file mgimo-0.3.0-py3-none-any.whl.
File metadata
- Download URL: mgimo-0.3.0-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
141776f252b234e9751e8dfb39dd45be9194af41b73fb84ab6a138e8c8e800f4
|
|
| MD5 |
ff6161a7bb543df18e582287e7c871be
|
|
| BLAKE2b-256 |
e4ce28b6f6985ce6e3bbf135214e38d48088a440716295a2311f8b96df6d6f22
|