This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A simple CLI program that spits out caller ID name information given a phone number. This CLI app uses [opencnam](http://www.opencnam.com “opencnam”) as a backend.

## Installation

Install from PyPi using [pip](http://www.pip-installer.org/en/latest/), a package manager for Python.

$ pip install cnam

Don’t have pip installed? Try installing it, by running this from the command line:

$ curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python

Or, you can [download the source code (ZIP)](https://github.com/telephonyresearch/cnam/zipball/master “cnam source code”) for cnam, and then run:

$ python setup.py install

You may need to run the above commands with sudo.

## Usage

Using cnam is easy. Just run the following from the command line:

$ cnam 2024561111 US GOVERNMENT

cnam will take any 10-digit phone number as input. The way the input algorithm works, cnam will strip any non-numeric characters out of the input and attempt to lookup that number (assuming it is 10-digits in length).

So if you do:

$ cnam abc2024561111abc

You’ll still get:

US GOVERNMENT

## Limits

The [opencnam](http://www.opencnam.com “opencnam”) API we use as a backend limits you to no more than 60 requests per minute (using their free tier). When they release a paid API, you’ll have the option of specifying API creds in a ~/.cnam file if you’d like to make unlimited requests.

## Changelog

v0.2: 2-12-2012

  • Adding support for phone numbers with spaces on the CLI. Default behavior is to concatenate all CLI input and treating it as a single phone number.
  • Adding support for numbers with a prefix of ‘1’. While the [opencnam](http://www.opencnam.com “opencnam”) API only supports 10-digit phone numbers, we now support them. This allows easy integration for phone systems.

v0.1: 2-9-2012

Initial release!

Release History

Release History

0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cnam-0.2.tar.gz (4.7 kB) Copy SHA256 Checksum SHA256 Source Feb 13, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting