AveyTense
AveyTense is a library written in Python, which provides especially extensions and backports to inbuilt Python solutions, for Python 3.8 and later.
Support for Python 3.15 is in power.
Features
AveyTense contains the following modules:
aveytense- The root of the project.aveytense.constants- Contains numeric and string constantsaveytense.exceptions- Adds custom exceptionsaveytense.extensions- Serves as an alternative fortyping_extensionsPyPi project, and includes backports for several definitions from librariesbuiltins,enum,functools,itertools,types,typing; this module also has lots of runtime protocol classes and type aliases referred from non-stub module_typeshedaveytense.functions- Transforms class methods fromaveytense.Tenseandaveytense.Mathas exportable functionsaveytense.util- Includes utility definitions
All submodules of aveytense, except aveytense.functions, can be accessed from the import statement that just imports the project, like import aveytense.
The aveytense module, aside just being the root of the project, contains math functions with the class aveytense.Math, lots of helping class methods with the
class aveytense.Tense, and an alternative for range - aveytense.abroad.
Some feature examples:
aveytense.Tense.append()- A pure, extended version oflist.append()that adds an arbitrary amount of items, starting with items in the given iterable object.
from aveytense import Tense
Tense.append([651, 78, 888, 906], 75, 12, 6, 678)
# [651, 78, 888, 906, 75, 12, 6, 678]
Tense.append({762: 783, 9003: 96}, (960, 120), (762, 786))
# {762: 786, 960: 120, 762: 786}
aveytense.Tense.extend()- A pure, extended version oflist.extend()that adds an arbitrary amount of items included in every iterable objects, starting with items in the first given iterable object.
from aveytense import Tense
Tense.extend([651, 78, 888, 906], (75, 12), {6, 678})
# [651, 78, 888, 906, 75, 12, 6, 678]
Tense.extend({762: 783, 9003: 96}, {960: 120}, {762: 786})
# {762: 786, 960: 120, 762: 786}
aveytense.Tense.reverse()- A pure, extended version oflist.reverse()that reverses given iterable object.
from aveytense import Tense
Tense.reverse("Hi, Python! Hi, AveyTense!")
# "!esneTyevA ,iH !nohtyP ,iH"
Tense.reverse([762, 876, 906, 903, 123])
# [123, 903, 906, 876, 762]
aveytense.Tense.shuffle()- A pure, extended version ofrandom.shuffle()that shuffles given iterable object.
from aveytense import Tense
Tense.shuffle("Hi, Python! Hi, AveyTense!")
# " ,sPh y!ti,neeTo!HvHeyA ni"
Tense.shuffle([762, 876, 906, 903, 123])
# [762, 906, 903, 123, 876]
More features are included in this page. For code changes see this Google document.
Getting started
Before installing AveyTense, ensure you meet following Python version condition included in the table below:
| AveyTense Version | Python Version |
|---|---|
| ≥ 0.3.46 | ≥ 3.8 |
| < 0.3.46 | ≥ 3.9 |
Then run the following command:
pip install aveytense
The command will also install typing_extensions. Minimal version of typing_extensions project for
AveyTense to run correctly is 4.10.0 (version of adding TypeIs to the project).
After installation process, you can import module aveytense, which imports AveyTense components into your project.
If you think you are out of date, consider checking out releases section and running following command:
pip install --upgrade aveytense
If you have AveyTense 0.3.54 or higher, you can also use the following command to upgrade AveyTense:
aveytense-upgrade
To view version of AveyTense, you can use importlib.metadata.version(), aveytense.__version__,
aveytense.Tense.version, aveytense.Tense.versionInfo
or since AveyTense 0.3.54 the command below:
aveytense-version
This project can be used anywhere, including for educational and enternainment/game purposes.
Support
If you found anomalies in code, need more information about the project or/and want to suggest changes, consider sending mail to my email or creating an issue in the GitHub repository. Bug fixes will be issued in future versions of AveyTense. The project isn't intended to be a malware.
AveyTense project maintained on PyPi since 7th August 2024.
© 2024-Present Aveyzan // License: MIT
Metadata
Release files for aveytense 0.3.82
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aveytense-0.3.82.tar.gz | 139.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aveytense-0.3.82-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 281.8 kB
Release files / aveytense-0.3.82.tar.gz
| Download URL | aveytense-0.3.82.tar.gz |
|---|---|
| Size | 139.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a50ea5ea62a9605cd52fe0736fdf4022d4b7a81d36e52db0767ba1bb77c31893
|
|
BLAKE2b-256 checksum How to use checksums |
3fe8a9f8e81d5a60b22a8c22bdea6cfc9950059a99ac6918e7e4bc86bfd65d71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.0
|
Release files / aveytense-0.3.82-py3-none-any.whl
| Download URL | aveytense-0.3.82-py3-none-any.whl |
|---|---|
| Size | 142.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28ad8d2d75e1a9fd74b02769ef0bc8d1a60427de60560f52d89e89edd4416711
|
|
BLAKE2b-256 checksum How to use checksums |
796426d9f7db2f4f745bae5f59876bf1f29cc15309ed907749ed88f847b5c2cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.0
|