Skip to content

Hey there! So you love Python's clean syntax but need C++'s performance? You're in the right place. This library brings Python's most beloved features to C++ - dynamic typing, easy containers, slicing, string methods, comprehensions, and tons more. No weird hacks, just modern C++20 that feels surprisingly Pythonic.

License

Notifications You must be signed in to change notification settings

Creamy-pie-96/Pythonic

Repository files navigation

Pythonic C++ Library

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++.

What is Pythonic?

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++

Why use this library?

  • 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

User Guides & Documentation

  • 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/pythonic directory to your project's include path and use target_include_directories in your CMakeLists.txt.
  • For a detailed user guide, check out the documentation.

Disclaimer:

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.

Acknowledgments

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


About

Hey there! So you love Python's clean syntax but need C++'s performance? You're in the right place. This library brings Python's most beloved features to C++ - dynamic typing, easy containers, slicing, string methods, comprehensions, and tons more. No weird hacks, just modern C++20 that feels surprisingly Pythonic.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages