Skip to main content

A Library for Web Development with ease

Project description

PyWebKit - The simplest Python Web Kit out there!

With PyWebKit, you can modernize websites with python with just one line of code. PyWebKit is super easy to use and handles everything for you. Just specify what website you want to call and what media you want to receive back, and the rest is done for you.

Overview

The PyWebKit Python caller was written with fast use in mind. It provides the following key features

  • call methods - Every function has its own property.
  • The most common call activities (CSS generator) are already implemented
  • Receive special file type .css
  • newlines integrated, now you can print newlines just by calling "newline1()" and upto 12 lines

Usage

In the following paragraphs, I am going to describe how you can get and use PyWebKit for your own projects.

Getting it

To download PyWebKit, either fork this github repo or simply use Pypi via pip.

$ pip install pywebkit

Using it

PyWebKit was programmed with ease-of-use in mind. First, import "css class maker" from PyWebKit

from pywebkit import css_class_maker

		# OR

from pywebkit import *

And you are ready to go! At this point, I want to clearly distinct what is css class maker. It is just nothing but to create a css file with classes.

Yep, thats all. Just specify that you need to implement import functions

-- Now integrate Math functions in your pywebkit

Dowload file type (css, py)

Try out the below code

from pywebkit import css_class_maker

css_class_generator()

		# and

from pywebkit import *

css_class_generator()

		# and

from pywebkit.mathlib import *


print(add(1,5,9)) 	# Addition of n numbers
print(multiply(5,9,8)) 	# Multiplication of each number num1 * num2 * num3....

newline2() 			# two newlines

print(sqrt(15)) 		# square root of 15
print(cube(3)) 			# cube root of 3

newline2() 

print(powerof(5,2)) 	# 5 power of 2
print(div2num(50, 2))  	# 50 is a dividend and 2 is divisor

Documents will be provided in new weblink soon...

License

MIT License

Copyright (c) 2020 MOHAMED YASEEN SHERIFF S

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

pywebkit-0.2.1.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file pywebkit-0.2.1.tar.gz.

File metadata

  • Download URL: pywebkit-0.2.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for pywebkit-0.2.1.tar.gz
Algorithm Hash digest
SHA256 1127f4879a9e52dddd83891b3e99f45340808dc077c93fe1240d29ac76c94ed0
MD5 69767333b5cc496f9004cdc833cb78d6
BLAKE2b-256 c85dcf7a6bac6277da31a39e7089332a5dbee70f18285e0cdd9d39ad88739372

See more details on using hashes here.

Supported by

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