Skip to main content

Python secretaries you call at will, for instant py-relief.

Project description

Build Status Coverage Status

A collection of tools that support a busy project based on Python >= 3.8.

John

John is the Battler. He will serve the necessary files needed to run thepysec.

Lia

Lia is here to take a detailed look at your strings.

  • pop_wsp: Remove extra whitespace.
  • pre_slug: Prepare a string to become a wise slug.
    • 'r33a!bc' -> 'r 33 abc'.
  • fast_pre_slug: Prepare a string to become a fast slug.
    • 'r33a!bc' -> 'r 3 3 a bc'.
  • cap_sentence: Carefully capitalize first letter and remove white space
    • "O'Connor is        INVITED to UK" -> "O'Connor Is Invited To UK"

Matina

Matina performs operations on django model instances

  • pop_i18n_wsp: Apply pop_wsp for a list of fields in a given model instance.

Myriam

Myriam a mathematical kind of jelly roll.

  • validate_overlap: Receives a list of DateRange or DateTimeRange and examines if contents overlap.

Thanos

Thanos is a Django test assistant

  • get_formset_alive: Receives a formset class with data dictionary and returns a formset instance.

Otto

A pythonista who slightly bends the borders of the language

  • deep_getattr: Dives in an object by performing successive getattrs for each word in a dotted string.
  • deep_get: Dives in a dictionary by performing successive getats for each word in a dotted string.

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

thepysec-2.2.1.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

thepysec-2.2.1-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file thepysec-2.2.1.tar.gz.

File metadata

  • Download URL: thepysec-2.2.1.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for thepysec-2.2.1.tar.gz
Algorithm Hash digest
SHA256 9a7e92c495fc9eaed9b90905baf14b5bfeac080a00dbc2041f2563a9a66148cc
MD5 70dd4cdd5b085ab41891706c00caa91b
BLAKE2b-256 858555dc7ad1d67ac9771da625f5a037925b748d54f03cde9ef370d6c457f2e2

See more details on using hashes here.

File details

Details for the file thepysec-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: thepysec-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for thepysec-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2100cc2b67a7bfd3c59ac61199768d30274e11a99c6b649b31c0dd01eb4b59f
MD5 8c41bfd675e40ad579c32a7992d0fa12
BLAKE2b-256 520d77d32ae56ecd0b81d1070098e0abd479dd314832778d34fa0e8fd6395b06

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