Skip to main content

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.

ffrom 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

Metadata

Release files for pyzitadelle 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyzitadelle 0.2.2
File Size Uploaded Provenance
pyzitadelle-0.2.2.tar.gz 20.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyzitadelle 0.2.2
File Interpreter ABI Platform
pyzitadelle-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 41.7 kB

Release files / pyzitadelle-0.2.2.tar.gz

Download URL pyzitadelle-0.2.2.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d331a1be7d25c9307811d22bb9167dfb9e6f2d25fd93664bab10532b7b76a43a
BLAKE2b-256 checksum
How to use checksums
f0015ee32886294c8f4f43cedb25f61c562945f491b4b06bcebcb94455aca95f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.13.1 Linux/6.12.6-1-cachyos

Release files / pyzitadelle-0.2.2-py3-none-any.whl

Download URL pyzitadelle-0.2.2-py3-none-any.whl
Size 21.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
640316bebbd4f09eca92dd4a101fc67b159ce20f5e8178e874a7d32aeb8f7735
BLAKE2b-256 checksum
How to use checksums
268090defbeec7e8ae3a353d6a0ef9eab10a8b6c70a0521435b17b20e340d71d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.13.1 Linux/6.12.6-1-cachyos

Security for pyzitadelle 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page