semvec/pypi-packages huggingface dataset:
StreetSolarTrack 0.0.8
A Street View Image Processing and Solar Loaction package
Requires Python: >=3.8

# Street View Image Processing and Solar Loaction Library

This library provides a `Photo` class to handle basic street view image processing tasks, including reading images, displaying them, and retrieving image file details.

## Features

- Read and display images
- Get image dimensions (width and height)
- Get image file size

## Installation

1. Ensure you have Python installed.
2. Install the Pillow library if you haven't already:

   ```bash
   pip install pillow
   ```
3. Download or clone this repository.
4. Include the street_view directory in your project.

## Usage
Here is a basic example of how to use the `Photo` class:
```python
from StreetSolarTrack.utils.photo import Photo

# Create a Photo instance and read an image
photo = Photo('path_to_your_image.jpg')

# Display the object's string representation
print(photo)

# Show the image
# photo.show_image()


# Get and print the image dimensions
print(f"Image size (width, height): {photo.get_image_size()}")

# Get and print the file size
print(f"File size (bytes): {photo.get_file_size()}")

```
## API Documentation

## API Documentation

### `Photo`

#### `__init__(self, file_path=None)`

Initialize a `Photo` instance.

- `file_path` (str, optional): The path to the image file. If provided, the image will be read during initialization.

#### `read_image(self, file_path)`

Read an image from a file path.

- `file_path` (str): The path to the image file.

Raises:
- `FileNotFoundError`: If the file does not exist.

#### `show_image(self)`

Display the image using the default image viewer.

#### `get_image_size(self)`

Get the size (width, height) of the image.

Returns:
- Tuple (int, int): The width and height of the image.

Raises:
- `ValueError`: If no image is loaded.

#### `get_file_size(self)`

Get the file size of the image in bytes.

Returns:
- int: The file size in bytes.

Raises:
- `ValueError`: If no file path is provided.

#### `__repr__(self)`

Return a string representation of the `Photo` instance.


## Dev
This lib is build under the guide of :
- https://packaging.python.org/en/latest/tutorials/packaging-projects/
  - https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#writing-pyproject-toml
hdltools 0.1.1
HDL Delta Sharing Utilities
Requires Python: >=3.7

# HDL Tools

This repository contains command line code for creating

1. SAP authorized certificates
2. HDL instances
3. test data (Delta lake) for one or many instances
   1. ``hdlgenspark``  - using a local spark installation (many instances)
   2.``hdlgen`` - WiP: using plain python with deltalake package and uploading result to 1 hdl instance
4. Policies for an HDL instances
5. Shares for Delta Sharing
6. Delta Sharing client that support certificate and token authentication

It uses the published APIs for HDLFS and Service Manager. 


Content

1. [sapcert - Support creating certificates and showing details of certificates](docs/SAPCertificateService.md)
2. [hdlinst - Creating hdl instances and providing information](docs/SetupHDLFS.md)
3. [hdlfscli - Comments to the official SAP HDL client tool](docs/hdlfscli.md)
4. [hdlshare - Create delta sharing entries in hdl-instance catalog](docs/hdlsharesetup.md)
5. [hdlpolicy - Manage hdl policies used by web-hdlfs, catalog and delta sharing](docs/hdlpolicysetup.md)
6. [hdlclient - Delta Sharing client](docs/hdldeltasharing.md)


## Installation of hdltools

1. clone the repostory
2. Run ``python -m build; pip install . ``

It is open if we should upload the code to **pypi.org**.

Then the installation would just be:
```shell
pip install hdltools
```

## URL Compositions

### Catalog API

<instance-uuid>.files.hdl.<hld-cluster-endpoint>/catalog/v2
<instance-uuid>.files.hdl.<hld-cluster-endpoint>/policies/v2


### Audience in JWT
<instance-uuid>.files.<hld-cluster-endpoint>

### Delta Sharing

- Token Access: <instance-uuid>.sharing.hdl.<hld-cluster-endpoint>/shares/v1/
- Cert Access: <instance-uuid>.files.hdl.<hld-cluster-endpoint>/shares/v1/