semvec/pypi-packages huggingface dataset:
file-checksum 1.0.0
Generate and validate checksums for files
License: MIT
Requires Python: >=3.8,<4.0
Keywords: python,checksum,hash

# File Checksum

[![Tests Status](https://github.com/pbs-data-solutions/file-checksum/workflows/Testing/badge.svg?branch=main&event=push)](https://github.com/pbs-data-solutions/file-checksum/actions?query=workflow%3ATesting+branch%3Amain+event%3Apush)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/pbs-data-solutions/file-checksum/main.svg)](https://results.pre-commit.ci/latest/github/pbs-data-solutions/file-checksum/main)
[![Coverage](https://codecov.io/github/pbs-data-solutions/file-checksum/coverage.svg?branch=main)](https://codecov.io/gh/pbs-data-solutions/file-checksum)
[![PyPI version](https://badge.fury.io/py/file-checksum.svg)](https://badge.fury.io/py/file-checksum)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/file-checksum?color=5cc141)](https://github.com/pbs-data-solutions/file-checksum)

Generate checksums for files.

CVM requires that submitted data files include a checksum to verify the file has not changed. This
program will generate those checksums for either a single file, or all the files in a directory.

## Installation

Installation with [pipx](https://github.com/pypa/pipx) is recommended.

```sh
pipx install file-checksum
```

Alternatively the program can be installed with pip.

```sh
pip install file-checksum
```

## Usage

### Generate

* Arguments
  * checksum_path: Path to the directory or file for which to generate checksums [required]
* Options
  * --output-file, -o: Path to the file to same the checksums. Must be a .txt file. If no path is
  provided the output will be printed to the screen and not saved. [default: None]
  * --checksum-type, -c: The type of checksum to generate. Supported types are md5, sha1, and sha256. [default: sha256]
  * --verbose: Provides more output while running

#### Example

If we have the files `my_file_1.xml` and `my_file_2.xml` in the `home/my_files` directory, checksums
can be generated for the files by running:

```sh
checksum /home/my_files -o /home/checksums.txt
```

The will create a file called `checksums.txt` in the `/home` directory containing the following
information (hashes made up for example purposes)

```console
sha256 checksum: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 - my_file_1.xml
sha256 checksum: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 - my_file_2.xml
```

Subsequent runs pointing to the same output file will append the results to the file so checksums
from different directores can be save to the same file.
saeonobspy 0.2.0
Python package to interact with the SAEON Observation Database API
License: MIT
Requires Python: >=3.8

 # saeonobspy

[![build](https://github.com/GMoncrieff/saeonobspy/actions/workflows/main.yml/badge.svg)](https://github.com/GMoncrieff/saeonobspy/actions/workflows/main.yml) [![codecov](https://codecov.io/gh/GMoncrieff/saeonobspy/branch/main/graph/badge.svg?token=XY9X1S56DE)](https://codecov.io/gh/GMoncrieff/saeonobspy) ![PyPI](https://img.shields.io/pypi/v/saeonobspy)

saeonobspy is a Python package for interacting with the [South African Environmental Observation Network](www.saeon.ac.za) (SAEON) [observations database](http://observations.saeon.ac.za/) API. It provides a simple interface to view available datasets and download observation data.

## Installation

Install saeonobspy using pip:

```bash
pip install saeonobspy
```
## Authorisation

To use saeonobsr you need to first register an account [SAEON
observations database](http://observations.saeon.ac.za/). Once
registered you need to login and retrieve an API token from
<https://observations.saeon.ac.za/account/token>. This token will be
valid for 1 month.

Before starting set your API access token using

``` python
import os
os.environ["OBSDB_KEY"] = "xxx"
```
## Usage

Below is an example of using the package to view available datasets and download a set of observations:

```python
import geopandas as gpd
from saeonobspy import SAEONObsAPI

# Initialize the API
saeon_api = SAEONObsAPI()

# View available datasets
datasets_df = saeon_api.view_datasets()

# Filter datasets by a specific area (optional)
extent_gdf = gpd.read_file('path/to/extent/shapefile.shp')
spatial_datasets_gdf = saeon_api.view_datasets(extent=extent_gdf, spatial=True)

# Filter the datasets DataFrame based on your criteria
filtered_datasets_df = datasets_df[datasets_df['siteName'] == 'Constantiaberg']
filtered_datasets_df = filtered_datasets_df[filtered_datasets_df['description'] == 'Air Temperature - Daily Minimum - Degrees Celsius']

# Download observation data
obs_data = saeon_api.get_datasets(filtered_datasets_df, start_date='2020-01-01', end_date='2020-12-31')

print(obs_data)
```

For more information on how to use the package, please refer to the documentation in the source code.

## License

This package is licensed under the MIT License. See the LICENSE file for more information.
sphinx-social 0.0.0
A Sphinx directive for social media embeds
License: MIT
Requires Python: >=3.6.9
Keywords: skeleton,Python


sphinx-social
=============

.. image:: https://img.shields.io/badge/License-MIT-yellow.svg?logo=opensourceinitiative&logoColor=white
    :target: LICENSE
    :alt: License: MIT

.. image:: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?logo=git&logoColor=white
   :target: https://conventionalcommits.org
   :alt: conventional commit

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/psf/black
   :alt: Black badge

.. image:: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier&logoColor=white
   :target: https://github.com/prettier/prettier
   :alt: prettier badge

.. image:: https://img.shields.io/badge/pre--commit-active-yellow?logo=pre-commit&logoColor=white
    :target: https://pre-commit.com/
    :alt: pre-commit

.. image:: https://img.shields.io/pypi/v/sphinx-social?color=blue&logo=pypi&logoColor=white
    :target: https://pypi.org/project/sphinx-social/
    :alt: PyPI version

.. image:: https://img.shields.io/github/actions/workflow/status/12rambau/sphinx-social/unit.yaml?logo=github&logoColor=white
    :target: https://github.com/12rambau/sphinx-social/actions/workflows/unit.yaml
    :alt: build

.. image:: https://img.shields.io/codecov/c/github/12rambau/sphinx-social?logo=codecov&logoColor=white
    :target: https://codecov.io/gh/12rambau/sphinx-social
    :alt: Test Coverage

.. image:: https://img.shields.io/readthedocs/sphinx-social?logo=readthedocs&logoColor=white
    :target: https://sphinx-social.readthedocs.io/en/latest/
    :alt: Documentation Status

.. image:: https://img.shields.io/badge/all_contributors-0-orange.svg
    :alt: All contributors
    :target: AUTHORS.rst

Overview
--------

A Sphinx directive for social media embeds

Credits
-------

This package was created with `Cookiecutter <https://github.com/cookiecutter/cookiecutter>`__ and the `12rambau/pypackage <https://github.com/12rambau/pypackage>`__ project template.