Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A simple Python library for the NaNoWriMo API

Project Description

National Novel Writing Month is an annual event in which the goal is generally to write 50,000 words of the first draft of a novel in the 30 days of November.

Naturally, the hosts have graciously supplied a website with various means of updating and tracking one’s progress through this adventure, including an API to allow users to create their own progress trackers.

This is where pynano comes into play, providing a simple, Pythonic way to acess this API and leverage its data in your own projects:

>>> from pynano import User
>>> kromey = User('kromey')
>>> kromey.wordcount
64133
>>> kromey.name
'Kromey'

Objects are provided to access data about Users, Regions, and the Site itself; each also provides access to daily data to track progress through the month:

>>> kromey.history[14].date # The sequence is 0-indexed, so index 14 is day 15
'2015-11-15'
>>> kromey.history[14].wordcount
10499

Requirements

pynano is supported on Python versions 2.7, 3.5, and 3.6, with these additional packages:

  • requests (version 2.9 or later)
  • xmltodict (version 0.9 or later)

Note

pynano is also tested against Python versions 3.3, and 3.4, though they are not officially supported. As a convenience, however, they remain listed on PyPi as long as they continue to pass tests.

Release History

Release History

This version
History Node

1.0.1

History Node

1.0.0

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pynano-1.0.1.tar.gz (7.8 kB) Copy SHA256 Checksum SHA256 Source Nov 10, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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