Skip to main content

# py3kwarn [![Build Status](https://travis-ci.org/liamcurry/py3kwarn.png)][travis]

py3kwarn is a small wrapper around lib2to3 to help write Python3 compatible code. It provides flake8-style warning messages.

Currently requires Python 2.7+.

See the [lib2to3][lib2to3] documentation for information on warning messages.

Pull requests are welcome!

## Usage

py3kwarn test.py

## Usage with vim

To use with vim, check out [my syntastic fork][my-fork] which adds py3kwarn as a syntax checker for python. If you want to use py3kwarn and syntastic with another syntax checker (like flake8), then you will have to add let g:syntastic_python_checkers=[‘flake8’, ‘py3kwarn’] to your vim config.

## TODO

  • An option for friendlier messages would be nice.

  • [A flake8 extension][flake8-ext].

  • Use argparse to add some smarter options.

  • Better docs

  • Make it work with Python 2.6

[my-fork]: https://github.com/liamcurry/syntastic/tree/py3kwarn [travis]: https://travis-ci.org/liamcurry/py3kwarn [flake8-ext]: http://flake8.readthedocs.org/en/latest/extensions.html [lib2to3]: http://docs.python.org/2.6/library/2to3.html#fixers

Metadata

Release files for py3kwarn 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py3kwarn 0.1
File Size Uploaded
py3kwarn-0.1.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py3kwarn 0.1
File Interpreter ABI Platform
py3kwarn-0.1.macosx-10.8-intel.exe Details

Total release size: 71.7 kB

Release files / py3kwarn-0.1.tar.gz

Download URL py3kwarn-0.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
87dd072358cc51558b5ed222651a3f05b361f9ca65036ffabc3a54fe05dea8d1
BLAKE2b-256 checksum
How to use checksums
06c14b963a1a4e8cbcd898f991d25e9ea3cf7a9ef80231ae75768042155a08f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / py3kwarn-0.1.macosx-10.8-intel.exe

Download URL py3kwarn-0.1.macosx-10.8-intel.exe
Size 67.8 kB
Tags Source
SHA-256 checksum
How to use checksums
35af445371bde903a71d58273c8f1dc252e096fbc729ae21f1571de088006540
BLAKE2b-256 checksum
How to use checksums
cd350d57ca1a6238a1438aa2c841fd2ec04e7013377dd96166d7e7c426d743d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.4.4

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4

1 release file

0.3

1 release file

0.2.3

1 release file

0.2.0

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

2 release files

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page