semvec/pypi-packages huggingface dataset:
swagenttools 0.3.20
A small crawler to scrape data from swranking.com and store in in the local db of the vm.
License: MIT
Requires Python: >=3.7

#######################################################  
#                                                     #
#                 SWAgent Crawler                     #
#                                                     #
#######################################################

This is a simple web crawler specifically designed to 
scrape data from swranking.com continuously in order 
to build a database with data useful enoughn to train
a ML model to make RTA draft predictions in real time.

The package contains two helper classes: 

    - USERAGENT: creates randomized user_agents to
send through the REST request t obtain data from the
websites API.

    - SEEKER: this is the actual crawler that finds
the information for us and then sends it out as a 
json object.

The package main routine focuses on a basic ETL 
schema. afte obtaining the data from the seeker object
it then transfoms the data to be in the format wanted
by the Database. Then we send it to the local db of
the VM to store for further processing by other jobs.
restricted-partition 0.1.1
Integer partitions with an optional max length
License: MIT
Requires Python: >=3.9,<4.0

# Restricted Partition

A restricted partition is the subset of an integer partition with only partitions at
or below a certain length.

~~~python
from restricted_partition import iter_partition

iter_partition(5)

# [1, 1, 1, 1, 1]
# [1, 1, 1, 2]
# [1, 1, 3]
# [1, 2, 2]
# [1, 4]
# [2, 3]
# [5]

iter_partition(5, 3)

# [1, 1, 3]
# [1, 2, 2]
# [1, 4]
# [2, 3]
# [5]
~~~

Uses the accel_asc algorithm (thank you, Jerome Kelleher), so it is pretty speedy in pure Python.

I found the algorithm at https://jeromekelleher.net/generating-integer-partitions.html.