Skip to main content

Test library example for pypi.

Project description

Python Library

This project consists of code for creating minimal python library and deploying it to Pypi.

Operating on This Library

Installing and Using Library

Installing

You can simply run this command to install this library:

pip install py-mannerism

or add the library to requirements.txt:

py-mannerism=0.0.1

Using the library

You can use the library with this code (remember, that this is not real solving-problem library).

from pylib.commons import Mannerism

mannerism = Mannerism('Unis Badri')

print(mannerism.create())

it will show this text:

Hi Unis Badri, how are you today?

Developing with Library

This library is intended to fasten the library development, you can look at this as starter kit for library development. So you can add you own structure and library and doing your own library development on it.

These are some useful information when developing library with this repository.

Running Unit Test

pytest

Running Code Coverage

pytest --cov-report html --cov-report term --cov=pylib tests/

Running Static Analysis

To run static analysis using flake8, run this command:

flake8 --config=.flake8 --count --statistics pylib/

Adding Status Check for Pull Request

You can add status check to the target branch on Pull Request in the .github/workflows/onpush-ci.yml. The name of the workflow Status Checks will be:

build-ci (3.6)
build-ci (3.7)
build-ci (3.8)

Please refer to github documentation to create status check in github repository.

Other Library Project

I create other library projects in various programming language. The purpose of these projects are to ease engineers to create their own library.

Any suggestions can be sent to my email at unis.badri@elementcreativestudio.com or uzumaki.unis@gmail.com.

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

py-mannerism-0.0.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

py_mannerism-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file py-mannerism-0.0.1.tar.gz.

File metadata

  • Download URL: py-mannerism-0.0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for py-mannerism-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a9ebc9c7f3503c8cc3a0f2e43086e0baaed65169b9bfe95d6e68979f193651e9
MD5 94b1de5a638d9e814a3d22a3fdbc57a4
BLAKE2b-256 800d1a1f6aca429ae20b0b9518630027cadc4c2369e478d5a1fb45560170f42f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_mannerism-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for py_mannerism-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 03977583bd3a73e4aab495c0e7aceed201b7210c13937dd07a00d38b4369a760
MD5 7859e22e289216f8435e94875c3e66a0
BLAKE2b-256 58571bc1595a0761e0f7dca92299aa93eafb5370392df80897f414fa7178081d

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