Skip to main content

A package full of useful features

Project description

Scorpii

How To Use

1: Install Scorpii by running pip install Scorpii

2: Use import Scorpii in your code

3: Your all set and ready to use Scorpii

Functions

Scorpii.file2

file2.read(name)

Returns the contents of the file with directory 'name'(string)

file2.write(name,text)

Writes 'text'(string,int,float) to the file with directory 'name'(string)

file2.append(name,text)

Appends 'text'(string,int,float) to the file with directory 'name'(string)

file2.table_read(name)

Returns the contents of the file with directory 'name'(string) as a list

IMPORTANT Data must have been saved with table_write()

file2.table_write(name,list)

Writes 'list'(list) to the file with directory 'name'(string) using specific list file formatting

file2.table_append(name,list)

Appends 'list'(list) to the file with directory 'name'(string) using specific list file formatting

file2.remove(file)

Removes the file with directory 'file'(string)

Scorpii.number

number.root(num,root)

Returns the 'root'(int, float) root of 'num'(int,float)

E.g:

print(root(8,3)):

2

number.prime(num)

Returns 'True' if 'num'(int) is a prime number and 'False' if it is not

number.prime_list(start_num,end_num)

Returns a list of prime numbers between 'start_num'(int) and 'end_num'(int) inclusive

number.factorial(num)

Returns the factorial of 'num'(int)

Scorpii.time2

time2.wait(num)

Pauses the program for 'num'(int,float) amount of seconds

time2.stopwatch_start(id)

Starts a stopwatch with id = 'id'(int) -- If is unique to each running stopwatch

time2.stopwatch_stop(id)

Returns the time on the stopwatch with id = 'id'(int) -- Can be used multiple times

time2.timer(time,func)

Asynchronously waits for time(int,float) seconds before calling the 'func'(funciton) function

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scorpii-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Scorpii-0.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file scorpii-0.0.1.tar.gz.

File metadata

  • Download URL: scorpii-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for scorpii-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3172b70a5f4a342afccce31ed16a0343c8ceb47d83aa543935d0b95c0dc645e4
MD5 556a7bf374816fcb9a03a2faa32664a3
BLAKE2b-256 f0230c5f042ab3b0a950ba6572e349666b8dee8e9d6e572d2ccc60e0da9841d5

See more details on using hashes here.

File details

Details for the file Scorpii-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: Scorpii-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for Scorpii-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4e623b4a4011aa70932989d6fb66ca4d3b3b5bc8e189711e1c3cef4c8027a082
MD5 59dc94384d94fc37990530c9c47b9de1
BLAKE2b-256 011c75775b7a995861ef29318c4bc0d17424e4415ef5f659bb5a12f9bf8f8e87

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page