Skip to content

Python Federal Reserve E-Payments Routing Directory Library

Notifications You must be signed in to change notification settings

mjallday/pyfeddic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Federal Reserve E-Payments Routing Directory Library

Build Status

A Python interface for consuming and querying the Federal Reserve E-Payments Routing Directory. Allows you to verify a given FedWire routing number and search the directory to find Fedwire funds transfer and book-entry securities participants.

http://www.fedwiredirectory.frb.org/

Usage:

import pyfeddic

# load from a file you've previously downloaded
>>> fw = FedWire('~/fpddir.txt')
>>> fw.lookup_by_routing_number('121000374')
FedWireRecord(routing_number='121000374', city='SAN FRANCISCO', telegraphic_name='FRB SF', funds_transfer_status='Y', funds_settlement_status='', state='CA', date_of_last_revision=None, securities_transfer_status='Y', customer_name='FEDERAL RESERVE BK OF SAN FRANCISCO')
>>> fw.lookup_by_state('CA')[0]
FedWireRecord(routing_number='021059438', city='CAMARILLO', telegraphic_name='MINERALS MGMT SERV', funds_transfer_status='N', funds_settlement_status='', state='CA', date_of_last_revision='20050314', securities_transfer_status='Y', customer_name='MINERALS & MANAGEMENT SERVICE')

# load straight from the fedwire website
len(FedWire('http://www.fedwiredirectory.frb.org/fpddir.txt').records)
>>> 9348

About

Python Federal Reserve E-Payments Routing Directory Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages