IT WON'T PUSH

AGH
This commit is contained in:
Firepup Sixfifty 2023-04-21 01:45:37 +00:00
parent 58fc262a26
commit 8b8a439269
10 changed files with 29 additions and 3 deletions

View file

@ -1 +1 @@
{"nonce":8007497514754667753,"last_updated":{"seconds":1682009848,"nanos":223989000}} {"nonce":5305264078435694787,"last_updated":{"seconds":1682041440,"nanos":28465000}}

Binary file not shown.

View file

@ -1,6 +1,8 @@
# Firepup650 # Firepup650
Package containing various shorthand things I use, and a few imports I almost always use Package containing various shorthand things I use, and a few imports I almost always use
#### Change log: #### Change log:
###### v.1.0.2:
Random shorthand (litterally)
###### v.1.0.1: ###### v.1.0.1:
Added animated typing function, sleep shorthand Added animated typing function, sleep shorthand
###### v.1.0.0: ###### v.1.0.0:

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
package/dist/firepup650-1.0.2.tar.gz vendored Normal file

Binary file not shown.

View file

@ -1,6 +1,6 @@
[metadata] [metadata]
name = firepup650 name = firepup650
version = 1.0.1 version = 1.0.2
author = Firepup650 author = Firepup650
author_email = firepyp650@gmail.com author_email = firepyp650@gmail.com
description = Package containing various shorthand things I use, and a few imports I almost always use description = Package containing various shorthand things I use, and a few imports I almost always use

View file

@ -1,6 +1,6 @@
Metadata-Version: 2.1 Metadata-Version: 2.1
Name: firepup650 Name: firepup650
Version: 1.0.1 Version: 1.0.2
Summary: Package containing various shorthand things I use, and a few imports I almost always use Summary: Package containing various shorthand things I use, and a few imports I almost always use
Home-page: https://github.com/F1repup650/firepup650-PYPI Home-page: https://github.com/F1repup650/firepup650-PYPI
Author: Firepup650 Author: Firepup650
@ -11,6 +11,8 @@ Project-URL: replit, https://replit.com/@Firepup650/firepup650-PYPI-Package
Description: # Firepup650 Description: # Firepup650
Package containing various shorthand things I use, and a few imports I almost always use Package containing various shorthand things I use, and a few imports I almost always use
#### Change log: #### Change log:
###### v.1.0.2:
Random shorthand (litterally)
###### v.1.0.1: ###### v.1.0.1:
Added animated typing function, sleep shorthand Added animated typing function, sleep shorthand
###### v.1.0.0: ###### v.1.0.0:

View file

@ -2,6 +2,7 @@
import os, sys, termios, tty, time import os, sys, termios, tty, time
import random as r import random as r
import fkeycapture as fkey import fkeycapture as fkey
from collections import Sequence
def clear() -> None: def clear() -> None:
"""# Function: clear """# Function: clear
Clears the screen Clears the screen
@ -115,3 +116,24 @@ def sleep(seconds: float = 0.5) -> None:
# Raises: # Raises:
None""" None"""
time.sleep(seconds) time.sleep(seconds)
def rseed(seed: any = None, version: int = 2) -> None:
"""# Function: rseed
reseed the random number generator
# Inputs:
seed: any - The seed, defaults to None
version: int - Version of the seed (1 or 2), defaults to 2
# Returns:
None
# Raises:
None"""
r.seed(seed, version)
def robj(sequence: Sequence[object]) -> object:
"""# Function: robj
Returns a random object from the provided sequence
# Input:
sequence: Sequence[object] - Any valid sequence
# """
r.choice(sequence)