並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 4 件 / 4件

新着順 人気順

Cerberusの検索結果1 - 4 件 / 4件

  • Pythonスキーマバリデーションライブラリ比較 (pydantic, marshmallow, attrs, cerberus) - Attsun blog

    Pythonスキーマバリデーションライブラリ比較 (pydantic, marshmallow, attrs, cerberus) ウェブAPIの作成など、外部からやってくるデータを安全に捌く上で、スキーマ定義とバリデーションは非常に重要です。 また、特にPythonのような動的型付け言語において、内部でもレイヤをまたぐ場合はきちんと定義されたデータモデルを利用することで、知らない間にデータモデルが変わっていた、というようなケースを防ぐことができます。 Pythonには標準でスキーマバリデーションライブラリがないため3rdパーティのものを使うことになりますが、様々なライブラリがあるので比較してみました。 比較対象のライブラリ概要※Pythonバージョンは3.9.0を利用します。 lib                    versionGithub Star (2020/1/5)memo

    • Pythonスキーマバリデーションライブラリ比較 (pydantic, marshmallow, attrs, cerberus)

      Pythonスキーマバリデーションライブラリ比較 (pydantic, marshmallow, attrs, cerberus) ウェブ API の作成など、外部からやってくるデータを安全に捌く上で、スキーマ定義とバリデーションは非常に重要です。 また、特に Python のような動的型付け言語において、内部でもレイヤをまたぐ場合はきちんと定義されたデータモデルを利用することで、知らない間にデータモデルが変わっていた、というようなケースを防ぐことができます。 Python には標準でスキーマバリデーションライブラリがないため 3rd パーティのものを使うことになりますが、様々なライブラリがあるので比較してみました。 比較対象のライブラリ概要※Python バージョンは 3.9.0 を利用します。 lib                    versionGithub Star (202

        Pythonスキーマバリデーションライブラリ比較 (pydantic, marshmallow, attrs, cerberus)
      • Pythonのデータ検証ライブラリCerberusを使ってみよう - Qiita

        はじめに この資料はデータ検証用ライブラリ Cerberus のドキュメントを抄訳したものです。 コミュニティーで Hands-On を行うときの資料として作成したため、 Cerberus の変更履歴などについては触れていません。 また、ソースコードの例示と実行には、IPython を使っています。 $ ipython Python 3.9.7 | packaged by conda-forge | (default, Sep 29 2021, 19:23:19) Type 'copyright', 'credits' or 'license' for more information IPython 7.28.0 -- An enhanced Interactive Python. Type '?' for help. In [1]: IPython の %load コマンドでソースコー

          Pythonのデータ検証ライブラリCerberusを使ってみよう - Qiita
        • Why Is Europe’s Latest Heat Wave Called Cerberus? It’s Complicated

          If you’re at all aware of the heat wave baking southern Europe right now, you’ll have heard people referring to it as “Cerberus”—a moniker that invokes the fearsome three-headed dog of Greek mythology. In Dante’s Inferno and the classics that inspired it, Cerberus is a monster associated with the underworld. Multiple reports about the blistering heat wave, which has pushed temperatures up to aroun

            Why Is Europe’s Latest Heat Wave Called Cerberus? It’s Complicated
          1