semvec/pypi-packages huggingface dataset:
severgdocs 0.11
Jerrybuilt data exchange through Google Docs - server
License: MIT
Keywords: data,exchange


# Jerrybuilt data exchange through Google Docs - server 

## Tested against Windows 10 / Python 3.10 / Anaconda

## pip install severgdocs

```python
Updates the text content in a Google Docs document using Selenium and encrypts the new text.

This function automates the process of updating the content of a Google Docs document. It uses
Selenium to interact with the document, including navigating through iframes and updating the
text content. The updated text is encrypted using the provided password.

Args:
	text (str): The new text content to be added or updated.
	password (str): The password used for encryption.
	doclink (str): The URL of the Google Docs document.
	**kwargs: Additional keyword arguments for configuring the Chrome WebDriver.

Returns:
	str: The updated and encrypted text content of the Google Docs document.

Raises:
	Any exceptions raised during the Selenium interaction with the document.

Example:

# this module 
from severgdocs import update_text
nt = update_text(
    text="babudada",
    password="bibidudu",
    doclink="https://docs.google.com/document/d/xxxx/edit",
)
print(nt)

# client module
from clientgdocs import get_text_from_google_docs
doclink = "https://docs.google.com/document/d/xxxx/edit"
password = "bibidudu"
text = get_text_from_google_docs(doclink, password, timeout=30)
print(text)

```
clientgdocs 0.11
Jerrybuilt data exchange through Google Docs - client
License: MIT
Keywords: data,exchange


# Jerrybuilt data exchange through Google Docs - client 

## Tested against Windows 10 / Python 3.10 / Anaconda

## pip install clientgdocs

```python
This module provides a function for extracting text content from a Google Docs link
protected by a password. It uses BeautifulSoup, requests, and other libraries to
retrieve and decrypt the content.

Functions:
	get_text_from_google_docs(doclink, password, timeout=30):
		Retrieves and decrypts the text content from a Google Docs link protected by a password.

Parameters:
	doclink (str): The URL of the Google Docs document.
	password (str): The password used to decrypt the document.
	timeout (int, optional): The maximum time (in seconds) to wait for the document to load. Defaults to 30 seconds.

Returns:
	str: The decrypted text content of the Google Docs document.

Example:

# server module 
from severgdocs import update_text
nt = update_text(
    text="babudada",
    password="bibidudu",
    doclink="https://docs.google.com/document/d/xxxx/edit",
)
print(nt)

# this module 
from clientgdocs import get_text_from_google_docs
doclink = "https://docs.google.com/document/d/xxxx/edit"
password = "bibidudu"
text = get_text_from_google_docs(doclink, password, timeout=30)
print(text)

```
passprotecttxt 0.13
protects a text with a password
License: MIT
Keywords: password,encrypt


# protects a text with a password 

## pip install passprotecttxt

#### Tested against Windows 10 / Python 3.10 / Anaconda 

### Encryption: 

The encrypt_text function provides a simple and secure way to encrypt text using AES encryption with CTR mode. AES is a widely used encryption algorithm known for its security and efficiency. CTR mode provides confidentiality and allows random access to the encrypted data.

### Decryption: 

The decrypt_text function complements the encryption process by decrypting the ciphertext back to its original plaintext form. It ensures that only authorized parties with the correct password can access and decrypt the data.


## copy & paste example

	
```python
from passprotecttxt import encrypt_text,decrypt_text

plaintext = "Hello, World!"
password = "MySecretPassword"

encrypted_text = encrypt_text(plaintext, password)
decrypted_text = decrypt_text(encrypted_text, password)

print("Plaintext:", plaintext)
print("Encrypted text:", encrypted_text)
print("Decrypted text:", decrypted_text)



# output

Plaintext: Hello, World!
Encrypted text: 63F720AC7E1F72B460271B2368
Decrypted text: Hello, World!



```
terramagic 0.3.0
A automate tool for terraform projects
License: MIT
Requires Python: >=3.9,<4.0
Keywords: terraform,terramagic,python

