Skip to main content

Python 2/3 compatible functions pack

Project description

Library py23

GitHub Workflow Status GitHub Workflow Status GitHub Workflow Status

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


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 hashes)

Uploaded Source

Built Distribution

py23-1.2-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page