Skip to main content

윤태훈의 첫 모듈. 0.1.6 버전이 나왔습니다!, 버그 수정과 편의성 업데이트, 새로운 함수 추가!

Project description

thuny module (v0.1.5)

윤태훈의 첫 번째 파이썬 모듈입니다.
이번 0.1.5 버전에서는 다양한 버그 수정과 편의성 업데이트, 그리고 실용적인 새로운 함수들이 대거 추가되었습니다.


🚀 새로운 기능 및 함수 설명

1. AIsay

텍스트를 인공지능이 말하는 것처럼 한 글자씩 타이핑 효과를 주며 출력합니다.

  • 사용법:
thuny.AIsay("출력할 문장", 0.1) # 0.1초 간격으로 출력 (기본값 제공)

2. ifnum

입력받은 값이 숫자인지 확인하여 True 또는 False를 반환합니다.

  • 사용법:
if thuny.ifnum(data):
    print("숫자입니다.")

3. clear

터미널(CMD, 터미널 창)의 화면을 깨끗하게 지웁니다. 운영체제와 상관없이 동작합니다.

  • 사용법:
thuny.clear()

4. loading

지정한 시간 동안 진행 상태를 보여주는 로딩바를 화면에 띄웁니다.

  • 사용법:
thuny.loading(5, "오류 발생") # 5초 동안 로딩, 실패 시 에러 메시지

5. terminal_title

터미널 창(CMD)의 상단 제목을 원하는 이름으로 변경합니다.

  • 사용법:
thuny.terminal_title("태훈이의 게임")

6. is_admin

현재 프로그램을 실행 중인 사용자가 관리자 권한을 가지고 있는지 확인합니다.

  • 사용법:
if thuny.is_admin():
    print("관리자 권한입니다.")

7. chnlstr (change_list_to_string)

리스트(List) 형태의 데이터를 하나의 문자열(String)로 합쳐서 반환합니다.

  • 사용법:
text = thuny.chnlstr(["A", "B", "C"])

8. mdedld (module_download)

pip 명령어를 직접 입력하지 않고 코드 내에서 필요한 모듈을 바로 다운로드합니다. (실행 시 메시지가 출력됩니다.)

  • 사용법:
thuny.mdedld("requests")

9. pyshell

파이썬의 기본 대화형 쉘(Interactive Shell) 창을 즉시 띄웁니다.

  • 사용법:
thuny.pyshell()

10. filelist

현재 파이썬 파일이 실행되고 있는 폴더 내의 모든 파일 목록을 출력합니다.

  • 사용법:
thuny.filelist()

11. nth_root_of_x

숫자의 n제곱근 값을 계산하여 반환합니다.

  • 사용법:
result = thuny.nth_root_of_x(8, 3) # 8의 3제곱근인 2.0 반환

Author: Taehoon Yun
Version: 0.1.5

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

thuny-0.1.6.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

thuny-0.1.6-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file thuny-0.1.6.tar.gz.

File metadata

  • Download URL: thuny-0.1.6.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for thuny-0.1.6.tar.gz
Algorithm Hash digest
SHA256 abb7ce11280e60dad002a2c500ce18107be3fed6160b88b62c068cfd94778c9c
MD5 5607edba4d969549e58ff04a169fc6f9
BLAKE2b-256 4e2eb67ee1f7fdd2956e44c1dab62cc3417d0112222ab03463c235add68f3278

See more details on using hashes here.

File details

Details for the file thuny-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: thuny-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for thuny-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5fc435728931da2356d770705b469da93ee8752c76a3737bff16f08c6d7cd65e
MD5 d604bb5e36daecddf98e78de0e6793f1
BLAKE2b-256 510d0cfe0314eec6924672c964008c750d17704ac3cf6ba4fc15db9558bd849e

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