semvec/pypi-packages huggingface dataset:
vfo 0.0.19
A package for visualization of OpenSees models.
Requires Python: >=3.10

***
# vfo (Visualization For OpenSees)
***
 
![vfo](https://github.com/u-anurag/vfo/blob/main/Doc/vfo_logo.png)
  
  
***
[![PyPI version fury.io](https://badge.fury.io/py/vfo.svg)](https://pypi.org/project/vfo/)
[![Downloads](https://pepy.tech/badge/vfo)](https://pepy.tech/project/vfo)
[![Downloads](https://pepy.tech/badge/vfo/month)](https://pepy.tech/project/vfo)
[![Downloads](https://pepy.tech/badge/vfo/week)](https://pepy.tech/project/vfo)
***

vfo (Visualization for OpenSees) is a Python package to make your life better by helping you visualize your OpenSees models, Python or Tcl. It utilizes Matplotlib 3.0 library to plot 2D and 3D models in a dedicated interactive window. You can use click-and-hold to change the view angle and zoom the plot. The model image can be saved with the desired orientation directly from the interactive plot window. If you did not install matplotlib using Anaconda, you will have to install PyQt or PySide to enable an interactive window (Matplotlib Dependencies).

#### Animation: To save the animation movie as .mp4 file, FFmpeg codecs are required.

When using Spyder IDE and Jupyter notebook, the default setting is to produce a static, inline plot that is not interactive. To change that, write the command %matplotlib qt in the Ipython console and then execute the model plotting commands. This will produce an interactive plot in a dedicated window.

The following elements are supported:

- 2D and 3D Beam-Column Elements 
- 2D and 3D Quad Elements 
- 2D and 3D Tri Elements 
- 8 Node Brick Elements 
- Tetrahedron Elements

![vfo](https://github.com/u-anurag/vfo/blob/main/Doc/Shell_and_Brick3D.png)

****

Install this package with,
```bash
pip install vfo
```

Upgrade the package with,
```bash
python -m pip install --upgrade vfo
```

To use this package, import the commands from *vfo*. For example,

```bash
import vfo.vfo as vfo
```

Now, use all the *vfo* visualization commands. For example,

```bash
vfo.plot_model()
```

# USER MANUAL
Documentation for *vfo* can be found here: ([vfo-docs](https://vfo.readthedocs.io/en/latest/index.html)).
morefractions 0.0.0a0
A package with various classes and functions to manipulate fractions
Requires Python: >=3.11

# morefractions
Morefractions is a package with various classes and functions to manipulate fractions.

## Installation
run the command `pip install morefractions`

## Docs

### Class `Fraction`
`class Fraction(numerator: int | float, denominator: int | float)`

Returns a new Fraction with numerator `numerator` and denominator `denominator`.

#### Methods
`Fraction.reciprocal() -> Fraction`

Returns the inverse of this Fraction.

`Fraction.get_type() -> ("proper" | "improper" | "unit")`

Returns a string indicating whether this Fraction is a proper fraction, an improper fraction or a unit fraction.

### Class `MixedNumber`
`class MixedNumber(whole: int, fraction: Fraction)`

Returns a new MixedNumber with integer part `whole` and fractional part `fraction`.

#### Methods
`MixedNumber.reciprocal() -> MixedNumber`

Returns the inverse of this MixedNumber.

### Functions
`convert_to_fraction(x: int | float | MixedNumber) -> Fraction`

Create a Fraction from x, where x should be an int, float or MixedNumber.

`convert_to_mixed_number(x: int | float | Fraction) -> MixedNumber`

Create a MixedNumber from x, where x should be an int, float or Fraction.

`is_like(x: Fraction, y: Fraction) -> bool`

Returns a boolean indicating whether x and y are like fractions.

## Change Log

### v0.0.0a0
Initial creation
vonage-network 0.1.1b0
Python Server SDK for using Vonage Network APIs
Requires Python: >=3.8

# Vonage Network API Python SDK

The Vonage Network API Python SDK Package `vonage-network` provides a streamlined interface for using Vonage APIs in Python projects. This package includes the `VonageNetwork` class, which simplifies API interactions.

The `VonageNetwork` class in this package serves as an entry point for using [Vonage Network APIs](https://developer.vonage.com/en/getting-started-network/what-are-network-apis). It abstracts away complexities with authentication, HTTP requests and more.

For full API documentation refer to the [Vonage Developer documentation](https://developer.vonage.com).

Please note this package is in beta and could be subject to change or removal.

## Installation

Install the package using pip:

```bash
pip install vonage-network
```

## Usage

```python
from vonage_network import VonageNetwork, Auth, HttpClientOptions

# Create an Auth instance
auth = Auth(api_key='your_api_key', api_secret='your_api_secret')

# Create HttpClientOptions instance
# (not required unless you want to change options from the defaults)
options = HttpClientOptions(api_host='api.nexmo.com', timeout=30)

# Create a Vonage network client instance
vonage_network = VonageNetwork(auth=auth, http_client_options=options)
```

The `VonageNetwork` class provides access to various Vonage Network APIs through its properties. For example, to call the Network Sim Swap API:

```python
from vonage_network_sim_swap import SwapStatus
swap_status: SwapStatus = vonage_network.sim_swap.check(phone_number='MY_NUMBER')
print(swap_status.swapped)
```

You can also access the underlying `HttpClient` instance through the `http_client` property:

```python
user_agent = vonage_network.http_client.user_agent
```