Skip to main content

decorate text, etc

Project description

평소 귀찮았거나 불편했던 것들을 모아놓은 라이브러리

print를 꾸미는 방식 등을 편하게 해주는 라이브러리입니다.

(이외의 기능은 차후 추가 예정)


printd

printd는 print를 꾸며주는(decorate)해주는 기능이다. 주요 기능은

  • 글자에 색 입히기 기존 ANSI color코드를 원래내용 양쪽에 붙여야 하고 \e[0;31m처럼 숫자만 봐서는 색을 유추하기 힘든 문제가 있다. 하지만 이 support-dh를 쓴다면 printd('text', color='color')를 통해 색을 더 직관적이게 알 수 있고, 사용하기에도 유용해 코드를 만드는것이 편리해질수 있다.
  • 색에 기울임, 굵은 글씨 등의 추가 효과를 입히기 printd('text', more_parameter=['function'])을 통해 굵은 글씨, 밑줄 등을 첨가하여 더욱 글자를 꾸미기 용이해 질 것이다.
  • 기존 print기능또한 그대로 사용가능하다.

*sort 기능 추가

sort 알고리즘 현제4종 제공중

  • counting sort, bogo sort, radix sort, quick sort
  • 알고리즘_이름(list) -> 정렬해줌

수행평가를 위해 제작된 라이브러리 입니다.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

support_dh-0.0.13.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

support_dh-0.0.13-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file support_dh-0.0.13.tar.gz.

File metadata

  • Download URL: support_dh-0.0.13.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for support_dh-0.0.13.tar.gz
Algorithm Hash digest
SHA256 9a86148595e53b671d842b7949630aa41b791e252297e20f19b3c55ac6a4e6e6
MD5 d577e2b7fbf8f8278517e072073c37b8
BLAKE2b-256 938bf9d4bc371955811e76d9e1c51c4d283c90e13a51a88cd026b68187db4c56

See more details on using hashes here.

File details

Details for the file support_dh-0.0.13-py3-none-any.whl.

File metadata

  • Download URL: support_dh-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for support_dh-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 60ad60a870182fa2fb4a02b4bc7f5967722f98a8ec2c188b5e9aef01f0f5ce71
MD5 cee24b4560202f58fb21d79ca3a72b11
BLAKE2b-256 3d4afee84c7be6dc5d34655003f48fe910391b05316e343e81e773b82ea0ca9f

See more details on using hashes here.

Supported by

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