My First Python Package! PyCristal v0.1.0

2026-10-23来源 dev.to PythonEnglish

I built my first Python package: PyCristal v0.1.0

Hey everyone!

I've been working on my first Python package, PyCristal, a lightweight, dependency free library for printing colored messages in the terminal.

The idea is to make terminal output a little more readable and convenient without needing external dependencies.

Example

import pycristal as pc pc.success("Everything worked!") pc.info("Application started.") pc.warning("Something needs attention.") pc.error("Something went wrong.") 

Features

  • Colored terminal messages
  • Built-in text styles and background colors
  • Simple functions for success, info, warning, and error messages
  • No external dependencies

This is version 0.1.0, so I'm still learning and improving the project. I'd really appreciate feedback, suggestions, or ideas for what could be improved.

Links:

Thanks for taking a look! 💙

原文:https://www.a8q9.cn/en/article/my-first-python-package-pycristal-v0-1-0-f45a98.html

相关文章