Python secretaries you call at will, for instant py-relief.
Project description
A collection of tools that support a busy project based on Python >= 3.6.
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
: Applypop_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
Release history Release notifications | RSS feed
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.tar.gz
(9.3 kB
view hashes)
Built Distribution
thepysec-2.2-py3-none-any.whl
(10.5 kB
view hashes)