Metadata-Version: 2.4
Name: pylib-datastruct
Version: 0.1.0
Summary: Educational DSA implementations (Stack, Queue, Graph, Tree). Core algorithms library.
Author: pylib-datastruct
License: MIT
Project-URL: Homepage, https://github.com/upendra-manike/PyLib
Project-URL: Repository, https://github.com/upendra-manike/PyLib
Project-URL: Documentation, https://github.com/upendra-manike/PyLib
Project-URL: Issues, https://github.com/upendra-manike/PyLib/issues
Keywords: ai,algorithms,computer-science,data-processing,data-science,data-structures,machine-learning,ml,nlp,utilities
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# pydatastruct

Educational DSA implementations

## Installation

```bash
pip install pydatastruct
```

## 💡 Usage Examples

### Basic Operations

```python
from pylib_datastruct import Stack, Queue, Graph, Tree

# Stack
stack = Stack()
stack.push(1)
stack.push(2)
stack.pop()  # 2

# Queue
queue = Queue()
queue.enqueue(1)
queue.enqueue(2)
queue.dequeue()  # 1

# Graph
graph = Graph()
graph.add_edge("A", "B")
graph.add_edge("B", "C")
neighbors = graph.get_neighbors("A")

# Tree
tree = Tree(5)
tree.insert(3)
tree.insert(7)
inorder = tree.inorder()
```

### AI/ML Use Cases

```python
from pylib_datastruct import Stack, Queue, Graph, Tree

# Use stack for DFS in ML graph algorithms
stack = Stack()
stack.push(start_node)
# Process nodes...

# Use queue for BFS
queue = Queue()
queue.enqueue(root)
# Process nodes...
```

## 📚 API Reference

See package documentation for complete API reference.


## 🤖 AI Agent Friendly

This package is optimized for AI agents and code generation tools:
- **Clear function names** and signatures
- **Comprehensive docstrings** with examples
- **Type hints** for better IDE support
- **Common use cases** documented
- **Zero dependencies** for reliability

## License

MIT
