semvec/pypi-packages huggingface dataset:
RNBIP2 1.6.2
RNBIP ISA Emulator
Requires Python: >=3.6, <4
Keywords: sample,setuptools,development

# RNBIP Emulator
#### A Visual Exploration of the RNBIP ISA as interpreted as a single bus micro architecture

The RNBIP Emulator is distributed as a python package and the latest release should always be available on Pypi.     

### System Requirements
 - Microsoft Windows 7/8/10 , Linux Distribution (kernel 4+)
 - Python3.6+ installed and available on path
 - python-pip installed and available on path

### Setup Instructions Windows
  - Download and Install [Python3](https://www.python.org/downloads/)
  - Open CommandPrompt or Windows Powershell

You can Install the rnbip with the following command.
```bash
pip3 install rnbip
```
![](/docs/test.gif)

### Launch RNBIP
```bash
python3 -m rnbip_emulator
```
![](/docs/test2.gif)
### Setup Instructions Linux
Use your favourite package manager to install python3 and python-pip.   
Install the rnbip with the following command.
```bash
pip3 install rnbip
```
### Launch RNBIP
```bash
python3 -m rnbip_emulator
```
Alternatively, if installed scripts are added to path by default
```bash
rnbip
```
![](docs/rnbip_install_run.gif)
## Found a Bug / Feature Request ?
**FILE AN ISSUE :)**

## Enjoyed Learning Digital Electronics with the RNBIP Emulator ? Here are some of our Ideas for ways you could contribute.
 - [ ] COCO-TB Verilator Co Simulation Setup
 - [ ] Emulator to Xilinx Nexys 4 Fpga Project One Click Build instrumentation
 - [ ] Web Based emulator
 - [ ] Create an LLVM Backend for RNBIP 8/16           
Please Contact: Prof. R.N.Biswas or Paul George (command.paul@gmail.com) , Vedant Chakravarty and Prasanna Natarajan for more information / Assistance.
Surfy.GeoIP 1.0.2
Best Free Rest API for IP-based user location detection
Requires Python: >=3.7

# GEO IP
### Best Free Rest API for IP-based user location detection.

**97.5%** IPv4 and IPv6 address coverage in our database with daily updates. Median data retrieval from the DB is **0.002 seconds**.

More info and an absolutely free API Key: https://surfy.one/geoip

## Installation

```
pip install Surfy.GeoIP
```

## Usage

```python

from geoip import GeoIP

lookup = GeoIP("email@example.com", "YOUR_FREE_API_KEY")
# Get a Free API Key > https://surfy.one/geoip

testIPs = ["8.8.8.8", "2a01:e35:8bd9:8bb0:92b:8628:5ca5:5f2b"];

results = []
for IP in testIPs:
	result = lookup.get(IP)
	results.append(result)

print(results)

'''

Results [
	{
		ip: '8.8.8.8',
		code: 'US',
		country: 'United States of America',
		region: 'California',
		city: 'Mountain View',
		latitude: 37.405992,
		longitude: -122.078515,
		zip: '94043',
		timezone: {
			id: "America/Los_Angeles",
			name: "Pacific Standard Time",
			gmt: "GMT-08:00","offset":-480,
			localTime: "11/12/2022, 10:02:08 AM GMT-08:00"
		},
		state: true
	},
	{
		ip: '2a01:e35:8bd9:8bb0:92b:8628:5ca5:5f2b',
		code: 'FR',
		country: 'France',
		region: 'Ile-de-France',
		city: 'Paris',
		latitude: 48.858365,
		longitude: 2.294532,
		zip: '75000',
		timezone: {
			id: "Europe/Paris",
			name: "Central European Standard Time",
			gmt: "GMT+01:00",
			offset: 60,
			localTime: "11/12/2022, 6:55:50 PM GMT+01:00"
		},
		state: true
	}
]

'''

```

<br />
<br />

## MIT License

Copyright (c) Alexander Yermolenko • [surfy.one](https://surfy.one)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
py-presentation-foundation 1.0.1
A html binding to Tkinter UI
Keywords: python,tkinter,better ui,html python

# PythonPresentationFoundation

##### Description:
Python Presentation Foundation allows the use of html and css to design and style UI for the purpose of use within tkinter.
The binding between both html and tkinter is done using tkinterweb. All events are currently handled by url requests.
An event system built in to the `py_presentation_forum.Handle` class allows to bind python functions to urls.
Arguments can be passed through the requests from the html side.

## Installation
```
pip install py-presentation-foundation
```
https://pypi.org/project/py-presentation-foundation/#description

## Getting started
Create a directory with two files, a `main.py`, and a `config.json`. Create a directory for your html files to keep things clean.
Create an index.html file within
```
Directory|
         |-->main.py
         |-->config.json
         |-->Design|
                   |-->index.html
```

```python
# main.py
from py_presentation_forum import Handle
from py_presentation_forum.Utils import Utils

global hnwd
global conf
conf = Utils().getConfig("./config.json")
hnwd = Handle(conf)

hnwd.win.mainloop()
```
```json
{
  "url": "file:///C:/{...path}/Design/index.html"
}
```
You can aquire the `[url]` path by viewing the html file in a browser and proceeding to copy the link from the url bar.

## Events
There are two type of events, one that is triggered when the request is sent, and one that is triggered after the request has finished rendering.

We can test this by using this script:
```python
from py_presentation_forum import Handle
from py_presentation_forum.Utils import Utils

from tkinter import messagebox

global hnwd
global conf
conf = Utils().getConfig("./config.json")
hnwd = Handle(conf)

class evnts:
	def alert(args):
		messagebox.showwarning(args[1], args[2])
	
	def alert_done(args):
		global hnwd
		global conf
		hnwd.frame.load_file(conf["url"])

hnwd.routes.newEvent(evnts, "alert")
hnwd.routes.newOnDone(evnts, "alert_done")

hnwd.win.mainloop()
```

```html
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
	</head>
	
	<body>
		<a href=";alert;test;hello world" class="button is-info">Info</a>
	</body>
</html>
```

Request paths must contain a semi column `;`.
In this case we want to call an event called `alert`.
Therefore we can call the function by using a hyperlink specifying the request route.
for example:
```html
<a href=";alert">Test</a>
```
This would call the alert function.
If we need to pass arguments to the alert function, we can do so as such:
```html
<a href=";alert;arg1;arg2">Test</a>
```

if an `onDone` event has been passed with the prefix of the primary functions name, then the `onDone` event will be called automatically.
In the examples case, we use alert to show a warning box, and the alert_done to redirect back to the home page `index.html`