Skip to main content

Extract, clean and transform ISBNs (International Standard Book Number).

Project description

Info

isbntools provides several useful methods and functions to validate, clean and transform ISBN strings.

Typical usage (as library):

#!/usr/bin/env python
import isbntools
...

Several scripts are provided to use from the command line:

$ to_isbn10 ISBN13

transforms an ISBN10 number to ISBN13.

$ to_isbn13 ISBN10

transforms an ISBN13 number to ISBN10.

$ isbn_info ISBN

gives you the group identifier of the ISBN.

$ isbn_mask ISBN

masks (hyphenate) an ISBN (split it by identifiers).

$ isbn_meta ISBN

gives you the main metadata associated with the ISBN (uses wcat.org).

$ isbn_validate ISBN

validates ISBN10 and ISBN13.

$ isbn_stdin_validate

to use with posix pipes (e.g. cat ISBNs | isbn_stdin_validate).

$ isbntools

writes version and copyright notice.

Many more scripts could be written with the library, using the methods for extraction, cleaning, validation and standardization of ISBNs.

Install

From a command line enter:

$ pip install isbntools

or:

$ easy_install isbntools

or:

$ pip install isbntools-0.7.4.tar.gz

Known Issues

  1. The meta method and the isbn_meta script sometimes give a wrong result (this is due to errors on the wcat.org service)

Project details


Release history Release notifications

History Node

4.3.15

History Node

4.3.14

History Node

4.3.13

History Node

4.3.12

History Node

4.3.11

History Node

4.3.10

History Node

4.3.9

History Node

4.3.8

History Node

4.3.7

History Node

4.3.6

History Node

4.3.5

History Node

4.3.4

History Node

4.3.3

History Node

4.3.2

History Node

4.3.1

History Node

4.2.7

History Node

4.2.6

History Node

4.2.5

History Node

4.2.4

History Node

4.2.3

History Node

4.2.2

History Node

4.2.1

History Node

4.1.3

History Node

4.1.2

History Node

4.1.1

History Node

4.0.2

History Node

4.0.1

History Node

3.3.9

History Node

3.3.8

History Node

3.3.7

History Node

3.3.6

History Node

3.3.5

History Node

3.3.4

History Node

3.3.3

History Node

3.3.2

History Node

3.3.1

History Node

3.2.4

History Node

3.2.3

History Node

3.2.2

History Node

3.2.2a

History Node

3.2.1

History Node

3.1.4

History Node

3.1.3

History Node

3.1.2

History Node

3.1.1

History Node

3.1.0

History Node

3.0.3

History Node

3.0.2

History Node

3.0.1

History Node

3.0.0

History Node

2.3.7

History Node

2.3.6

History Node

2.3.5

History Node

2.3.4

History Node

2.3.3

History Node

2.3.2

History Node

2.3.1

History Node

2.2.2

History Node

2.2.1

History Node

2.1.2

History Node

2.1.1

History Node

2.0.8

History Node

2.0.7

History Node

2.0.6

History Node

2.0.5

History Node

2.0.4

History Node

2.0.3

History Node

2.0.2

History Node

2.0.1

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

0.8.4

History Node

0.8.3

History Node

0.8.2

History Node

0.8.1

History Node

0.7.5

This version
History Node

0.7.4

History Node

0.7.3

History Node

0.7.2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
isbntools-0.7.4.tar.gz (14.9 kB) Copy SHA256 hash SHA256 Source None Feb 28, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page