Metadata-Version: 2.4
Name: chempp
Version: 0.1.3
Summary: Chem++ for Chemical System Programming
Home-page: https://github.com/yourusername/chempp
Author: Your Name or Team
Author-email: Prakritee Chakraborty <kriti.guitar@gmail.com>
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: requests
Requires-Dist: aiohttp
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# Chem++

**Chem++** is a domain-specific programming language and runtime for computational chemistry,
integrating a C++-like syntax with chemistry-specific types and functions and optional
PubChem lookup support. This package provides:

- A fully functional interpreter (`chempp.interpreter`) for the Chem++ language.
- A Safe API wrapper (`chempp.safe_api`) that enforces Parse → Analyze → Interpret order,
  provides PubChem caching + fallback, and exposes synchronous and asynchronous run helpers.
- A chemistry registry with common types (Atom, Molecule, Reaction) and helper functions.
- Toolkit features for Jupyter notebook integration, static analysis hooks, and a small cache.

## Quickstart

```python
import chempp.safe_api as cs

code = '''
float main() {
   print 2+3;
}
'''
# synchronous run
result = cs.run(code)

# asynchronous run (useful in notebooks)
import asyncio
asyncio.run(cs.run_async(code))
