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
<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.108.tar.gz
(48.4 kB
view hashes)
Built Distribution
Close
Hashes for tcrutils-12.0.108-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 503c4edb29d2065f780513f97c2a1f542755e98979a3562c642ac48b04aff4a3 |
|
MD5 | d101702a5585d6fc4b4ad990aa3dea4c |
|
BLAKE2b-256 | 8118ad8907767e71cdcbdeb5bfd02ac5624107d112f3ea4dfd91a9b78dbd2658 |