EasyVectorsPy
Eng
library that helps when working with coordinates like(Pillow, Pygame)
Examples
from EasyVectors import Vector2
vector = Vector2(10, 67)
print(vector.get('x'))
This code will give the output 10
from EasyVectors import Vector2
vector = Vector2()
print(vector.getstr())
This code will give the output X 0 Y 0
from EasyVectors import Vector2
vector = Vector2()
vector2 = Vector2(56, 81)
vector.update(8 , 1)
print(vector.distance_to(vector2))
This code will give the output 93.2952303175248
A description of all methods can be found on the Wiki
Ru
Библиотека для упрощения работы с координатами, например(Pillow, Pygame)
Примеры
from EasyVectors import Vector2
vector = Vector2(10, 67)
print(vector.get('x'))
Этот код выведет 10
from EasyVectors import Vector2
vector = Vector2()
print(vector.getstr())
Этот код выведет X 0 Y 0
from EasyVectors import Vector2
vector = Vector2()
vector2 = Vector2(56, 81)
vector.update(8 , 1)
print(vector.distance_to(vector2))
Этот код выведет 93.2952303175248
Описание всех методов можно найти на Wiki
Metadata
Release files for EasyVectorsPy 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| EasyVectorsPy-0.0.5.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| EasyVectorsPy-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.6 kB
Release files / EasyVectorsPy-0.0.5.tar.gz
| Download URL | EasyVectorsPy-0.0.5.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed4ba9ac12d466642e31b619dbaea2bb227f7c72680c2fcee01b50ecb67c07ac
|
|
BLAKE2b-256 checksum How to use checksums |
d6bce3bc7b532ebb225bdd3ad3741d291537b7a8c7f9757c4eadecd0067a268f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.4
|
Release files / EasyVectorsPy-0.0.5-py3-none-any.whl
| Download URL | EasyVectorsPy-0.0.5-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa4623f4c54b695d878ff1bc858b6f398b75e4c7d9a0f38266696e223051f489
|
|
BLAKE2b-256 checksum How to use checksums |
6f060fdfcba616e76f7e5a975de696b96798d3114658ae4c091e62f45454190e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.4
|