Skip to main content

Pyzitadelle is a quick asynchronous framework for testing python applications

Project description

pyzitadelle

PyZITADELLE is a quick asynchronous framework for testing python applications
Explore the docs »

Why Choose pyzitadelle? · Key Features · Getting Started · Basic Usage · Specification · Documentation · License


Check Other My Projects

  • SQLSymphony - simple and fast ORM in sqlite (and you can add other DBMS)
  • Burn-Build - simple and fast build system written in python for C/C++ and other projects. With multiprocessing, project creation and caches!
  • OptiArch - shell script for fast optimization of Arch Linux
  • libnumerixpp - a Powerful C++ Library for High-Performance Numerical Computing
  • libnumerixpy - a Powerful Python Library for High-Performance Numerical Computing
  • pycolor-palette - display beautiful log messages, logging, debugging.
  • shegang - powerful command interpreter (shell) for linux written in C
  • pyEchoNext - lightweight, fast and scalable web framework for Python

🤔 Why Choose PyZitadelle?

  • 🔥 Featherweight Performance: No bloat, just speed! Our framework is designed to optimize performance, making it a breeze to create and scale your applications without the overhead.

  • 💼 Unmatched Scalability: Handle thousands of connections effortlessly! Echonext is built for performance in high-demand environments, making it the perfect choice for startups or enterprise applications.

(back to top)

📚 Key Features

  • Intuitive API: Pythonic, object-oriented interface for interacting with routes and views.
  • Performance Optimization: Lazy loading, eager loading, and other techniques for efficient web queries.
  • Comprehensive Documentation: Detailed usage examples and API reference to help you get started.
  • Modular Design: Clean, maintainable codebase that follows best software engineering practices.
  • Extensive Test Coverage: Robust test suite to ensure the library's reliability and stability.

(back to top)

🚀 Getting Started

pyEchoNext is available on PyPI. Simply install the package into your project environment with PIP:

pip install pyzitadelle

Once installed, you can start using the library in your Python projects. Check out the documentation for detailed usage examples and API reference.

(back to top)

💻 Usage Examples

You can view examples at examples directory.

from pyzitadelle.standard import Argument
from pyzitadelle.test_case import TestCase, expect, expectfail, skip

firstcase = TestCase()
debug = False


def add(a: int, b: int) -> int:
  return a + b


@firstcase.test(comment="async test example", count_of_launchs=2)
async def example_test1(a: int = 2):
  expect(add(1, a), a + 1, "1 + 2 should be equal to 3")
  return a + 1


@firstcase.test(
  comment="example with Argument",
  tags=["assert"],
  arguments=(Argument(args=[2]), Argument(args=[3])),
)
def example_test2(a: int):
  assert add(a, 2) == a + 2
  return a + 2


@skip
@firstcase.test()
def example_test3():
  expect(add(1, 2), 4, "1 + 2 should be equal to 3")
  return 4


@firstcase.test()
@skip(reason="not completed", when=debug)
def example_test4():
  expect(add(10, 2), 12, "10 + 2 should be equal to 12")
  return 12


@firstcase.test(comment="use each", tags=["assert"])
@expectfail("each dont work")
def example_test5(a: int = 2):
  assert add(1, a) == a + 2
  return a + 1


@firstcase.test(tags=["assert"])
def example_test6():
  assert add(20, 40) == 60
  return 60


firstcase.run()

💻 Specifications

pyzitadelle/
├── coverage.py
├── debug
│  ├── __init__.py
│  └── measurement.py
├── exceptions.py
├── fixtures.py
├── __init__.py
├── reporter.py
├── sessions.py
├── standard.py
├── test_case.py
└── utils.py

2 directories, 11 files

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyzitadelle-0.2.1.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyzitadelle-0.2.1-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file pyzitadelle-0.2.1.tar.gz.

File metadata

  • Download URL: pyzitadelle-0.2.1.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Linux/6.12.6-1-cachyos

File hashes

Hashes for pyzitadelle-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6a348f7b82c84ba02b19b834afae5977a9e1e538d0978b46cfbe95f6cf6522b0
MD5 3e6ae3431300de92694c6fde76a855d9
BLAKE2b-256 cd472bd2a5517d2d512ae628c1110c5030d9f4316cf0f7280472a9ff23b5b69f

See more details on using hashes here.

File details

Details for the file pyzitadelle-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: pyzitadelle-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 21.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Linux/6.12.6-1-cachyos

File hashes

Hashes for pyzitadelle-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee85f3ca6bc09b1479d8a46244825554ed98544f8fe2c2dfaf7d5380128194c2
MD5 13d6f850b01125baecc0d73da9b1e8d0
BLAKE2b-256 740eb961a132ca81873ad365ce617a24e985f68c1552e8529c6618b21897e6d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page