Skip to main content

A simple hello function.

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.6.tar.gz (4.0 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.6-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for heiwa4126_hello-0.0.6.tar.gz
Algorithm Hash digest
SHA256 5a20b65e2028b7023001d8daf1bb97dbab753508b1ae4d900c53fe2fc1805224
MD5 bead9afd46ec48967ce18cc9eddbb909
BLAKE2b-256 a407fb027804d79360c902333151754ca730d822ee3c1dbcbfd11f2550a17d7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for heiwa4126.hello-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4b8acede9a576d1f610d2d8bd87dd268986232664f48f77bdc3db196a455ca3d
MD5 ec6900878f81b0e7e17519fb0fc1beaf
BLAKE2b-256 aa290125555cec0bd4b3dd2f95d471fe8cf579ac843b24a77297b9b18bd0ead5

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