Useful stuff for TCR projects!
Project description
TCRUtils
Useful stuff for tcr projects.
Todo
- if in timestr.to_int() there are both and only 1 each of: x.y.z and a:b:c syntaxes then
days -= 1
-
to_str2
which shows in format1d + 23:45:57
- update gp_scum.py to use tcrutils from pypi
-
timestr.to_int()
should support weekdays - Add all docstrings
- Fix floats not recognized and negative numbers not recognized
- Also weekdays now need
days -= 1
(((number_of_date_syntaxes) ^ (number_of_weekday_syntaxes) == 1) and
) - Add docstring to dict_zip and others
- make docstrings use <h1> // ###
- Add optional syntax highlighting to print_iterable
- Rewrite print_iterable, maybeeee?
- dir2()
- add IFYs to discord.string
-
add Components[] constructor (returns both view and view.build()) - tcr.insist()
- Move the printer decorator into decorators file
- Add doc to fmt_iterable when done
- Fix when trailing_commas=False breaks 1-element tuples
- Test ifys
- Fix exception groups crashing extract_error
<style>s{color: crimson;} b,strong{text-decoration:underline}</style>
<style>p, li{font-family: "Hubot Sans Bold"; font-size: 17px}</style>
<style>code, pre{font-family: Consolas}</style>
<style>code{background-color: #271a45; border-radius: 4px; padding: 2px; padding-left: 5px; padding-right: 5px;}</style>
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
tcrutils-12.0.127.tar.gz
(56.2 kB
view hashes)
Built Distribution
Close
Hashes for tcrutils-12.0.127-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d165d69b3cb1d823387d9b8db1e9ae7ddea25aa87ce4a931b893c553be21925 |
|
MD5 | 79752b34f1a83f9f02ea16602a5f3f0d |
|
BLAKE2b-256 | ff35124a2de855e03ff2a943f0f31a1370460fe23ef5616cb8c150fd496af7a7 |