Skip to main content

John team's filler

Project description

john_filler

john_fillerは42の課題、fillerのPython実装です。

開発者向け情報

poetryインストール手順

  1. 公式のインストール手順に従いインストール。

    pythonだと2系なので、python3に変更しています。

    curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python3 - 
    
  2. ~/.zshrcを編集。poetryのPATHを追加するコマンドを追記します。

    export PATH="/Users/{login}/Library/Python/3.9/bin:$PATH"
    

    ~/.zshrcの変更を今のshellに反映します。

    source ~/.zshrc
    
  3. venvの保存場所の設定を変更

    venvはデフォルトで /Users/{login}/Library/Caches/pypoetry/virtualenvs にインストールされます。

    プロジェクトの中に置きたいので、設定を行います。

    poetry config virtualenvs.in-project true
    

    設定を行うと、poetry addなどで、{プロジェクトのディレクトリ}/.venv に仮想環境が作られます。

    poetry shell で仮想環境の中に入ることができます。

PyPIへのパッケージアップロード手順

参考

  1. PyPI or TestPyPI にユーザ登録します。

  2. API Tokenを発行、poetryに登録します。

  3. パッケージをビルドします。

    poetry build
    
  4. パッケージをアップロードします。

    # TestPyPI
    poetry publish -r testpypi
    # PyPI
    poetry publish
    

    アップロードの際、バージョンが既にあるバージョンとは異なる必要があります(パッケージを削除してもNGなようです)。

    このため、TestPyPIにアップロードして確認後、PyPIにアップロードが安全かと思います。

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

john_filler-0.1.3.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

john_filler-0.1.3-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file john_filler-0.1.3.tar.gz.

File metadata

  • Download URL: john_filler-0.1.3.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.2 Darwin/18.7.0

File hashes

Hashes for john_filler-0.1.3.tar.gz
Algorithm Hash digest
SHA256 16806057012d477a1c1cf41319a33af6d1ceadcac6b2c56d21422c68b24d24cd
MD5 101fe2cf3be57d88ef3bcc12f8faa0bf
BLAKE2b-256 7ef11e929d6fcf44b395c5e24d5084fc00d50abd0ab2a79d430a00f953a68b68

See more details on using hashes here.

File details

Details for the file john_filler-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: john_filler-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.2 Darwin/18.7.0

File hashes

Hashes for john_filler-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6fad7754370f3a0e7141ae8f248abc49301a3176b7ab0868ef736492680fdeb8
MD5 fc34b92fee69a0e9fe47005d4a45a6f5
BLAKE2b-256 23eec17c063018ba6b9e14086da51fd7d2287a4467a24a7305e79dfff3268e20

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