Skip to main content

Python module by developer saivan

Project description

stern pypi PyPI - Downloads PyPI - License Total lines

stern

stern is a free and open-source library by developer saivan

Installation

pip install stern

Examples Programs

Computing the difference between creation Python and PyPI:

import stern
def sumAB(a,b):
    return a - b
print(sumAB(2003, 1991))

Written five times Hello beautiful world of programming!:

import stern
def SealN():
    n=5
    string="Hello beautiful world of programming! "
    print(string * n)
SealN()

Flip the line to the other side:

import stern
def flip():
    a = "stern"
    print(a[::-1])
flip()

Moving x and y:

import stern
def IPS():
    x = 91
    y = 56
    print(x,y)
    x, y = y, x
    print(x,y)
IPS()

Case of Letters:

import stern
def letters():
    s = "sTeRn"
    print(s.lower())
    print(s.upper())
letters()

Spelling a word:

import stern
def listletters():
    s = "stern"
    print(list(s))
listletters()

Unique or NOT unique list:

import stern
def unique():
    x = [1,9,9,1]
    if(len(x) == len(set(x))):
        print("The list is unique")
    else:
        print("The list is NOT unique")
unique()

Help

If you are just getting started with stern, you should be able to get started fairly quickly.

The online documentation stays up to date with the development version of stern on github. This may be a bit newer than the version of stern you are using. To upgrade to the latest full release, run pip install stern --upgrade in your terminal.

Contribute

Support

If you are having issues, please let us know. We have a mailing list located at: vasilsalkou@gmail.com with subject as stern.

Building From Source

If you want to use features that are currently in development, or you want to contribute to stern, you will need to build stern locally from its source code, rather than pip installing it.

Installing from source is fairly automated. The most work will involve compiling and installing all the stern dependencies. Once that is done, run the setup.py script which will attempt to auto-configure, build, and install stern.

This is how you help the stern module learn and achieve new technologies and features of the Python programming language.

License

This library is distributed under GNU LGPL version 3.0, which can be found in the file LICENSE. We reserve the right to place future versions of this library under a different license. This basically means you can use stern in any project you want, but if you make any changes or additions to stern itself, those must be released with a compatible license (preferably submitted back to the stern project).

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

stern-1.4.tar.gz (3.0 kB view hashes)

Uploaded Source

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