semvec/pypi-packages huggingface dataset:
whoisjson 0.2.0
A Python client for the whois-json API service
Requires Python: >=3.6

# WhoisJSON Python Client

A simple and reusable Python client for the [WhoisJSON API](https://whoisjson.com) service.

Free accounts include 500 requests per month. [Check out our full documentation](https://whoisjson.com/documentation) for more details about our API.

## Installation

```bash
pip install whoisjson
```

## Usage

```python
from whoisjson import WhoisJsonClient

# Initialize the client
client = WhoisJsonClient(api_key="your-api-key")

# 1. WHOIS Lookup
try:
    whois_result = client.whois("example.com")  # or client.lookup() for backward compatibility
    print(whois_result)
except Exception as e:
    print(f"Error: {e}")

# 2. DNS Lookup
try:
    dns_result = client.nslookup("example.com")
    print(dns_result)
except Exception as e:
    print(f"Error: {e}")

# 3. SSL Certificate Check
try:
    ssl_result = client.ssl_cert_check("example.com")
    print(ssl_result)
except Exception as e:
    print(f"Error: {e}")
```

## Available Endpoints

The client provides access to the following WhoisJSON API endpoints:

1. `whois(domain)`: Get WHOIS information for a domain
2. `nslookup(domain)`: Get DNS records for a domain
3. `ssl_cert_check(domain)`: Get SSL certificate information for a domain

## Features

- Simple and intuitive API
- Type hints for better IDE support
- Proper error handling
- Support for both free and premium API access
- Comprehensive examples included

## Examples

Check out the `examples` directory for ready-to-use example scripts demonstrating all features.

To run the demo:
```bash
python examples/demo.py
```

## Requirements

- Python 3.6+
- requests>=2.25.0

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

This project is licensed under the MIT License - see the LICENSE file for details.
flowplot 0.0.15
An interactive visualisation ananlyis tool for flow and input-output-storage data
Requires Python: >=3.7
Keywords: hydrology, visualization, reservoir, plot, interactive

<p align="center">
  <img src="https://github.com/user-attachments/assets/95150a22-f7bf-4b69-b387-e2f6c19e93af" width=70% height=70%>
</p>

# Quickstart
`pip install flowplot`

```python
from flowplot import cycle
cycle(r".\user-inputs\cycles\Overall.csv", delimiter=';')
```
<p align="center">
<img src="https://github.com/user-attachments/assets/7fcdd855-611f-4cb7-82df-bc82baaf2865" width=50% height=50%>
</p>

# Overview

flowplot is a visualisation and analysis tool for hydrological and general flow-stock, input-output-storage data for Python 🐳

Diagrams include 
- **Cycle**, including *Circles*, *Bar graphs*, and *Line graphs*
- **TSCompare** Time series of multiple simulations and observations, with statistics
- **ExceedanceProb** Exceedance probability and comparison, multiple simulations
- **BoxWhisker** Box-whisker plots, multiple simulations
- **HeatSeason** Seasonality, multiple simulations


![flowplot_portfolio](https://github.com/user-attachments/assets/2170632f-acbf-4d21-8303-73dd0d372fed)

# User inputs
### user-inputs folder includes: 
#### cycles: 
- associates the cycle flows as in, out, storage, and sub-flows
  
#### flow time series:
- Contains three columns for the date: YYYY, MM,  DD
- Column names match those indicated in the cycles csv above
- There can be several csv files holding flow time series
- Columns hold daily values of flows, with name and unit indicated in cycle csv

### Units
- standard
  - m3   (meaning m3/day)
  - m3s  
(meaning m3/second)
- with option num_cells_domain:
  - mmcell (meaning mm/day/averaged across all cells)
  - m3cell (meaning m3/day averaged across all cells)
 

  - m3scell (meaning m3/second averaged across all cells)
- with option cellsize_m2, assuming all cells are the same size in square metres
  - mm     (meaning mm/day)
```
cycle(r".\user-inputs\cycles\Overall.csv", delimiter=';', cellsize_m2=1000*1000, num_cells_domain=153451)
```
### Creates the following diagrams for a user-determined cycle:
  1. **Circles**, showing the partitioned inputs, outputs, net storage changes, and balance, aggregated spatiotemporally;
  2. **Bar graphs**, showing the partitioned inputs, outputs, net storage changes, and balance, aggregated spatiotemporal;
  3. **Line graphs, overall**, showing the inputs, outputs, net storage changes, and balance through time, aggregated spatially;
  4. **Line graphs, partitioned**, showing the partitioned flows through time, aggregated spatially.
![flowplot](https://github.com/user-attachments/assets/defcf9c5-6750-4270-b0a6-a74806361582)