Locust swarm wrapper lib
What is it?:
Python library for load testing in browser. Library provide different strategies for load testing. Simple wrapper lib for another lib, with a little bit of StarCraft 2 in it.
Target Auditory of the lib:
- Author of the lib (Cupcake_wrld)
- Some strangers... (especially on PyPI)
- Maybe moderators on PyPI site (if they exist)
What useful opportunities in use this lib?
- None (I am serious now)
Locust swarm lib requirements:
- Python with version 3.12 or above
- Some storage space on your personal computer
Locust swarm lib components:
- App - abstraction class for swarm
- Swarm class - abstraction class for locusts
- Locust - main unit in library to "attack" website (Also name of the inner library)
- Strategies directory with different strategies classes for load testing.
- Tests - directory with app tests
Example of using library:
import <something>
page = 'https://yandex.ru'
"""
Attack this page
"""
if __name__ == "__main__":
app = LocustSwarm.App(StrategyEnum.PEAK, True, False)
app.set_swarm_attack_to_page(
page_to_destroy=page,
logger=app.get_logger()
)
app.get_swarm().proceed_locusts(
app_runner=app.get_runner(),
locust_spawn_rate=5,
)
Contacts:
Library author:
Metadata
Release files for locust-swarm-wrapper-lib 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| locust_swarm_wrapper_lib-0.0.1.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| locust_swarm_wrapper_lib-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.9 kB
Release files / locust_swarm_wrapper_lib-0.0.1.tar.gz
| Download URL | locust_swarm_wrapper_lib-0.0.1.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3cc9271a1a9845b5b16385dad44193f36ed86abccd87e216e4f5dd1754c0af4a
|
|
BLAKE2b-256 checksum How to use checksums |
bfce111fc7584054dff675d2b45e3933e34706d0959af72161895d86adc51cf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / locust_swarm_wrapper_lib-0.0.1-py3-none-any.whl
| Download URL | locust_swarm_wrapper_lib-0.0.1-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75f383e2c6e844a45309c6ce67c8fee206d5c27bb54f0a9832f1ffad5dc8fc84
|
|
BLAKE2b-256 checksum How to use checksums |
32b1ffdcbd7deb74dec05692b171cc9912889dab6d0416f649f3bd97f1d9d3ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|