SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

python38-py-multibase rpm build for : openSUSE Tumbleweed. For other distributions click python38-py-multibase.

Name : python38-py-multibase
Version : 1.0.3 Vendor : obs://build_opensuse_org/home:bmwiedemann
Release : 4.12 Date : 2021-12-16 09:26:11
Group : Development/Languages/Python Source RPM : python-py-multibase-1.0.3-4.12.src.rpm
Size : 0.03 MB
Packager : (none)
Summary : Multibase implementation for Python
Description :
py-multibase
------------

.. image:: https://img.shields.io/pypi/v/py-multibase.svg
:target: https://pypi.python.org/pypi/py-multibase

.. image:: https://img.shields.io/travis/multiformats/py-multibase.svg?branch=master
:target: https://travis-ci.org/multiformats/py-multibase?branch=master

.. image:: https://codecov.io/gh/multiformats/py-multibase/branch/master/graph/badge.svg
:target: https://codecov.io/gh/multiformats/py-multibase

.. image:: https://readthedocs.org/projects/py-multibase/badge/?version=stable
:target: https://py-multibase.readthedocs.io/en/stable/?badge=stable
:alt: Documentation Status

`Multibase < https://github.com/multiformats/multibase>`_ implementation for Python

Multibase is a protocol for distinguishing base encodings and other simple string encodings, and for ensuring full compatibility with program interfaces.

It answers the question: Given data d encoded into string s, how can I tell what base d is encoded with?

Base encodings exist because transports have restrictions, use special in-band sequences, or must be human-friendly.
When systems chose a base to use, it is not always clear which base to use, as there are many tradeoffs in the decision.
Multibase is here to save programs and programmers from worrying about which encoding is best.

It solves the biggest problem: a program can use multibase to take input or produce output in whichever base is desired.

The important part is that the value is self-describing, letting other programs elsewhere know what encoding it is using.

* Free software: MIT license
* Documentation: https://py-multibase.readthedocs.io.
* Python versions: 3.5, 3.6

Installation
============

.. code-block:: shell

$ pip install py-multibase


Sample Usage
============

.. code-block:: python

>>> # encoding a buffer
>>> from multibase import encode, decode
>>> encode(\'base58btc\', \'hello world\')
b\'zStV1DL6CwTryKyV\'
>>> encode(\'base64\', \'hello world\')
b\'mGhlbGxvIHdvcmxk\'
>>> # decoding a multibase
>>> decode(\'mGhlbGxvIHdvcmxk\')
b\'hello world\'
>>> decode(b\'zStV1DL6CwTryKyV\')
b\'hello world\'
>>> decode(encode(\'base2\', b\'hello world\'))
b\'hello world\'


Supported codecs
================

* base2
* base8
* base10
* base16
* base16
* base16
* base32hex
* base32
* base32z
* base58flickr
* base58btc
* base64
* base64url

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/bmwiedemann:/ipfs/openSUSE_Tumbleweed/noarch

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  python38-py-multibase-1.0.3-4.12.noarch.rpm
     

Provides :
python3-py-multibase
python3.8dist(py-multibase)
python38-py-multibase
python3dist(py-multibase)

Requires :
python(abi) = 3.8
python38-baseconv
python38-morphys
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib/python3.8/site-packages/multibase
/usr/lib/python3.8/site-packages/multibase/__init__.py
/usr/lib/python3.8/site-packages/multibase/__pycache__
/usr/lib/python3.8/site-packages/multibase/__pycache__/__init__.cpython-38.opt-1.pyc
/usr/lib/python3.8/site-packages/multibase/__pycache__/__init__.cpython-38.pyc
/usr/lib/python3.8/site-packages/multibase/__pycache__/converters.cpython-38.opt-1.pyc
/usr/lib/python3.8/site-packages/multibase/__pycache__/converters.cpython-38.pyc
/usr/lib/python3.8/site-packages/multibase/__pycache__/multibase.cpython-38.opt-1.pyc
/usr/lib/python3.8/site-packages/multibase/__pycache__/multibase.cpython-38.pyc
/usr/lib/python3.8/site-packages/multibase/converters.py
/usr/lib/python3.8/site-packages/multibase/multibase.py
/usr/lib/python3.8/site-packages/py_multibase-1.0.3-py3.8.egg-info
/usr/lib/python3.8/site-packages/py_multibase-1.0.3-py3.8.egg-info/PKG-INFO
/usr/lib/python3.8/site-packages/py_multibase-1.0.3-py3.8.egg-info/SOURCES.txt
/usr/lib/python3.8/site-packages/py_multibase-1.0.3-py3.8.egg-info/dependency_links.txt
/usr/lib/python3.8/site-packages/py_multibase-1.0.3-py3.8.egg-info/not-zip-safe
/usr/lib/python3.8/site-packages/py_multibase-1.0.3-py3.8.egg-info/requires.txt
/usr/lib/python3.8/site-packages/py_multibase-1.0.3-py3.8.egg-info/top_level.txt

 
ICM