-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
45 lines (39 loc) · 1.05 KB
/
__init__.py
File metadata and controls
45 lines (39 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
"""
PythonSTL - Python Standard Template Library
A Python package that replicates C++ STL-style data structures
using the Facade Design Pattern.
This package provides clean, STL-compliant interfaces for common
data structures while hiding implementation details from users.
"""
__version__ = "0.1.1"
__author__ = "PySTL Contributors"
from pythonstl.facade.stack import stack
from pythonstl.facade.queue import queue
from pythonstl.facade.vector import vector
from pythonstl.facade.set import stl_set
from pythonstl.facade.map import stl_map
from pythonstl.facade.priority_queue import priority_queue
# Also export exceptions for user error handling
from pythonstl.core.exceptions import (
PySTLException,
EmptyContainerError,
OutOfRangeError,
KeyNotFoundError
)
__all__ = [
# Data structures
'stack',
'queue',
'vector',
'stl_set',
'stl_map',
'priority_queue',
# Exceptions
'PySTLException',
'EmptyContainerError',
'OutOfRangeError',
'KeyNotFoundError',
# Metadata
'__version__',
'__author__'
]