semvec/pypi-packages huggingface dataset:
thoryvos 1.0.5
The All-In One Cryptographic Toolkit
License: MIT
Keywords: Cryptography,Crypto,Audio Cryptography,Stagongraphy,Steganographer,Audio Steganography,Cryptographic Toolkit,File Sharing,Anonymous File Sharing

# ***thor𝜓vos***
***The all in one cryptographic toolkit.***

<a href="https://youtu.be/y7hUr5W8g2U" target="_blank" alt="Demo Video"><img src="https://i.imgur.com/NvivAey.gif" width=2500 alt="Demo Video" /></a>
*Click to watch demo video.*

You can use thor𝜓vos as a module, from the command line or through a GUI.

\
**Simply use [pip](https://pypi.org/project/thoryvos/) to install by calling the following command**.\
`pip install thoryvos`


> Currently Available Features:  \
&nbsp;&nbsp;&nbsp;Encryption & Decryption  [Pycryptodome used]\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AES256, DES3, Salsa20  \
&nbsp;&nbsp;&nbsp;Stegography using LSB\
&nbsp;&nbsp;&nbsp;Anonymous File Sharing\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The files are completely vulnerable during uploading/downloading. They are anonymous once uploaded.\
&nbsp;&nbsp;&nbsp;Macros (GUI Only)

To use the GUI, simply execute the following command:\
&nbsp;&nbsp;&nbsp;```thoryvos```

<a href="https://youtu.be/y7hUr5W8g2U" target="_blank" alt="Demo Video"><img src="https://i.imgur.com/hgJ50EK.png" alt="Demo Video" /></a>

To use the Command Line Interface, simply execute the following
&nbsp;&nbsp;&nbsp;```thoryvos [options]```

![Command Line Usage Demo](https://i.imgur.com/jhptGz2.png)

To use as a module, simply import thoryvos.\
&nbsp;&nbsp;&nbsp;```import thoryvos```

# Documentation for the module
### Start by importing the module.
```
import thoryvos
```

### For encryption/decryption:
```
thoryvos.encryptor(infile, outfile, password, mode)
thoryvos.decryptor(infile, outfile, password, mode)
```
infile -> Path to the input file (file to be encrypted)\
outfile -> Path to the output file \
password -> Must be a string\
mode -> Algorithm to be used. Must be one of these: "AES/DES/Salsa20". These are AES256, DES3 specifically.

### For file transfer:
```
location = thoryvos.anon_download(url)
url = thoryvos.anon_upload(file)
```
The input must be strings.\
On succesful upload, returns the location of the file downloaded.\
On succesful download, returns the url of the uploaded file.

### For steganography:
```
lsb, nbytes = thoryvos.hide_data(infile, outfile, datafile, lsb=None)
thoryvos.recover_data(infile, outfile, lsb=None, nbytes=None)
```
infile -> Path to the input file (file to be hidden in)\
datafile -> Path to the data file (data file to be hidden)\
outfile -> Path to the output file (name of the output file)\
On succesful hiding, returns a tuple containing lsb & nbytes values respectively. `(lsb, nbytes)`.

### Username (Github, Instagram): freakingrocky
### Made by Rakshan Sharma
bird2board 0.2.0
Convert bird based bookmarks to board based ones.
License: MIT

# bird2board
Convert bird based bookmarks to board based ones.

![Automated tests](https://github.com/ihuston/bird2board/actions/workflows/python-app.yml/badge.svg)

This tool takes raw [Twitter Bookmarks](https://twitter.com/i/bookmarks) data 
and pushes the bookmarks to [Pinboard](https://pinboard.in).

## Installation:
1. Clone this repository
2. Install with `pip`
```
#> cd bird2board
#> pip install .
```
## Usage:

First download the raw Twitter bookmarks data:

- Open the Twitter Bookmarks page
- Using Developer tools, look for Network requests starting with `Bookmarks?variables=`.
- For each of these requests, copy the response, which starts with `{"data":{`.
You can copy the response through the right click context menu.
- Save the response JSON into a new file.
- If you have more than a single screen of bookmarks, 
  scroll down to create more requests and responses. Copy these into new files in a directory.
  
Next find your Pinboard API token:

- Sign into [Pinboard](https://pinboard.in)
- Go to Settings page and select Password tab.
- Copy the API token including the username at the start.

Then use the tool to convert the bookmark data and save in Pinboard:
```
#> bird2board --help
Usage: bird2board [OPTIONS] PATH

  Save Twitter Bookmark .json file(s) at PATH (file or directory) to account
  using PINBOARD TOKEN.

Options:
  --toread / --not-toread    set Pinboard bookmarks as "to read"
  --shared / --not-shared    set Pinboard bookmarks as shared
  --replace / --no-replace   replace existing Pinboard bookmark for an URL
  -p, --pinboard-token TEXT  user token for Pinboard API  [required]
  --help                     Show this message and exit.
```
Example usage:
```
#> bird2board -p MY_TOKEN --toread ./responses/
```
Instead of providing the Pinboard API token as an option to the script, 
you can set the `$BIRD2BOARD_PINBOARD_TOKEN` environmental variable.
```
#> export BIRD2BOARD_PINBOARD_TOKEN=MY_TOKEN
#> bird2board --toread ./responses/
```

Notes: 

- The Pinboard API requires a 3 second wait between API requests, 
so submitting a large number of bookmarks can take a long time.
- The Twitter Bookmark responses captured above are from the non-public API, 
  and there will likely be breaking changes to the response structure in the future. 
  Most recent breaking change to the response data was in June 2021.