semvec/pypi-packages huggingface dataset:
osmsc 0.1.20
Construct semantic city models from OpenStreetMap
License: MIT


OSMsc 
=====
*updated 21 Sep 2023*


The main contributions of OSMsc are reflected in the following aspects:
* Construct semantic city objects based on the public dataset (OpenStreetMap), apply geometric operations to build the incomplete objects, and store them in their respective data layers.
* Fuse 3D and tag information from multiple data sources through the spatial analysis between OSMsc layers and other non-OSM data layers.
* Supplement the spatial semantics and geometric properties to city objects through object layer analysis.
* Utilize each data layer as a unit to output the final CityJSON semantic objects


### Installation

Install from [PyPi](https://pypi.org/project/osmsc/)

`pip install osmsc`

Install from [Github](https://github.com/ruirzma/osmsc)

`git clone https://github.com/ruirzma/osmsc.git`

`cd osmsc/`

`pip install .` or `python setup.py install`

### Examples
[OSMsc demonstration notebooks](https://github.com/ruirzma/osmsc-examples)

### Reference
    1. Geoff Boeing, OSMnx, https://github.com/gboeing/osmnx
    2. Nick Bristow, OSMuf, https://github.com/AtelierLibre/osmuf
    3. Joris Van den Bossche, GeoPandas, https://github.com/geopandas/geopandas
ankex_python_sdk 0.1.0
Ankex python sdk
License: MIT
Requires Python: >=3.9,<4.0
Keywords: ankex,sdk,exchange,cryptography,websockets

Python SDK to use Ankex via Websocket
=================================

![Python version](https://img.shields.io/pypi/pyversions/ankex_python_sdk)
![License](https://img.shields.io/pypi/l/ankex_python_sdk)
![Version](https://img.shields.io/pypi/v/ankex_python_sdk)
![Coverage](https://img.shields.io/badge/coverage-88%25-blue)

### Features

- Market data streams (Sub/UnSub):
    - Instruments, Funding, OrderBook, Trades, Tickers, Candles
- User data streams (Sub/UnSub):
    - Orders, Funding, StopOrders, Positions, Balance, Trades
- User data methods:
    - Place, Replace, Cancel, MassCancel order
    - Place, Replace, Cancel stop order
- Service data methods:
    - Get service time
    - Ping

### Required dependencies:
   - `cryptography = "^41.0.3"`
   - `websockets = "^11.0.3"`
   - `python-dotenv = "^1.0.0"`
   - `pydantic = "^2.3.0"`

### Documentation
#### [https://ankex.sdk.docs.com](https://ankex.sdk.docs.com)

### Installation

- Register an account with Ankex: [https://ankex.com](https://ankex.com)
- Generate API Key and API secret: [https://ankex.com](https://ankex.com).
- `pip install ankex_python_sdk`


### Basic usage
    import asyncio
    from typing import Union
    from ankex import constants, models

    async def ws_handler(
        obj: Union[models.Order, None], # Deserialized message from API
        orginal_msg: dict, # Original message from API
        is_error: bool # Return error or not
    ):
        # Global callback funtion 
        # to handle received messages
        pass        

    # init client
    async with AnkexWebSocketClient(
        custom_host="", # Custom host
        custom_port="", # Custom port
        api_token="", # Your Api token
        api_secret="", # Your Api secret,
        response_hook=ws_handler, # Response hook
    ) as client:
        # place order
        await client.place_order(
            account_id=<Your account id>,
            symbol="BTCUSDC",
            time_in_force=constants.TimeInForce.GTC,
            order_type=constants.OrderType.LIMIT,
            side=constants.Side.BUY,
            size=<Order size>,
            price=<Order price>,
        )
        await asyncio.sleep(5)

### Dot env support

We can specify custom_host and custom_port using this environment for AnkexWebSocketClient:
- `ANKEX_TESTNET_URL=host using if testnet=True`
- `ANKEX_PRODUCTION_URL=host using if testnet=False`
- `ANKEX_CUSTOM_PORT=custom_port`
nightwatch 1.0.7
Logging
License: MIT


Nightwatch Logger
=================

Nightwatch Logger is a Python package that offers a versatile logging utility for Python applications. It simplifies log management by providing features for both file and console output. You can use this package to improve your application's logging capabilities with ease.

Features
--------

- Log messages to files and optionally to the console.
- Supports various log levels: DEBUG, INFO, WARNING, ERROR, and CRITICAL.
- Customize log file names and log levels according to your application's needs.
- Properly formats log entries with timestamps and log levels for clarity.
- Handles structured logging with dynamic data, including dictionaries, lists, strings, integers, floats, booleans, and None.
- Exception handling to gracefully manage errors during logging and message formatting.

Usage
-----

1. Import the package `from nightwatch import Nightwatch` 
2. Create an instance of the Nightwatch class `nightwatch = Nightwatch(log_file_name='app.log', log_level=logging.INFO)`

License
-------

This project is licensed under the MIT License.
lambda-agent-utils 1.0.9
Lambda utils
License: MIT


Lambda Utilities
================

Lambda Utilities is a Python package that provides utility functions for handling input and output in AWS Lambda functions triggered by various sources, including API Gateway, AWS Service Kafka, and CLI.

Features
--------

- Easily extract and format input parameters based on the trigger source.
- Send output data back to the appropriate source with proper formatting.
- Supports AWS Lambda functions for various use cases.

Usage
-----

To use Lambda Utilities in your AWS Lambda functions, follow these steps:

1. Import the `input_handler` and `output_handler` modules.
2. Use these modules to streamline input and output handling.

License
-------

This project is licensed under the MIT License.