Skip to main content

A Module to get basic modules like the Time Module and Math Modules and combine them into one so you don't need to import so many modules!

Project description

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)

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

pylol-1.0.12.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

pylol-1.0.12-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pylol-1.0.12.tar.gz.

File metadata

  • Download URL: pylol-1.0.12.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pylol-1.0.12.tar.gz
Algorithm Hash digest
SHA256 fdc2e7c4c1b1e06e97b0d3f3751763fdf1cfef08685f9250ed604e862a26c840
MD5 a327bd09bc888ea947219ac399b12542
BLAKE2b-256 6415f161f8b0d700ced994eac3f0ff4136c12a93ff05fde0ac720477c92768be

See more details on using hashes here.

File details

Details for the file pylol-1.0.12-py3-none-any.whl.

File metadata

  • Download URL: pylol-1.0.12-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pylol-1.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 f0dd6efdffbcdbc994143fd523334188f7f445ab433a4bcf74271c1c603accf2
MD5 7539d38af2e4737c669c8ed11b3092ea
BLAKE2b-256 8372f9874c14fac78ca05cf2a0ad6f57026d0918637e258511b3bcaed41122ea

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