Skip to main content

A simple hello generator

Project description

heiwa4126.hello (pip-heiwa4126-hello)

heiwa4126.fizzbuzz は Python 用の パッケージです。 'hello' を返す関数 hello() を実装します。

インストール

pip install heiwa4126.hello

使用方法

このパッケージは、以下のように使用できます:

from heiwa4126.hello import hello

print(hello())

このコードは、"hello" を適切に出力します。

またパッケージをインストールすると コマンド heiwa4126_hello も インストールされます。

heiwa4126_hello
# or
heiwa4126_hello2

このコマンドは、"hello" を適切に出力します。2 つの違いは pyproject.toml の project.scripts のところを参照。

このパッケージはテンプレートです

YOUR_NAMESPACE="お好みの名前空間"
YOUR_PACKAGE="お好みのパッケージ名"
find . -type f | xargs perl -i.bak -pe "s/heiw4126/$YOUR_NAMESPACE/g;s/hello/$YOUR_PACKAGE/g;"
mv src/heiwa4126 "src/$YOUR_NAMESPACE"
mv "src/$YOUR_NAMESPACE/hello.py" "src/$YOUR_NAMESPACE/$YOUR_PACKAGE"

のようにして置き換えて使ってください。

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

heiwa4126_hello-0.0.4.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

heiwa4126.hello-0.0.4-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file heiwa4126_hello-0.0.4.tar.gz.

File metadata

  • Download URL: heiwa4126_hello-0.0.4.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for heiwa4126_hello-0.0.4.tar.gz
Algorithm Hash digest
SHA256 d8b5fefbc342d19533fcad2fbd1664b3147bed751bc5fed403756ca641a3f5fc
MD5 2be7ad4f66aa3b5ac86c55f085734461
BLAKE2b-256 f8eeae62f0e404654740dd3d5fdb5a1d5409b9569c3a68f8594e63e26b834ca6

See more details on using hashes here.

File details

Details for the file heiwa4126.hello-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for heiwa4126.hello-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a7a628d858298eab337e4df93bcdccc19778cde154f0ac40e43e793c46647c59
MD5 5cdfe16d8ac1ec611277fccba8304b31
BLAKE2b-256 6de7a272739c358c36a2acd8c657d9fa38b8d321697bbe2140e5a9f258323843

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