Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install pyatom

How to install pyatom

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install pyatom
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.2
1.3Never BuiltWhy not?
1.2 Available View build log
1.1 Available View build log
Windows (64-bit)
1.2
1.3Never BuiltWhy not?
1.2 Available View build log
1.1 Available View build log
Mac OS X (10.5+)
1.2
1.3Never BuiltWhy not?
1.2 Available View build log
1.1 Available View build log
Linux (32-bit)
1.2
1.3Never BuiltWhy not?
1.2 Available View build log
1.1 Available View build log
Linux (64-bit)
1.3 Available View build log
1.2 Available View build log
1.1 Available View build log
 
Author
License
BSD
Depended by
Imports
Lastest release
version 1.3 on Jan 9th, 2014

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.

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.