Skip to main content

Python自用小功能

Project description

Python自用小功能。安装:

pip install pyzafa

数据编码

1. unicode字符与base64字符相互转换

from pyzafa.data_encoding import base64encode, base64decode

base64encode('你好,世界')
base64decode('5L2g5aW977yM5LiW55WM')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyzafa, version 1.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pyzafa-1.2.0-py2.py3-none-any.whl (2.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pyzafa-1.2.0.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page