semvec/pypi-packages huggingface dataset:
volvopy 0.1.21
Connect to the Volvo API using Python.
Requires Python: >=3.8


[![PyPI version](https://img.shields.io/pypi/v/volvopy.svg?logo=pypi&logoColor=FFE873)](https://pypi.org/project/volvopy)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/volvopy.svg?logo=python&logoColor=FFE873)](https://pypi.org/project/volvopy)
[![PyPI downloads](https://img.shields.io/pypi/dm/volvopy.svg)](https://pypistats.org/packages/volvopy)
[![Code style: Black](https://img.shields.io/badge/code%20style-Black-000000.svg)](https://github.com/psf/black)

# volvopy
Connect to the Volvo API using Python.

The library works with Python 3.9 (v3.8 will likely also work) for the demo cars of the API using your own VCC keys. You also need to generate DEMO tokens for each API module. 

# Installation
On Linux:
```bash
python3 -m pip install --upgrade volvopy
```

Create a file in your home directory at `~/.config/volvopy/keys.ini`. This should contain the following information:
```ini
[API]
vcc_primary: <VCC API primary key>
vcc_secondary: <VCC API secondary key>
connected_token: <token to access the Connected Vehicle API>
extended_token: <token to access the Extended Vehicle API>
location_token: <token to access the Location API>
energy_token: <token to access the Energy API>
vin: <VIN number of your car>
```

# Disclaimer & License
This is demonstration software.
See [LICENSE](LICENSE).
PastebinReaderPy 1.0.0
Python Pastebin Library for reading and running pastes
Requires Python: >=3.6

# PastebinReaderPy

With this library you can read and run pastes

### Installation

```
pip install PastebinReaderPy
```

### Documentation
(**id** - https://pastebin.com/{**id**})

1. read_paste(paste_id:str) -> str
   - _This function return text of paste_
2. read_var_paste(paste_id:str) -> str
   - _This function return paste's varible_
3. run_paste(paste_id:str) -> None
   - _This function run paste's python code_

### Usage
```

>>> import pastebin_reader as pr
>>> pr.read_paste('uQS3TJgS') # for reading example id = uQS3TJgS
'{\n    "English": "en",\n    "Chinese": "zh",\n    "Ukrainian": "uk",\n    "Polish": "pl"\n}'
>>> pr.read_var_paste('uQS3TJgS')
{'English': 'en', 'Chinese': 'zh', 'Ukrainian': 'uk', 'Polish': 'pl'}
>>> pr.run_paste('tLDZ9p7w') # for running example id = tLDZ9p7w
Hello, World!

```
pyfmreader 0.1.3
A python package to read Nanoscope and JPK AFM files.
Requires Python: >=3.6

# Pyfmreader

In development, not fully stable.
If you find any issues please open an issue at:
https://github.com/jlopezalo/PyFMReader/issues

If you have any questions, contact:
jla.lopez.18@gmail.com

## Installation
```
pip install pyfmreader
```

## Usage
```
from pyfmreader import loadfile

NANOSC_FV_PATH = 'tests/testfiles/20200903_Egel2.0_00023.spm'

NANOSC_FV_FILE = loadfile(NANOSC_FV_PATH)

metadata = NANOSC_FV_FILE.filemetadata

piezoimg = NANOSC_FV_FILE.getpiezoimg()

FC = NANOSC_FV_FILE.getcurve(0)

FC_segments = FC.get_segments()

segment_0 = FC_segments[0]
```
MIT License

Copyright (c) 2023 Javier Lopez Alonso

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.
pydantic-loggings 1.6.1
Configure 🎁 Your 🤗 Python 🐍 Logging 📝
Requires Python: >=3.9

# Configure 🎁 Your 🤗 Python 🐍 Logging 📝

[![PyPI](https://img.shields.io/pypi/v/pydantic-loggings)](https://pypi.org/project/pydantic-loggings/)

## Installation

```shell
pip install pydantic-loggings
```

## Usage

- [examples](./examples)

### out of the box

```py
from pydantic_loggings.base import Logging


logger = Logging().get_logger(configure=True)

logger.debug('debug')
logger.info('info')
logger.warning('warning')

# 01-01 00:00:00 DEBUG   debug
# 01-01 00:00:00 INFO    info
# 01-01 00:00:00 WARNING warning
```

### Default Logging

```py
from pydantic_loggings.not_set import Logging


logger = Logging().get_logger(configure=True)

logger.debug('debug')
logger.info('info')
logger.warning('warning')

# warning
```

### Configure from Environment

```py
from pathlib import Path

from pydantic_loggings.not_set import Logging


env_file = Path(__file__).parent / '.env'
logger = Logging(_env_file=env_file).get_logger(configure=True)

logger.debug('debug')
logger.info('info')
logger.warning('warning')

# 01-01 00:00:00 [root]   DEBUG (main.py:11) debug
# 01-01 00:00:00 [root]    INFO (main.py:12) info
# 01-01 00:00:00 [root] WARNING (main.py:13) warning
```

```shell
# .env
log__formatters__my_formatter__datefmt='%m-%d %H:%M:%S'
log__formatters__my_formatter__format='{asctime} [{name}] {levelname:>7} ({filename}:{lineno}) {message}'
log__formatters__my_formatter__style='{'

log__handlers__my_handler__class_='logging.StreamHandler'
log__handlers__my_handler__formatter='my_formatter'

log__loggers__root__level='DEBUG'
log__loggers__root__handlers='["my_handler"]'

# is equivalent to:

# log__formatters__my_formatter='{"datefmt":"%m-%d %H:%M:%S","format":"{asctime} [{name}] {levelname:>7} ({filename}:{lineno}) {message}","style":"{"}'
# log__handlers__my_handler='{"class_":"logging.StreamHandler","formatter":"my_formatter"}'
# log__loggers__root='{"level":"DEBUG","handlers":["my_handler"]}'

# and/or:

# log__formatters='{"my_formatter":{"datefmt":"%m-%d %H:%M:%S","format":"{asctime} [{name}] {levelname:>7} ({filename}:{lineno}) {message}","style":"{"}}'
# log__handlers='{"my_handler":{"class_":"logging.StreamHandler","formatter":"my_formatter"}}'
# log__loggers='{"root":{"level":"DEBUG","handlers":["my_handler"]}}'
```

### Loggings

- not_set
- base
- rich
ABPandas 0.3
Agent Based Pandas tool (ABPandas)
Keywords: python,Agent Based Model,Spatial,Pandas

An Agent Based Modelling (ABM) package that can generate grid spatial shape files or work with predefined shape files.
The package focuses on simplicity by assigning Agents to spatial Polygons instead of assigning x and y locations for each agents.
This makes it useful in situations where granual movement of agents in space is not necessary (e.g. residentail location models)