Skip to main content

PyLol

A Module to reduce imports

BROKEN DON'T INSTALL

Status

Current Verison: 1.0.1 Author: BXRCODES License: MIT License

Description

Python has so many packages to offer, but perhaps a bit too many. Are your imports looking messy? Well PyLol is the solution for all of that. Simply put a couple of imports rather than 100 and still get the same results!

Usage

Use PyLol for many things like Async Development and Opening Files, manipulate JSON Files, Do Maths and many more

License

MIT License See LICENSE for more details

Patch Notes

New:

Random Class was Added to the Package

INITIAL RELEASE

All new functions in define state:

ALL THE FUNCTIONS WILL HAVE THE SAME NAMES AS THEIR PROPER MODULES SO WHEN USING THEM, YOU DON'T NEED TO LEARN ANY NEW SYNTAX

Update 1.0.11

Fixed Bugs for Random Functions!

Update 1.0.1 #

  1. Added os (not all of it was complete as there was so many functions but will be completed in future updates, see below for OS Functions) functions
  2. Split each class into different files
  3. Import Statements are now like --> from Pylol.fileName import functionNames
  4. Fixed issues with random functions giving errors

OS FUNCS SO FAR

def ctermid(): os.ctermid()

def environ(): os.environ()

def environb(): os.environb()

def chdir(path): os.chdir(path)

def fchdir(fd): os.fchdir(fd)

def getcwd(): os.getcwd()

def fsencode(filename): os.fsencode(filename)

def fsdecode(filename): os.fsdecode(filename)

def fspath(path): os.fspath(path)

def fspath(): os.fspath()

def getenv(key, default=None): os.getenv(key, default)

def getenvb(key, default=None): os.getenvb(key, default)

def get_exec_path(env=None): os.get_exec_path(env)

def getegid(): os.getegid()

def geteuid(): os.geteuid()

def getgrouplist(user,group): os.getgrouplist(user,group)

def getgroups(): os.getgroups()

def getlogin(): os.getlogin()

def getpgid(pid): os.getpgid(pid)

def getpgrp(): os.getpgrp()

def getppid(): os.getppid()

def getpriority(which,who): os.getpriority(which, who)

def getreusid(): os.getresuid()

def getresgid(): os.getresgid()

def getuid(): os.getuid()

def initgroups(username,gid): os.initgroups(username,gid)

def putenv(key,value): os.putenv(key,value)

def setegid(egid): os.setegid(egid)

def seteuid(euid): os.seteuid(euid)

def setgid(gid): os.setegid(gid)

def setgroups(groups): os.setgroups(groups)

def setpgrp(): os.setpgrp()

def setpgid(pid,pgrp): os.setpgid(pid, pgrp)

def setpriority(which,who,priority): os.setpriority(which,who,priority)

def setregid(rgid,egid): os.setregid(rgid,egid)

def setresgid(rgid,egid,sgid): os.setresgid(rgid, egid, sgid)

def setresuid(ruid,euid,suid): os.setresuid(ruid, euid, suid)

def setreuid(ruid,euid): os.setreuid(ruid, euid)

Previous Update

Random Functions!

seed(a=None, version=2)

getstate()

setstate(state)

getrandbits(k)

randrange(start, stop)

randint(a, b)

choice(seq)

choices(population, weights=None, *, cum_weights=None, k=1)

shuffle(x)

sample(population, k)

random()

uniform(a,b)

triangular(low, high, mode)

betavariate(alpha, beta)

expovariate(lambd)

gammavariate(alpha, beta)

gauss(mu, sigma)

lognormvariate(mu, sigma)

normalvariate(mu, sigma)

vonmisesvariate(mu, kappa)

paretovariate(alpha)

weibullvariate(alpha, beta)

Metadata

Release files for pylol 1.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylol 1.0.12
File Size Uploaded
pylol-1.0.12.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pylol 1.0.12
File Interpreter ABI Platform
pylol-1.0.12-py3-none-any.whl Python 3 none any Details

Total release size: 9.3 kB

Release files / pylol-1.0.12.tar.gz

Download URL pylol-1.0.12.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fdc2e7c4c1b1e06e97b0d3f3751763fdf1cfef08685f9250ed604e862a26c840
BLAKE2b-256 checksum
How to use checksums
6415f161f8b0d700ced994eac3f0ff4136c12a93ff05fde0ac720477c92768be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / pylol-1.0.12-py3-none-any.whl

Download URL pylol-1.0.12-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f0dd6efdffbcdbc994143fd523334188f7f445ab433a4bcf74271c1c603accf2
BLAKE2b-256 checksum
How to use checksums
8372f9874c14fac78ca05cf2a0ad6f57026d0918637e258511b3bcaed41122ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

1.0.12 This release

2 release files

1.0.11

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page