semvec/pypi-packages huggingface dataset:
Cryptizia 0.2.1
A Python library for various cipher techniques including the Caesar cipher and Playfair cipher examples.
Requires Python: >=3.6

# Cryptizia

Cryptizia is a Python library for various cipher techniques including the Caesar cipher. 

## Installation

You can install the library using pip:

```bash
pip install cryptizia

```
## How to use in Code

### Caeser Cipher

```python

from cryptizia import CaesarCipherExample

CaesarCipherExample()
```
### Customization
You can customize the 'shift' and 'plaintext' directly in the constructor if you want different values:
```python
# Example with custom shift and plaintext
cipher = CaesarCipherExample(shift=5, plaintext="WORLD")
```
You can encrypt and decrypt whole file using Caeser Cipher class
```python

from CaeserCipher import CaesarCipher

# Example usage with a file
def encrypt_file(input_file, output_file, shift):
    cipher = CaesarCipher()
    
    # Read the content of the input file
    with open(input_file, 'r') as file:
        file_content = file.read()
    
    # Encrypt the content
    encrypted_content = cipher.caesar_encrypt(file_content, shift)
    
    # Write the encrypted content to the output file
    with open(output_file, 'w') as file:
        file.write(encrypted_content)

def decrypt_file(input_file, output_file, shift):
    cipher = CaesarCipher()
    
    # Read the content of the input file
    with open(input_file, 'r') as file:
        file_content = file.read()
    
    # Decrypt the content
    decrypted_content = cipher.caesar_decrypt(file_content, shift)
    
    # Write the decrypted content to the output file
    with open(output_file, 'w') as file:
        file.write(decrypted_content)

# Example: Encrypting and decrypting a file
encrypt_file('example.txt', 'encrypted.txt', 3)  # Encrypt 'example.txt' with a shift of 3 and save it as 'encrypted.txt'
decrypt_file('encrypted.txt', 'decrypted.txt', 3)  # Decrypt 'encrypted.txt' with a shift of 3 and save it as 'decrypted.txt'
```

### Playfair Cipher

```python

from cryptizia import PlayfairCipherExample

PlayfairCipherExample()
```
az-blob-stacio 0.1.2
An implementation of `pystac`'s `StacIO` for reading static STACs stored in Azure Blob Storage.
Requires Python: >=3.10

# Azure Blob Storage `StacIO`

[![PyPI version](https://badge.fury.io/py/az-blob-stacio.svg)](https://badge.fury.io/py/az-blob-stacio)
![CI](https://github.com/bmcandr/az-blob-stacio/actions/workflows/ci.yml/badge.svg)
[![codecov](https://codecov.io/github/bmcandr/az-blob-stacio/graph/badge.svg?token=CEJTBDWZZE)](https://codecov.io/github/bmcandr/az-blob-stacio)
![GitHub License](https://img.shields.io/github/license/bmcandr/az-blob-stacio)

An implementation of `pystac`'s `StacIO` for reading static STACs stored in Azure Blob Storage. See [the pystac docs](https://pystac.readthedocs.io/en/stable/concepts.html#i-o-in-pystac) for more info.

## Installation

Either:

* `pip install az-blob-stacio`
* `uv add az-blob-stacio`

## Usage

Set the global default `StacIO` to `BlobStacIO`:

```python
import os

from az_blob_stacio import BlobStacIO

BlobStacIO.conn_str = os.environ["AZURE_STORAGE_CONNECTION_STRING"]

pystac.StacIO.set_default(BlobStacIO)

catalog = pystac.Catalog.from_file("https://myaccount.blob.core.windows.net/mycontainer/catalog.json")
```

Or use a context manager to temporarily set `BlobStacIO` as the default `StacIO` and reset to `DefaultStacIO` upon exiting the context:

```python
import os

from az_blob_stacio import BlobStacIO, custom_stacio

BlobStacIO.conn_str = os.environ["AZURE_STORAGE_CONNECTION_STRING"]

with custom_stacio(BlobStacIO):
    catalog = pystac.Catalog.from_file("https://myaccount.blob.core.windows.net/mycontainer/catalog.json")
```

Overwrite behavior is configurable by setting `BlobStacIO.overwrite` (defaults to `True`).

### Credentials

Azure Blob Storage credentials can be provided by setting either of the following class variables:

* `BlobStacIO.conn_str`: a [connection string](https://learn.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string#configure-a-connection-string-for-an-azure-storage-account) for the Azure storage account. Checks for `AZURE_STORAGE_CONNECTION_STRING` in your environment by default.
* `BlobStacIO.credential`: a [credential](https://learn.microsoft.com/en-us/python/api/overview/azure/identity-readme?view=azure-python#credentials) that provides access to the storage account hosting the static STAC.

    ```python
    from azure.core.credentials import AzureSasCredential

    BlobStacIO.credential = AzureSasCredential("my-sas-token")
    ```
cppbinder 1.4.2.5
Binder, tool for automatic generation of Python bindings
Requires Python: >=2.7

# Binder

**Binder** is a tool for automatic generation of Python bindings for C++11 projects using [Pybind11](https://github.com/pybind/pybind11) and [Clang LibTooling](http://clang.llvm.org/docs/LibTooling.html) libraries.  That is, Binder, takes a C++ project and compiles it into objects and functions that are all usable within Python.  Binder is different from prior tools in that it handles special features new in C++11.

[![Documentation Status](https://readthedocs.org/projects/cppbinder/badge/?version=latest)](http://cppbinder.readthedocs.org/en/latest/?badge=latest)
![](https://github.com/RosettaCommons/binder/workflows/build/badge.svg)

Reference documentation is provided at
[http://cppbinder.readthedocs.org/en/latest](http://cppbinder.readthedocs.org/en/latest).
A PDF version of the manual is available
[here](https://media.readthedocs.org/pdf/cppbinder/latest/cppbinder.pdf).