semvec/pypi-packages huggingface dataset:
cubescramble 0.0.1
Generate scrambles for Rubik's cube and other twisty puzzles

#Cube Scramble
This is a project to generate scrambles for the Rubik's Cube and other related twisty puzzles.

##Installation
To install, run:

'''python
pip install cubescramble
'''

##Usage

'''
python
from cubescramble import *

#Generate a scramble for the original 3x3 Rubik's cube
scr=scramble3() #Retuns a string
print(scr)

#Optional arguments are length to fix the length of the scramble, number to fix the number of scrambles, and gen2 if you want 2-gen scrambles (only R and U)

#Other functions include scramble2() for the 2x2 cube, scramble4() for 4x4 and scramble5() for 5x5. These functions have the same arguments except gen2

#Examples of usage are:

scr=scramble2(length=7, number=10) #Returns a list
print(scr)
pdfextools 0.3.0
A set of extended tools to process pdf files
Requires Python: >=3.6

# PdfExTools

This package contains tools can be used to handle pdf files. 

## 1. PageNumberExtractor:

to extract physical page numbers, i.e., the page numbers printed in page (as part of content in the page), rather than the logical page numbers tracked by pdf reader or tools like pdfplumber, pymupdf, etc. This can be useful because sometimes the pdf file was excerpted from a large file, as a result, the page number showing in page can start from 135 to 145, while the total number of pages is 11 (1-11).

### 1) to install:
```
pip install PdfExTools
```

### 2) to use, do the following:
```
from pdfextools import PageNumberExtractor

pdf_file = r"./sample-pdfs/2-col-pubmed.pdf"

print("pdf_file: " + pdf_file)

extractor = PageNumberExtractor()
page_numbers = extractor.process(pdf_file)

print(page_numbers)
```

The result will be a dictionary mapping logical page numbers (base-0) to the physical ones. For example:
```
pdf_file: /sample-pdfs/2-col-pubmed.pdf
{0: 11, 1: 12, 2: 13, 3: 14, 4: 15, 5: 16, 6: 17, 7: 18, 8: 19, 9: 20, 10: 21, 11: 22, 12: 23}
```