Welcome! Pythonic is a modern C++20 library that brings the expressive power and clean syntax of Python to C++. It aims to make C++ code feel as natural and productive as Python, while retaining the performance and flexibility of C++.
Pythonic is a C++ library designed for developers who love Python's dynamic features but need the speed and control of C++. It provides:
- Dynamic typing and flexible containers
- Python-style slicing, comprehensions, and string methods
- Easy-to-use data structures (list, dict, set, etc.)
- Graph algorithms, math utilities, and more
- A familiar, readable syntax—no weird hacks, just clean C++
- Write C++ code that feels like Python—concise, readable, and expressive
- Rapid prototyping and algorithm development in C++
- Seamless integration with modern C++ projects
- Great for teaching, competitive programming, and research
- For a complete step-by-step guide on cloning, building, installing, and using this library in your own project, see the detailed Getting Started Guide.
- Note: If you don't want to install, you can simply add the
include/pythonicdirectory to your project's include path and usetarget_include_directoriesin your CMakeLists.txt. - For a detailed user guide, check out the documentation.
We’re looking for users to test the library and provide feedback! Please open Issues or Discussions with any bug reports, questions, or feature ideas. Note: Direct code contributions are not accepted at this time.
Parts of this project, including some code generation and much of documentation, were assisted by GitHub Copilot (AI programming assistant). Copilot provided suggestions and support throughout the development process.
AUTHOR: MD. NASIF SADIK PRITHU GITHUB: Creamy-pie-96