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.149.tar.gz
(61.4 kB
view hashes)
Built Distribution
Close
Hashes for tcrutils-12.0.149-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0896d016042f1c1fca36487de065b51d46bc53c09ad846e8898236c4f8477528 |
|
MD5 | 1bf550ff5006d66996255390a3008c95 |
|
BLAKE2b-256 | 4c2c8a5fc6208661096d7e4092a5f9fea65cb0e53ea6e7308e12b314d66b182a |