Python 2/3 compatible functions pack
Project description
Library py23
Python 2/3 compatible functions
Installation
$ pip install py23
Usage
import os
from py23 import load_module_by_path
py_module = load_module_by_path(os.path.join('py23', '__init__.py')
assert callable(py_module.remove_symbols)
Development
$ git clone git@github.com:vb64/py23.git
$ cd py23
With Python 3:
$ make setup PYTHON_BIN=/path/to/python3
$ make tests
With Python 2:
$ make setup2 PYTHON_BIN=/path/to/python2
$ make tests2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py23-1.2.tar.gz
(3.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
py23-1.2-py3-none-any.whl
(3.5 kB
view details)
File details
Details for the file py23-1.2.tar.gz.
File metadata
- Download URL: py23-1.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8991799d7a7e99dcf422b59432a49684782aab869b5a5a55098913c9551d8707
|
|
| MD5 |
90eb8e9fffa698beb9a5fb6db0cd2eb1
|
|
| BLAKE2b-256 |
8d12e8c4284c45a5c799a6d8b7827193802abd0b81c3de2d30540b09fbe5297e
|
File details
Details for the file py23-1.2-py3-none-any.whl.
File metadata
- Download URL: py23-1.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1bb1128ab9df9ba2fd2bd81699aa20aa0b6ec234008b17420b755225393dca0
|
|
| MD5 |
99675a8c501ca919d323ce761fb1bcb6
|
|
| BLAKE2b-256 |
e7f77179eea25d5126d79b14e12cd3484febc7fd9a580722777e826054bc2ae0
|