Python-BasicAuth.信じられないほど単純なHTTP基本認証実装 | |
今すぐダウンロード |
Python-BasicAuth. ランキングとまとめ
広告
- ライセンス:
- Other/Proprietary Li...
- 価格:
- FREE
- 出版社名:
- Randall Degges
- 出版社のWebサイト:
- http://github.com/comradeb14ck/
Python-BasicAuth. タグ
Python-BasicAuth. 説明
Python-BasicAuthは、Dead Simple HTTP Basic Authエンコーダとデコーダです。どうして? HTTPは落ち着くべきだから簡単です。だからこそ、 `` python-basicauth``をインストールするだけで、単に `` PIP Install Basicauth``を実行し、最新バージョンが自動的にインストールされています.usagetoはエンコードされた基本認証文字列を生成します。 `` Python >>>インポートエンコード>>> username、password = 'rdegges'、 'omghax !!!' >>> encoded_str = encode(ユーザー名、パスワード)>>> Encoded_str'Basic CMRLZ2DLCZPVBWDOYXGLMJELMJELMJE = '`` `` `` `` `` `` `` `` `` `` `` `` `encoded basic auth文字列を復号する: `` `python >>> frasicauth importデコード>>> encoded_str = '基本cmrlz2dlczpvbwdoyxglmjelmjelmje ='#>>> username、password = decode(encoded_str)>>> print(ユーザー名、パスワード)( ' RDEGGES '、' OMGHAX !!! ') `` `` `` ``私たちはまた、BasicAuth Import Decodeからの `` Python >>>上記の例から `` Python >>> >>> encoded_str =' cmrlz2dlczpvbwdoyxglmjelmjelmje = '#からの#>>> username、password = decode(encoded_str)>>>印刷(ユーザー名、パスワード)( 'rdegges'、 'omghax !!!') `` `` `` `python >>> Basicauth Import Decodeから、 DecodeError >>> enco. DED_STR = 'lol omg cmrlz2dlczpvbwdoyxglmjelmjelmje ='#無効なハッシュ。>>> username、password = decode(encoded_str)トレースバック(最新のコール):ファイル "
Python-BasicAuth. 関連ソフトウェア