Skip to main content

No project description provided

Project description

Utility Functions for developers

Author: Shaon Majumder

Utilities

  • stats
  • network
  • image
  • string
  • file

Installation

pip install shaonutil

Function Usages

file

get_all_functions - shaonutil.file.get_all_functions(object/file/class)

image

network

url_encoding_to_utf_8 - url_encoding_to_utf_8(url)

stats

mean - Avearage or mean of elements - shaonutil.stats.mean(list of numbers)

median - Median of elements - shaonutil.stats.median(list of numbers)

mode - Mode of elements - shaonutil.stats.mode(list of numbers)

strings

nicely_print - Prints the nicely formatted dictionary - shaonutil.strings.nicely_print(object)

randomString - Generate a random string of fixed length

Function Usages End

Versioning

major.minor[.maintenance[.build]] (example: 1.4.3.5249)

adoption: major.minor.patch.maintenance.status.trials_for_success

The last position

  • 0 for alpha (status)
  • 1 for beta (status)
  • 2 for release candidate
  • 3 for (final) release

For instance:

  • 1.2.0.1 instead of 1.2-a1
  • 1.2.1.2 instead of 1.2-b2 (beta with some bug fixes)
  • 1.2.2.3 instead of 1.2-rc3 (release candidate)
  • 1.2.3.0 instead of 1.2-r (commercial distribution)
  • 1.2.3.5 instead of 1.2-r5 (commercial distribution with many bug fixes)

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

shaonutil-0.0.0.36.1.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

shaonutil-0.0.0.36.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file shaonutil-0.0.0.36.1.tar.gz.

File metadata

  • Download URL: shaonutil-0.0.0.36.1.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for shaonutil-0.0.0.36.1.tar.gz
Algorithm Hash digest
SHA256 e716fc924243d36835bc973a0c1526c2e4d1c88b8ea20927e15f82f93845e11e
MD5 1dafc0cbc36f3d4c1247f2078a2f8e07
BLAKE2b-256 256f5a9ea8619fcf33bb681ea78a3c0d0eafb6b869f9d413b694d90df963298c

See more details on using hashes here.

File details

Details for the file shaonutil-0.0.0.36.1-py3-none-any.whl.

File metadata

  • Download URL: shaonutil-0.0.0.36.1-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for shaonutil-0.0.0.36.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6baf2f9a87762418e204315bfd7146b8f90060eda0030204be6a9c0d4dc3d50d
MD5 3f947d117faafad37d4105fbf5bd0b80
BLAKE2b-256 c28ecd8eefb6478e101eef838d7979bd3b811bc08e83deac5109f42d8b0448b2

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