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.128.tar.gz
(56.4 kB
view hashes)
Built Distribution
Close
Hashes for tcrutils-12.0.128-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e08f571a7204d57a9a78c797840612eec05d13aea0917c9f49be9fb28fd19659 |
|
MD5 | af7a73befc8de1d1b7b6a9594367b64d |
|
BLAKE2b-256 | 6b354c7467cd32313dd5a7d98a2b21870fac62004f595df474715928013a09e5 |