semvec/pypi-packages huggingface dataset:
ShowSys 1.0.1
A simple package to get system spec information
Requires Python: >=3.7
Keywords: system,information,spec,hardware,software,os,platform,cpu,memory,disk,network,cli,command,line,interface,tool,utility

# Show System Information

[![Test](https://github.com/NatLee/show-system-info/actions/workflows/test.yml/badge.svg)](https://github.com/NatLee/show-system-info/actions/workflows/test.yml)
[![Release](https://github.com/NatLee/show-system-info/actions/workflows/release.yml/badge.svg)](https://github.com/NatLee/show-system-info/actions/workflows/release.yml)

Show System Information is a Python package that provides a simple way to display system information. It is designed to be easy to use and easy to understand. It is also easy to extend and customize.

## Installation

```bash
pip install showsys
```

Visit [ShowSys on PyPI](https://pypi.org/project/ShowSys/) for more details.

## Usage

### As a Library

You can use ShowSys as a library in your Python code. Here is an example.

```python
from showsys import ShowSys
sysinfo = ShowSys()
sysinfo.info()
```

There are several methods available to display system information. You can use them to display different types of system information.

- system_information
- boot_time
- cpu_info
- memory_info
- swap_info
- network_info

Just call the method you want to use. For example, you can use the following code to display CPU information.

```python
from showsys import ShowSys
sysinfo = ShowSys()
print(sysinfo.cpu_info())
```

It will display the following information.

```python
{
    'Physical cores': 12,
    'Total cores': 20,
    'Max Frequency': '2100.00Mhz',
    'Min Frequency': '0.00Mhz',
    'Current Frequency': '2100.00Mhz',
    'CPU Usage Per Core': ['0.0%', '0.0%', '0.0%', '0.0%', '0.0%', '1.6%', '0.0%', '0.0%', '0.0%', '15.4%', '3.1%', '0.0%', '1.6%', '0.0%', '0.0%', '0.0%', '0.0%', '0.0%', '0.0%', '0.0%'],
    'Total CPU Usage': '1.6%'
}
```


### Command Line Interface

ShowSys also provides a command line interface. You can use it to display system information from the command line.

```bash
showsys -d # Display system information details
```

Other options are available. You can use the following command to see all available options.

```bash
showsys -h # Show help
```
jsonschema-pydantic 0.6
Convert JSON Schemas to Pydantic models

# jsonschema-pydantic

Simple transform of jsonschema to pydantic models.

## Supported jsonschema features

- primitive types
- objects
- arrays
- nested objects
- optional fields
- default values

## Install 

```
pip install jsonschema-pydantic
```

## Usage

```
from jsonschema_pydantic import jsonschema_to_pydantic

jsonschema = {
    "type": "object",
    "properties": {
        "name": {"type": "string"},
        "age": {"type": "integer"},
    },
    "required": ["name"],
}

pydantic_model = jsonschema_to_pydantic(jsonschema)
```

## Development

Run pytest test suite:

```
make test
```

### Linting

Run all linters

```
make lint
```

### Formatting

Format python code:

```
make fmt
```

### Documentation

Generate documentation:

```
make docs
```

### Contributions

Read the [CONTRIBUTING.md](CONTRIBUTING.md) file.
Show-System-Information 1.0.0
A simple package to get system spec information
Requires Python: >=3.7
Keywords: system,information,spec,hardware,software,os,platform,cpu,memory,disk,network,cli,command,line,interface,tool,utility

# Show System Information

[![Test](https://github.com/NatLee/show-system-info/actions/workflows/test.yml/badge.svg)](https://github.com/NatLee/show-system-info/actions/workflows/test.yml)
[![Release](https://github.com/NatLee/show-system-info/actions/workflows/release.yml/badge.svg)](https://github.com/NatLee/show-system-info/actions/workflows/release.yml)

Show System Information is a Python package that provides a simple way to display system information. It is designed to be easy to use and easy to understand. It is also easy to extend and customize.

## Installation

```bash
pip install showsys
```

Visit [ShowSys on PyPI](https://pypi.org/project/ShowSys/) for more details.

## Usage

### As a Library

You can use ShowSys as a library in your Python code. Here is an example.

```python
from showsys import ShowSys
sysinfo = ShowSys()
sysinfo.info()
```

There are several methods available to display system information. You can use them to display different types of system information.

- system_information
- boot_time
- cpu_info
- memory_info
- swap_info
- network_info

Just call the method you want to use. For example, you can use the following code to display CPU information.

```python
from showsys import ShowSys
sysinfo = ShowSys()
print(sysinfo.cpu_info())
```

It will display the following information.

```python
{
    'Physical cores': 12,
    'Total cores': 20,
    'Max Frequency': '2100.00Mhz',
    'Min Frequency': '0.00Mhz',
    'Current Frequency': '2100.00Mhz',
    'CPU Usage Per Core': ['0.0%', '0.0%', '0.0%', '0.0%', '0.0%', '1.6%', '0.0%', '0.0%', '0.0%', '15.4%', '3.1%', '0.0%', '1.6%', '0.0%', '0.0%', '0.0%', '0.0%', '0.0%', '0.0%', '0.0%'],
    'Total CPU Usage': '1.6%'
}
```


### Command Line Interface

ShowSys also provides a command line interface. You can use it to display system information from the command line.

```bash
showsys -d # Display system information details
```

Other options are available. You can use the following command to see all available options.

```bash
showsys -h # Show help
```