semvec/pypi-packages huggingface dataset:
cottontaildb-client 0.16.7
A Cottontail DB gRPC client.
Requires Python: >=3.8

# Cottontail DB gRPC Python Client

[![pypi](https://img.shields.io/pypi/v/cottontaildb-client.svg)](https://pypi.org/project/cottontaildb-client/)
[![Python package workflow](https://github.com/Spiess/cottontaildb-python-client/actions/workflows/python-package.yml/badge.svg)](https://github.com/Spiess/cottontaildb-python-client/actions/workflows/python-package.yml)

A Cottontail DB gRPC client for Python. Built with [Cottontail DB Proto](https://github.com/vitrivr/cottontaildb-proto)
version `0.14.3`. Comes with an interactive CLI for remote DB access.

Versions are numbered such that the first two numbers correspond with those of the compatible Cottontail DB Proto.

## Installation

Clone and install locally, or with `pip install cottontaildb-client`.

## Usage

Running the interactive CLI is as easy as `cottontaildb-client [--port PORT] HOST`.

Example usage in scripts:

```python
from cottontaildb_client import CottontailDBClient, Type, Literal, column_def

with CottontailDBClient('localhost', 1865) as client:
    # Create schema
    client.create_schema('example_schema')
    # Define entity columns
    columns = [
        column_def('id', Type.STRING, nullable=False),
        column_def('value', Type.INTEGER, nullable=True)
    ]
    # Create entity
    client.create_entity('example_schema', 'example_entity', columns)
    # Insert entry
    entry = {'id': Literal(stringData='test_1'), 'value': Literal(intData=1)}
    client.insert('example_schema', 'example_entity', entry)
    # Insert batch
    columns = ['id', 'value']
    values = [
        [Literal(stringData='test_10'), Literal(intData=10)],
        [Literal(stringData='test_20'), Literal(intData=20)],
        [Literal(stringData='test_null'), Literal()]
    ]
    client.insert_batch('example_schema', 'example_entity', columns, values)
```

## Developing

To update the gRPC client, regenerate `cottontaildb_pb2.py`, `cottontail_pb2.pyi`, and `cottontaildb_pb2_grpc.py` from the proto definitions
file in the [Cottontail DB](https://github.com/vitrivr/cottontaildb) repository.

The following is an approximate guide on how to do so from a terminal:

```bash
# Get the latest version of the Cottontail DB proto (and download to cottontaildb_client directory)
wget https://github.com/vitrivr/cottontaildb/raw/master/cottontaildb-client/src/main/protobuf/cottontail.proto -P ./cottontaildb_client/
# Install necessary python packages
pip install grpcio grpcio-tools
# Generate the gRPC client
python -m grpc_tools.protoc -I. --python_out=. --pyi_out=. --grpc_python_out=. ./cottontaildb_client/cottontail.proto
```

It is important that the path to the `cottontail.proto` file reflects the location of the gRPC Python files, such that
the imports can be generated correctly.
nomad-camels-driver-cryovac-tic-500 0.1.0
Device driver for the Agilent 34401A digital multimeter.
Requires Python: >=3.9.6

# NOMAD-CAMELS Driver for CryoVac TIC 500

Driver of the CryoVac TIC 500 temperature controller written for the measurement software [NOMAD-CAMELS](https://fau-lap.github.io/NOMAD-CAMELS/).

## Features
Support of reading and setting parameters of the TIC 500.
To use the parameters, enter their name as shown in the display of the TIC 500 in the settings.


## Documentation

For more information and documentation visit the NOMAD-CAMELS [documentation](https://fau-lap.github.io/NOMAD-CAMELS/doc/instruments/instruments.html).
simple-password-manager 0.0.4
A simple password manager
Keywords: python, password, manager, simple, cli, security

# Simple Password Manager
[![PyPI version](https://badge.fury.io/py/simple-password-manager.svg)](https://badge.fury.io/py/simple-password-manager)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)


## Overview
Simple Password Manager is a lightweight and secure Python package for managing passwords. It allows users to store, retrieve, and manage their passwords securely using encryption with a single master password. It supports two types of storage: local storage and cloud storage. The package provides a command-line interface (CLI) for easy management of passwords.

## Features
- **Encryption:** All passwords are encrypted using a master password.
- **Secure Storage:** Passwords are stored in a secure format locally or in the cloud.
- **Command-Line Interface:** Easy to use CLI for managing passwords.
- **Custom Password Generation:** Generate secure passwords on the fly.
- **Log and Backup System:** Keeps track of changes and allows for easy backup.

## Installation
Install the package using pip:

```bash
pip install simple-password-manager
```

## Usage

### Command-Line Interface (CLI)
The Simple Password Manager can be used directly from the command line with the following commands:

1. **Start in Online or Offline Mode:**
   - For online use, where your passwords are stored securely in the cloud:
     ```bash
     spm mode -o
     ```
   - For offline use, where your passwords are stored locally:
     ```bash
     spm mode -f
     ```

2. **Create an Account:**
   - Once the mode is selected, sign up by creating an account:
     ```bash
     spm signup <username>
     ```

3. **Manage Your Passwords:**
   - After creating an account, you can begin managing your passwords with the following commands:
     - **Add a new password:**
       ```bash
       spm add <service> <username>
       ```
     - **Retrieve a password:**
       ```bash
       spm get <service>
       ```
     - **Update an existing password:**
       ```bash
       spm update <service>
       ```
     - **Delete a password:**
       ```bash
       spm delete <service>
       ```

### Python Integration
You can also use Simple Password Manager directly in your Python code:

```python
from simplepasswordmanager import Manager, OfflineManager, OnlineManager

# Initialize the manager
manager = Manager(master_password="your_master_password")

# Example usage:
manager.add_password("gmail", "your_email@gmail.com", "your_password")
password = manager.get_password("gmail")
print(f"Retrieved password: {password}")
```

## Notes
- If you have your own solution to store your passwords on the cloud, you can modify where the package stores your passwords online by updating the settings in setting.py.

## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.