Skip to main content

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 format 1d + 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.152.tar.gz (63.4 kB view hashes)

Uploaded Source

Built Distribution

tcrutils-12.0.152-py3-none-any.whl (75.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page