semvec/pypi-packages huggingface dataset:
myIPstats 1.4
A module to fetch your IP address information.
License: MIT

# myIPstats 🌎

### Module Overview:

This module provides functionality to fetch IP information, including public and private IP addresses, location details, open ports, and more.

## How to Use:

- `myIPstats` (class): The main class containing methods to retrieve various IP-related information.

### Public IP:

- **`.public_ip()`** - Returns the public IP address.

- **`.public_hostname()`** - Returns the public hostname.

- **`.public_city()`** - Returns the public city.

- **`.public_region()`** - Returns the public region.

- **`.public_country()`** - Returns the public country.

- **`.public_loc()`** - Returns the public location.

- **`.public_org()`** - Returns the public organization.

- **`.public_postal()`** - Returns the public postal code.

- **`.public_fulladdress()`** - Returns a formatted string of public city, region, country, and postal code.

- **`.public_timezone()`** - Returns the public timezone.

- **`.public_all_stats(indent=False)`** - Returns all public information in JSON format.

 ### Private IP:

- **`.private_ip()`** - Returns the private IP address.

 ### Other Networking Information:

- **`.open_ports()`** - Returns a list of open ports on the local machine.

- **`.ip_probe(ip_address, indent=False)`** - Retrieves IP information for a specified IP address using the "https://ipinfo.io/{ip_address}/json" API.

### Example Usage:

Example:

```python
import myIPstats

ip_info = myIPstats.public_ip()
print(f"Public IP Address: {ip_info}")
```

Output:

```python
Public IP Address: 8.8.8.8
hx711-micropython-impementation 0.0.2
Based on SergeyPiskunov's implementation. More functionalities.
License: MIT
Requires Python: >=3.8

# hx711-mpython
Micropython driver for the HX711 24-Bit Analog-to-Digital Converter

Latest version supports:
- retrieving data from the channel 'A' with gain 128 and 64, 
the channel 'B' with gain 32 in a raw form and a form 
converted from the two's complement.
- sending "power off" sequence to switch device to the power-saving mode.
- sending "power on" sequence with the gain saved before the "power off".
- checking if the device is ready for the data retrieval.

#### Example for the ESP8266:
Refer to the example folder. It can permorm tare and set a ratio to change the raw input.
D_OUT pin is connected to the GPIO 5<br/>
PD_SCK pin is connected to the GPIO 4<br/>
Using internal HX711 oscillator, so ESP8266's frequency is set to 160000000
 
```
from scales import Scales

scale = Scales(d_out=4, pd_sck=5)
scale.reset()
scale.tare()
while True:
    if scale.is_ready():
        val = scale.stable_value()
        print(val)
        sleep_us(500)

```
faicons 0.2.2
An interface to Font-Awesome for use in Shiny.
License: MIT
Requires Python: >=3.8
Keywords: fontawesome

# Font Awesome for Shiny

An interface to [Font-Awesome](https://fontawesome.com/) for use in Shiny for Python.

This package currently uses Font-Awesome 6.2.0.

## Installation

```python
pip install faicons
```

## Usage

Use `icon_svg()` to get an `<svg>` representation of the icon.

```python
from faicons import icon_svg
icon_svg("play")
```

Example usage in Shiny:

```python
from shiny import ui
ui.input_action_button("btn", "Press me", icon=icon_svg("play")).show()
```
stdcpp 0.5.0
cout & cerr like in C++
License: MIT
Requires Python: >=3.8,<4.0

# cout & cerr like in C++

## Usge:

```py
from stdcpp import cout, cerr, endl

cout << "Hello" << " " << "world!" << endl
cerr << "Hello" << " " << "world!" << endl
```

## Bonus 1:

```py
from stdcpp import Stream

s = Stream('log.txt', 'a+')
s << "Hello "
s.close()

with Stream('log.txt', 'a+') as s:
    s << "world!" << endl
```

## Bonus 2:

```py
import io
from stdcpp import Stream, cout

ios = io.StringIO()
s = Stream(ios)
s << "Hello world!" << endl
ios.seek(0)
cout << ios.read()
```

## Bonus 3:

```py
from stdcpp import coutln, cerrln

coutln << "Hello world!"
cerrln << "Hello world!"
```

## Bonus 4:
```py
from stdcpp import cdbg

x = 123
y = 'foobar'

cdbg << x << y
```

result:
```
x: int = 123
y: str = 'foobar'
```
MGP-SDK 1.3.2
SDK for interacting with Maxar Geospatial Platform
License: MIT
Requires Python: >=3.8
Keywords: OGC,WMS,WFS,WMTS,WCS,MAXAR,IMAGERY,GIS

# Maxar Geospatial Platform SDK

# Installation Instructions
1. Install python 3.8
1. pip install MGP_SDK
1. Create a credentials file called `.mgp-config` 
   * The file should look like:
   ```
   [mgp]
   user_name=<your-user-name>
   user_password=<your-password>
   client_id=<your-client-id>
   ```
# Usage Instructions
```
from MGP_SDK.interface import Interface
interface = Interface()
print(help(interface))
print(help(interface.streaming))
print(help(interface.account_service))
```
# Documentation

Documentation site: https://maxar-geospatial-platform.readthedocs.io/en/latest/

Github site: https://github.com/Maxar-Corp/maxar-geospatial-platform

# How to Install Jupyter Notebooks
## Link to Jupyter labs install instructions Here
```
https://jupyter.org/install
```
## Recommended Steps

In your python 3.7 environment run the following installation commands
```
pip install notebook
```
After Installation is completed launch the Jupyter Notebook in your python environment with 
```
jupyter notebook
```

## (Optional) Creating a Shortcut for your Specific Python Environment Jupyter Notebook.
Create a new Short cut on your desktop. 
After Naming your shortcut right click and select Properties
Under the Shortcut tab
In the target box input the following command. Substituting in the Path to your Anaconda3 and the name of your python environment. 

```
%windir%\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy ByPass -NoExit -Command "& '<Path to Anaconda3>\condabin\conda-hook.ps1' ; "conda activate <PythonEnvironmentName>"; "jupyter notebook"
```
in the Start In box input 
```
%cd%
```
This will allow you to store this shortcut anywhere on your computer.