Skip to main content

A few functions to teach Python and PIP

Project description

Example package for teaching pip usage with Python

This package contains a module lfuncs that has the following functions:

  • find_startswith_in_list(prefix, list) given a prefix and a list, this functions will return a list with all the elements in provided list that start with the provided prefix. The function assumes prefix and all list elements are strings.

  • find_endswith_in_list(suffix, list) given a suffix and a list, this functions will return a list with all the elements in provided list that end with the provided suffix. The function assumes suffix and all list elements are strings.

  • split_lists(list, prefix) given a prefix and a list, this functions will return two lists, one that contains all elements that start with the provided prefix and one with all other elements. The function assumes prefix and all list elements are strings.

  • joke() prints a joke.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

example-lfuncs-0.1.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

example_lfuncs-0.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file example-lfuncs-0.1.tar.gz.

File metadata

  • Download URL: example-lfuncs-0.1.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for example-lfuncs-0.1.tar.gz
Algorithm Hash digest
SHA256 716c38be1b387b165fb9828c42578b27dd84e9bb23b957afc6aa10612c423f1f
MD5 5f605c62f29604efbfd9e5b2c269959a
BLAKE2b-256 3ea9b9dfa86b63ecae22173559b0509650953a04cc4c1a9b07e697a2edd121a6

See more details on using hashes here.

File details

Details for the file example_lfuncs-0.1-py3-none-any.whl.

File metadata

  • Download URL: example_lfuncs-0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for example_lfuncs-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5c281020a5cc27102c0c067bc5e888a150ed44900c5433c2adfb9aa6ceb4bc5a
MD5 425892a777b8bf2f583c2f06202ab92b
BLAKE2b-256 6593edc31c67d806cc17b2d408e881af206510f18caa15a969f34c9e23f87cd8

See more details on using hashes here.

Supported by

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