semvec/pypi-packages huggingface dataset:
passgate 0.2.1
Generate client-side webpages that serve password-protected redirects.
License: MIT
Requires Python: ~=3.6

# Passgate

Passgate is a simple Python script to create no-nonsense client-side web pages that supply
a password-protected redirect.

The web pages are 100% client side, no server-side logic required. The redirect is encrypted,
and the password is used to decrypt the redirect on the client-side (see Encryption Details below for information).

The web pages will only work on web browsers that implement the TextEncoder/TextDecoder APIs and the
Web Cryptography API, which is practically all major web browsers.

**DISCLAIMER:** I am not a cybersecurity expert. However, this program is extremely simple and isn't super
complicated at all.

## Installation

Passgate can be installed via PyPI:
```
pip install passgate
```

## Installation (Development)

```
git clone https://tildegit.org/zce/passgate
cd passgate
pip install -e .
```

## How to use
Passgate outputs an HTML file that contains a partly hand-minified script.

To run Passgate, run:
```
passgate -u <url> -p <password> -o <output file>
```

Where:
* `<url>` is the redirect URL to serve.
* `<password>` is the password to use for the encryption.
* `<output file>` is the path to output the HTML file.

**NOTE**: URL should contain a URL scheme prefix such as "https://".
Otherwise, the redirect will become a relative redirect to the path of the page, which is usually not desirable.

Alternatively, the help page for Passgate can be outputted by running:
```
passgate --help
```

An alternative way to access Passgate is to run it as a Python module:
```
python3 -m passgate ...
```

## Encryption details

The redirect is encrypted with AES-GCM, using a 128-bit key derived from the password using PBKDF2 at
100,000 iterations with a salt.

## License
This project is licensed under the MIT License. See the [LICENSE](https://tildegit.org/zce/passgate/src/branch/master/LICENSE) file for details.

## TODO
- Clean up the code a little bit
moduletesting 0.0.2
A simple calculator to test the creation of a python module
License: MIT

A very simple test project to desmonstrate how to publish a module on pypi

This module is meant to run on Python3. The presented calculator performs:

    -Additions
    -Substractions
    -Multiplication
    -Division

It will be enhence over time, or I might just build something else :) 


Change log
===========

0.0.2 (09/12/2020)
--------------------
-First release (Minor modification)

0.0.1 (09/12/2020)
--------------------
-First release