semvec/pypi-packages huggingface dataset:
sepinn 1.0.0
Solving the Schrödinger Equation via Physics-Informed Machine Learning

### Summary

SE-PINN is a physics-informed neural network in PyTorch that solves the Schrödinger equation of quantum mechanics.

The model is constrained to predict quantum-mechanical states that respect the mathematical-physical properties of __symmetry__, __normality__, and __orthogonality__ — all via __(1) a custom loss function__ and __(2) a custom architectural layer__. In addition, the model learns not through supervised learning but through __reinforcement learning (RL)__ via feedback from the Schrödinger equation itself.

SE-PINN was developed at Vanderbilt University in collaboration with Alexander Ahrens and under the supervision of Prof. Ipek Oguz (https://engineering.vanderbilt.edu/bio/?pid=ipek-oguz).

---

### Demonstration

__Figure 1__ and __Figure 2__ are visualizations of the ground state (_left_) and the energy of the ground state (_right_) that are predicted by the model as it trains. The physical system of interest is the __quantum harmonic oscillator__, which is used to model diatomic molecules such as diatomic nitrogen, diatomic oxygen, and the hydrogen halides.

The enforcement of symmetry on the prediction of the ground state via a special architectural layer of the model — a __"hub layer"__ — improves its convergence to the correct energy, as visualized in __Figure 2__.

| **Figure 1**: SE-PINN without Enforcement of Symmetry |
| --- |
| <img src=https://raw.githubusercontent.com/Tiger-Du/SE-PINN/main/assets/no_enforcement_of_symmetry.gif> |

| **Figure 2**: SE-PINN with Enforcement of Symmetry |
| --- |
| <img src=https://raw.githubusercontent.com/Tiger-Du/SE-PINN/main/assets/enforcement_of_symmetry.gif> |

---

### Usage

__(1) Install__

```
pip install sepinn
```

__(2) Import__

```
from sepinn.wrappedpinn import WrappedPINN

model = WrappedPINN(...)

model.train(...)
```

---

### Documentation

A Jupyter notebook is available for reference in the `docs` folder as well as through Google Colab and nbviewer.

__Google Colab__ (_Interactive_):

https://colab.research.google.com/github/Tiger-Du/SE-PINN/blob/main/docs/quantum_harmonic_oscillator.ipynb

__nbviewer__ (_Non-interactive_):

https://nbviewer.org/github/Tiger-Du/SE-PINN/blob/main/docs/quantum_harmonic_oscillator.ipynb

---

### Citation

SE-PINN is citable via the BibTeX entry below.

```
@techreport{DuAhrensOguz2023,
  author={Du, Tiger and Ahrens, Alexander and Oguz, Ipek},
  institution={Vanderbilt University},
  title={Solving the Schrodinger Equation via Physics-Informed Machine Learning},
  year={2023}
}
```

---

### License

SE-PINN is published under the GPL-3.0 license.
currency-converter-ext 0.1.0
A comprehensive currency conversion library with CLI
Requires Python: >=3.7
Keywords: currency converter exchange rates

# Currency Converter

A comprehensive Python library for currency conversion with real-time exchange rates and a user-friendly CLI.

## Features

- Real-time currency conversion
- Support for multiple currencies
- Caching of exchange rates
- Fallback mechanism for rate fetching
- Flexible formatting options
- Command-line interface

## Installation

```bash
pip install currency-converter-ext
```

## Usage

### As a Library

```python
from currency_converter.main import CurrencyConverter

# Initialize converter
converter = CurrencyConverter()

# Convert currencies
result = converter.convert(100, 'USD', 'EUR')
print(result)  # Outputs converted amount
```

### CLI Usage

```bash
# Launch the CLI
currency-converter
```

## Requirements

- Python 3.7+
- requests library

## License

MIT License
stagehand-sdk 0.1.0
Python SDK for BrowserBase Stagehand
Requires Python: >=3.7

# Stagehand Python SDK

A Python SDK for BrowserBase Stagehand, enabling automated browser control and data extraction.

## Installation

```bash
pip install stagehand-sdk
```

## Usage

```python
import asyncio
from stagehand import Stagehand

async def main():
    # Initialize the Stagehand client
    browser = Stagehand(
        env="BROWSERBASE",
        api_key="your-api-key",
        project_id="your-project-id"
    )
    
    # Perform browser actions
    result = await browser.act("Navigate to google.com")
    
    # Extract data using a schema
    data = await browser.extract("Get the search results", {
        "results": [{"title": "string", "url": "string"}]
    })
    
    # Close the browser
    await browser.close()

# Run the example
asyncio.run(main())
```

## Configuration

- `env`: Environment to use (default: "BROWSERBASE")
- `api_key`: Your BrowserBase API key (can also be set via BROWSERBASE_API_KEY environment variable)
- `project_id`: Your BrowserBase project ID (can also be set via BROWSERBASE_PROJECT_ID environment variable)
- `verbose`: Verbosity level (default: 0)

## Features

- Automated browser control with natural language commands
- Data extraction with schema validation
- Async/await support
- Automatic NextJS server management

## Requirements

- Python 3.7+
- httpx
- asyncio

## License

MIT License
pennylane-cim 0.0.1
A plugin connect pennlylane and cim.
Requires Python: >=3.12

# Pennylane-CIM-Plugin

#### 介绍
{**以下是 Gitee 平台说明，您可以替换此简介**
Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台（同时支持 SVN）。专为开发者提供稳定、高效、安全的云端软件开发协作平台
无论是个人、团队、或是企业，都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}

#### 软件架构
软件架构说明


#### 安装教程

1.  xxxx
2.  xxxx
3.  xxxx

#### 使用说明

1.  xxxx
2.  xxxx
3.  xxxx

#### 参与贡献

1.  Fork 本仓库
2.  新建 Feat_xxx 分支
3.  提交代码
4.  新建 Pull Request


#### 特技

1.  使用 Readme\_XXX.md 来支持不同的语言，例如 Readme\_en.md, Readme\_zh.md
2.  Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
3.  你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
4.  [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目，是综合评定出的优秀开源项目
5.  Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6.  Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
sophy-python 0.1.1
A Slack notification utility
Requires Python: >=3.6

# Sophy

A simple Slack notification utility.

## Installation

```bash
pip install sophy-python
```

## Usage

```python
from sophy import Slackbot

# Set SLACK_TOKEN environment variable first
bot = Slackbot('user@example.com')
bot.notify('Hello from Sophy!')
```
django-logui 0.1.2
Flexible, fast and productive UI for logging in Django
Requires Python: >=3.8
Keywords: django-logui django utils funcs features logs logging logger

# Django LogUi 

> Sometimes I use this in different projects, so I decided to put it on pypi

## Installation
```bash
pip install django-logui
```

## Settings

* ### Add the application to the project.
    ```python
    INSTALLED_APPS = [
        #...
        'adjango',
        'logui',
    ]
    ```
* ### In `settings.py` set the params
    ```python
    # settings.py
    from os.path import join
    from logui.utils import check_loggers
  
  
    # LOGS_DIR will be scanned for .log files
    # Nearest folders are also scanned.
    # LOGS_DIR *required
    LOGS_DIR = join(BASE_DIR, 'logs')

    LOGGING = ... # ur logging
    # Console report about existing loggers
    check_loggers(LOGGING)
    ```
    #### Read more about [adjango](https://github.com/Artasov/adjango)
* ### Add routes

    Only `is_staff` have access.
    ```python
    from django.urls import path, include
    # Not use django.conf.settings
    from logui.conf import LOGUI_URL_PREFIX

    urlpatterns = [
        ...
        path(LOGUI_URL_PREFIX, include('logui.routes.views')),
    ]
    ```
* ### Open https://localhost:8000/logui/
  `https:`//`localhost:8000`/`settings.LOGUI_URL_PREFIX`

* ### Additional
  ```python
  # only for request response middleware
  LOGUI_REQUEST_RESPONSE_LOGGER_NAME = 'global'
  MIDDLEWARE = [
    ...
    'adjango.middleware.IPAddressMiddleware',  # first IP middleware from adjango
    'logui.middleware.RequestResponseLoggerMiddleware',  # second logui middleware
    ...
  ]
  
  # not required
  LOGUI_URL_PREFIX = 'logui/'
  LOGUI_CONTROLLERS_SETTINGS = {
      'auth_required': True,
      'log_name': False,
      'not_auth_redirect': f'/admin/login/?next=/{LOGUI_URL_PREFIX}'
  }
  ```
where2charge 1.0.0
where2charge - an EV charging station recommender system
Requires Python: >=3.12
Keywords: Electric vehicle, charging station, suggestion, recommendation, EV, EVCS, Google Maps API, Openai API

# where2charge
_Course project for 'CSE583 Software Development for Data Scientists' during the autumn 2024 quarter at the University of Washington._

_Team members: Arsalan Esmaili, Soheil Keshavarz_

## Description: 

`where2charge` is a platform that is aimed to suggest reliable charging station options to EV owners.

This repository contains four main components as below:
- User interface (app.py) 

- Server handler (server.py)

- Control logic (recommender.py)

- Unit tests 

More information on user requirements, component design, structure of this work, and future work
can be seen at `doc/README.md` and `doc/CSE583 where2charge presentation.pptx`



## How to use
This project can be used in three ways: as a web application, as an API, and as a python package. 

Before using our codes, you need to have:

1. A valid Google API key (https://developers.google.com/maps) with access to Places, Distance Matrix, 
and Directions APIs.
2. A valid OpenAI API key (https://platform.openai.com/api-keys)
### Streamlit based web app
1. Update `config.yaml` file with your api keys
```angular2html
GOOGLE_API_KEY: "your_google_api_key"
OpenAI_API_KEY: "your_openai_api_key"
```
2. run `src/main.py` from root directory of this repo.

![app screenshot](https://github.com/BlueSoheil99/where2charge/blob/main/doc/recording.gif?raw=true)

Please do not click or drag on the map when you see the message below on the app:
<img src="https://github.com/BlueSoheil99/where2charge/blob/main/doc/running_screenshot.png?raw=true" width=300>
### API
in case you want to use this work directly as an api instead of a UI, you can get connected to the server. 
Since this project is deployed on cloud yet, server address is you localhost. To run the server individually,
run `uvicorn src.server:app --reload --port {selected-port}` on terminal and on the root directory. Then open a browser and type `http://localhost:{selected-port}/docs
` in the address bar. `selected-port`, `8000` for example, is determined by the user.


![api_screenshot](https://github.com/BlueSoheil99/where2charge/blob/main/doc/api_screenshot.png?raw=true)
### a Python package

```angular2html
pip install where2charge
```
Sample code:
```angular2html
import where2charge

google_key = 'your_google_api_key'
openai_key = 'your_openai_api_key'

lat, lng = selected_latitude, selected_longitude
connector_type = 'Tesla'
number_of_suggestions = 3

recommender = where2charge.Recommender(google_key, openai_key)
suggestions = recommender.get_suggestions(lat, lng, number_of_suggestions, connector_type)
```