Skip to main content

A Python Interface to Privnote service

Project description

# pyPrivnote
A Python Interface to Privnote service


#### [privnote.com](https://privnote.com): Send notes that will self-destruct after being read.

Privnote allows you to create one-time-pad encrypted, burn-after-reading notes over the internet. It's a great way to share passwords or other sensitive peices of information.

### Installation

```shell
pip install pyPrivnote
```

### Usage

Functions **create_note** and **read_note** thats all you need to use full functionality of Privnote

#### To make a simple note call function create_note.

```python
import pyPrivnote as pn

note_link = pn.create_note("Private message")
# "https://privnote.com/hl5R6EqM#UFgVC2UHD"
```

#### To read note call read_note with note link.

```python
note_text = pn.read_note(note_link)
# "Private message"
```

##### Making/reading notes with manual password.

```python
import pyPrivnote as pn

note_link = pn.create_note("Super secret message", manual_pass="12345")
# "https://privnote.com/w0q6kGlR"

note_text = pn.read_note(note_link, password="12345")
# "Super secret message"
```

#### Full functionality of privnote
**Manual password** <br>
**E-mail notification** with _reference name_ <br>
Note **self-destructs** after reading or _expire lifetime_ <br>
**Asking confirmation** before reading _(only for web reading)_

```python
import pyPrivnote as pn

note_link = pn.create_note(
"Super secret message",
manual_pass="12345",
duration_hours=5,
ask_confirm=False,
notify_email="address@domain.com",
email_ref_name="Note sent to Bob"
)
```

#### Release History

v0.0.1 - First release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyPrivnote-0.0.1a1.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyPrivnote-0.0.1a1-py2.py3-none-any.whl (9.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pyPrivnote-0.0.1a1.tar.gz.

File metadata

  • Download URL: pyPrivnote-0.0.1a1.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyPrivnote-0.0.1a1.tar.gz
Algorithm Hash digest
SHA256 03f9735a152f7976bcab5b6bee0ad3a29fe6ecb53e749a0a5a5c85b2a85878c6
MD5 c3e66b5c69952118afad15005f9537e7
BLAKE2b-256 fe6343bf71ce0302248adac8845f511b93ecba3a4adef1b0d88c1e4341b6b09b

See more details on using hashes here.

File details

Details for the file pyPrivnote-0.0.1a1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyPrivnote-0.0.1a1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 11440f9a1eeeaa0a3cb9e01fdb6c9bdfd50778e4302a76aa3b6df2b1a767e320
MD5 3b3a1aa41b5bd4de2af769163549f57a
BLAKE2b-256 d68003a76efd5ca23d43c89a83669ef93d3a8485caa840f2c716adc67daec045

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page