semvec/pypi-packages huggingface dataset:
pyshamir 1.0.4
Python port of Shamir key Split and Combine methods from Hashicorp Vault.
Requires Python: >=3.7
Keywords: shamir,pyshamir

![pyshamir banner](https://user-images.githubusercontent.com/5201843/232241639-22034903-87c2-4bf0-9b36-2ae9a8481b71.png)

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=konidev20_pyshamir&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=konidev20_pyshamir)
[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=konidev20_pyshamir&metric=ncloc)](https://sonarcloud.io/summary/new_code?id=konidev20_pyshamir)
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=konidev20_pyshamir&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=konidev20_pyshamir)
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=konidev20_pyshamir&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=konidev20_pyshamir)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=konidev20_pyshamir&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=konidev20_pyshamir)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=konidev20_pyshamir&metric=coverage)](https://sonarcloud.io/summary/new_code?id=konidev20_pyshamir)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/konidev20/pyshamir/badge)](https://api.securityscorecards.dev/projects/github.com/konidev20/pyshamir)

## Description

Python port of Shamir key Split and Combine methods from Hashicorp Vault.

## Installation

```sh
pip install pyshamir 
```

## Usage

### Split & Combine

```py
from pyshamir import split, combine
import secrets

# generate a random secret, here secret is a 32 bytes
secret = secrets.token_bytes(32)

# set the number of shares; i.e. the number of parts to split the secret into
num_of_shares = 5

# threshold is minimum number of keys required to get back the secret
threshold = 3

# split to get a list of bytearrays which can be combined later to get back the secret
parts = split(secret, num_of_shares, threshold)

# Now, the parts be combined to get back the secret
recomb_secret = combine(parts)
```

## References

1. [Shamir Secret Sharing | Wikipedia](https://en.wikipedia.org/wiki/Shamir%27s_Secret_Sharing)
2. [Go Implementation | HashiCorp Vault](https://github.com/hashicorp/vault/tree/main/shamir)
getsitemap 0.1.5
Retrieve all URLs from a sitemap.
Requires Python: >=3.7

getsitemap
==========

.. image:: https://readthedocs.org/projects/getsitemap/badge/?version=latest
   :target: https://getsitemap.readthedocs.io/en/latest/?badge=latest
   :alt: Documentation Status

.. image:: https://badge.fury.io/py/getsitemap.svg
   :target: https://badge.fury.io/py/getsitemap
   
.. image:: https://img.shields.io/pypi/dm/getsitemap
   :target: https://pypistats.org/packages/getsitemap

.. image:: https://img.shields.io/pypi/l/getsitemap
   :target: https://github.com/capjamesg/getsitemap/blob/main/LICENSE

.. image:: https://img.shields.io/pypi/pyversions/getsitemap
   :target: https://badge.fury.io/py/getsitemap
|

getsitemap is a Python library that retrieves all of the URLs that are found in all of the sitemaps on a website.

This project may be useful if you are building a search crawler or sitemap URL status code validators.

You can read the documentation for this project on `Read the Docs <https://getsitemap.readthedocs.io/en/latest/>`_.

Installation 💻
---------------

To get started, pip install `getsitemap`:

::

   pip install getsitemap
   
Quickstart ⚡
--------------

get all URLs recursively in all sitemaps
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: python

   import getsitemap

   urls = getsitemap.get_individual_sitemap("https://jamesg.blog/sitemap.xml")

   print(urls)

get all URLs in a single sitemap
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: python

   import getsitemap

   all_urls = getsitemap.retrieve_sitemap_urls("https://sitemap")

   print(all_urls)

Code Quality
-------------

This library uses `tox`, `pytest`, and `flake8` to assure code quality.

To run code quality checks, run the following command:

.. code-block:: bash

    tox

License 👩‍⚖️
----------

This project is licensed under an `MIT License <LICENSE>`_.

Contributing 🛠️
---------------

We would love to have your help in improving `getsitemap`. Have an idea for a new feature or a bug to fix? Leave information in a GitHub Issue to start a discussion!

If you have 

Contributors 💻
---------------

-  capjamesg
rpst 0.0.2
Dummy package for Reddit Post Scraping Tool (RPST)
Keywords: reddit-crawler,reddit-scraping,reddit,reddit-api

![reddit](https://github.com/rly0nheart/rpst/assets/74001397/2319c269-0264-4a7b-9687-dbe92a1841c6)

# Reddit Post Scraping Tool (RPST)
This is a dummy package managed by the developer of **Reddit Post Scraping Tool** to prevent name squatting. The official PyPI Package/GitHub Repository name of the tool is [reddit-post-scraping-tool](https://pypi.python.org/pypi/reddit-post-scraping-tool). This package ensures that if you run `pip install rpst` knowingly or by mistake you will end up with `reddit-post-scraping-tool`, which can then be called with `rpst` (e.g `rpst --help`).
***
<a href="https://www.buymeacoffee.com/_rly0nheart"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=_rly0nheart&button_colour=40DCA5&font_colour=ffffff&font_family=Comic&outline_colour=000000&coffee_colour=FFDD00" /></a>

![me](https://github.com/bellingcat/reddit-post-scraping-tool/assets/74001397/21e0bb33-7a84-45d6-92ba-00e40891ba31)