semvec/pypi-packages huggingface dataset:
CeasersCipher 0.0.1
Hi

# CeasersCipher Documentation

## Introduction 

This is a simple python package built to Encrypt and Decrypt text using the Ceaser's Cipher.

## Installation

Install the CeasersCipher package using PIP

```python
pip install CeasersCipher
```

## Usage

```python
# Import The Ceaser Class From The CeasersCipher Module
from CeasersCipher import Ceaser

# Encrypt Your Text Using Ceaser.encrypt('your_text_here',shift_value)
print(Ceaser.encrypt("Aaron Fritz",10))

# If You Don't Specify Shift Value In The Function For Encryption, The Default Shift Will Be 10
print(Ceaser.encrypt("Aaron Fritz",10))

# Decrypt Your Text Using Ceaser.decrypt('your_text_here',shift_value)
print(Ceaser.decrypt("Kkbyx Pbsdj",10))

# If You Dont Know The Shift Value, Decrypt Your Text Using Ceaser.decrypt('your_text_here') for Brute Force Decryption
print(Ceaser.decrypt("Kkbyx Pbsdj"))
```
tweet-suite 1.1.4
Collect and save daily Twitter data from Wales using Twitter's Academic API.
Requires Python: >=3.6,<3.10

# Tweet Suite

[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![DOI](https://zenodo.org/badge/393027802.svg)](https://zenodo.org/badge/latestdoi/393027802)

This package, when run, will execute a query every day that collects all tweets from Wales for the past 7 days (if running for the first time), or since the last tweet collected.
It uses Twitter's V2 API. 

When run it will set up an SQLite3 database in the location specified to the main script which saves tweets, their basic information and their sentiment scores from the [VADER sentiment algorithm](https://github.com/cjhutto/vaderSentiment) in a table called `tweets`.  
A table called `places` then saves the geo expansion information requested in the query.  
Finally, a table called `matchedplaces` saves the result of each place matched to a Welsh local authority using an algorithm defined in the `tweets/geo.py` file. 

## Authors  

This package was written by [ninadicara](https://github.com/ninadicara), [altanner](https://github.com/altanner), and [leriomaggio](https://github.com/leriomaggio). 

## Good to know  

### API Tokens  
This uses the academic API, so you need an approved account with a bearer token.  
If you'd like this to work out the box then you'll need to set 
the bearer token as an environment variable called `SEARCHTWEETS_BEARER_TOKEN`. 

### Query  
Currently the query returns tweets with basic information and requests the geo expansion.  
If you change the query you'll also need to edit the SQL tables and data entry functions. 
These are in `tweets/database.py`, called `create_tweets_tables()` and `add_tweet_json()`. 

### Database  
The database is SQLite3, for ease and as an alternative to CSV.
The schema for the database can be seen in the setup functions as part of the `Database` class in `tweets/database.py`. 
There is a foreign key between `place_id` in the `tweets` and `matchedplaces` tables that link to the primary `id` entry in the `places` table. 

## Data statement  

Source: Office for National Statistics licensed under the [Open Government Licence v.3.0](http://www.nationalarchives.gov.uk/doc/open-government-licence).  
Contains OS data © Crown copyright and database right 2019.  
This package uses [boundary data of Welsh Local Authorities](https://geoportal.statistics.gov.uk/datasets/local-authority-districts-december-2019-boundaries-uk-buc) (see `utils/la_keys.geojson`).
bookfolder 0.5
Convert an image into a bookfolding pattern
Requires Python: >=3.6

# Create Your Own Bookfolding Patterns

This tool allows you to generate bookfolding patters from images.

Each color of pixels in the image must correspond to one fold depth in the
scuplture, with each horizontal pixel corresponding to one sheet of paper in
the book and each vertical pixel to one "measurement interval" along the edge
of the book.

If you use a traditional ruler, this measurement interval can be e.g. 1.0 mm,
corresponding to the spacing between the markings in the ruler, or if you feel
you can comfortably eyeball the midpoint between two markings, you can use 0.5
mm instead. For special tools, such as Incra rulers, the interval can be even
shorter.

If your pattern has less sheets than your book has pages, or the book you use
has pages without numbers, you can also set a custom start page for the
pattern, so that the first sheet in the pattern is e.g. page 5 or "page -3".


## Example

To create a pattern, you need a two-color image. The dimensions of the image
must be compatible with the book you intend to use: each horizontal pixel
corresponds to one sheet of paper in the book you are folding. You must also
ensure that the image is not too high for your book. In this example, we will
use [examples/hearts-342x315.png](hearts-342x315.png)).

The image is 342 pixels wide, so we'll need a book with at least 648 pages.
Let's assume that the book we intend to fold has 700 pages, meaning that there
will be a total of 8 sheets of paper in the book that do not belong to the
pattern. We want to divide them evenly so that the pattern sits in the middle
of the book, thus starting the pattern after the fourth sheet of paper in the
book. Thus, given that the book does not have unnumbered pages, the pattern
will start at page number 8.

Let's also assume that we are able to make the folds at 0.5 mm precision,
meaning that each vertical pixel in the pattern corresponds to 0.5 mm along the
edge of the book. This means that the height of the pattern along the edge of
the book is 15.75 cm, which fits nicely in our imaginary book that is 16 cm
high.

With this information, the pattern can be created using the command
```
bookfolder-cli --measurement-interval 0.5 --start-page 8 examples/hearts-342x315.png pdf-pattern examples/hearts.pdf
```
or by providing the corresponding information to the grapical version of the
program. The resulting pattern can be found in
[examples/hearts.pdf](examples/hearts.pdf).


## Requirements

This software has been tested on Python 3.6, but will likely run on other
versions of Python 3 too. If you use the graphical user interface, you also
need to have `python3-tkinter` installed.


## Installation

```pip install bookfolder```

## Usage

### Windowed mode

After installing, you can start the program with command `bookfolder`.

### Command-line use

See `bookfolder-cli --help` for information about available commands and their
invocation.



## License

This software is licensed under [GNU General Public License v3.0](LICENSE.md).