[!["Buy Me A Coffee"](https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/miltlima)

# Terramagic CLI

Terramagic is a command-line interface tool that makes it easy to create and manage Terraform projects.

## Motivation

Creating a new Terraform project from scratch can be time-consuming and error-prone. With Terramagic, you can quickly generate a template for your project and customize it to your needs.

### Requirements

Python 3.9 or higher

### Installation

You can easily install Terramagic using pip:

```shell
pip3 install terramagic
```

### Usage

#### Creating a new project

To create a new Terraform project, use the create command:

```shell
terramagic create --name <project_name> 
```

For example, to create a project called "infra" automatically 3 environments are created ("development", "staging" and "production") and respective tfvars, run:

```shell
terramagic create --name infra
```

This will generate a new directory called "infra" with the following structure:

```code
infra
├── backend.tf
├── environments
│   ├── development
│   │   └── development.tfvars
│   ├── production
│   │   └── production.tfvars
│   └── staging
│       └── staging.tfvars
├── main.tf
├── main.tfvars
├── modules
│   ├── cluster
│   │   ├── main.tf
│   │   ├── outputs.tf
│   │   └── variables.tf
│   ├── instance
│   │   ├── main.tf
│   │   ├── outputs.tf
│   │   └── variables.tf
│   └── vpc
│       ├── main.tf
│       ├── outputs.tf
│       └── variables.tf
├── outputs.tf
├── providers
│   └── provider.tf
└── variables.tf
```

You can then edit these files to define your infrastructure resources and variables.

#### Deleting a project

To delete an existing project, use the delete command and specify the project name:

```shell
terramagic delete --name <project_name>
```

For example, to delete the "myapp" project, run:

```shell
terramagic delete --name infra
```

Help
For detailed information about available commands and options, run:

```shell
terramagic --help
```

This will display the following message:

```shell
Usage: terramagic [OPTIONS] COMMAND [ARGS]...

  ClI tool to create Terraform project

Options:
  -v, --version  Show version
  --help         Show this message and exit.

Commands:
  create  Create a new Terraform project with specified name and environment
  remove  Delete the project
```

Enjoy using Terramagic to simplify your Terraform workflow!
pydelling 1.13
Package providing a variety of utility methods for mathematical modelling
License: MIT
Requires Python: >=3.8,<3.11

 # Pydelling
Set of pre- and post-processing scripts for modelling


## Recommendations

Using and IDE like PyCharm is recommended to keep things easy. It may be useful if you need to debug your scripts,
or edit them.

Using PyCharm, you can follow the installation step and then run your scripts in pydelling env automatically.
Otherwise, you can follow the steps below to run pydelling manually. 


## Installation
Configure the conda environment running

`conda env create --file environment.yaml`

Regular pip dependencies can be found at `requirements.txt`


## Templates and Examples

Some examples of usage of pydelling may be found inside `templates` folder. Use `config.yaml` to setup data sources and 
other variables.


## Running template scripts

In order to execute pydelling, `pydelling` conda env needs to be loaded.


### Loading conda environment

`conda activate pydelling`

### Running script

Run the script and set the config file as argument. If the config file is not specified, `./config.yaml` will be taken as default.

Example: 

`python templates\interpolate_top_BC\interpolate_BC.py templates\interpolate_top_BC\config.yaml`
lp-ap-tools 0.2.2
A python decorator for creating ActionProvider RO-crates within a Globus flow
License: MIT

A simple python wrapper for generating LivePublication RO-crates during the execution of Globus Action Providers. 

This project depends on a the globus-action-provider-tools library. Install globus-action-provider-tools from https://github.com/GusEllerm/action-provider-tools.git#0.12.0/LP alongside this tool. Note the 0.12.0/LP branch.
environ-import 0.1.0
A package that allows you to import environment variables like any other module.
License: MIT
Requires Python: >=3.8.1,<4.0.0

# Environ Import

Environ Import is a python package that allows you to import environment variables from its `environ` and `envnull` modules which are dynamically typed from `.env` files.

## Quickstart

Install using pip

```
pip install environ-import
```

Once installed, you can import environment variables from the `environ` module.

```py
from environ import PATH
print(PATH)

# or

import environ
print(environ.PATH)
```

Environ Import automatically loads `.env` files using [python-dotenv](https://github.com/theskumar/python-dotenv).

Import from the `envnull` module to avoid raising `AttributeError` when importing an undefined environment variable.

## Dynamic Typing

The [stub file](https://peps.python.org/pep-0484/#stub-files) generator is automatically run when the `environ` or `envnull` modules are imported. Types are generated based on the variables found in `.env` and `.env.example` files.

If you would like type hints to be availabe as soon a change has been made to a `.env` file, Environ Import provides a watchdog to automatically regenerate stub files when a change is detected.

```
python -m environ-import
```