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 Python library for generating Atom 1.0 feeds.

Project Description

A Python library for generating Atom 1.0 feeds.

Extracted from werkzeug.contrib.atom and created as a standalone package.

Latest Version

The latest version of this project can be found at : http://github.com/sramana/pyatom.

Installation

  • Option 1 : Install via pip

    pip install pyatom
    
  • Option 2 : If you have downloaded the source

    python setup.py install
    

Documentation

How to use?

from pyatom import AtomFeed
import datetime

feed = AtomFeed(title="My Blog",
                subtitle="My example blog for a feed test.",
                feed_url="http://example.org/feed",
                url="http://example.org",
                author="Me")

# Do this for each feed entry
feed.add(title="My Post",
         content="Body of my post",
         content_type="html",
         author="Me",
         url="http://example.org/entry1",
         updated=datetime.datetime.utcnow())

print feed.to_string()

License

This project is released under BSD license (http://creativecommons.org/licenses/BSD).

Credits

The code is copy-pasted from werkzeug library. Thanks to them.

Contribution

Contributions are most welcome. Please submit a patch on bitbucket or github.

Reporting Bugs

Please report the bugs at bitbucket or github issue tracker.

Feedback

I love to hear what you think about this project. Please drop me a line.

Author

Ramana <sramana9@gmail.com> Praveen Gollakota

–END–

Release History

Release History

This version
History Node

1.4

History Node

1.3

History Node

1.2

History Node

1.1

History Node

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
pyatom-1.4.tar.gz (6.6 kB) Copy SHA256 Checksum SHA256 Source Sep 29, 2013

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