Skip to content

calculate russian post delivery charges based on dbf files from info.russianpost.ru

License

Notifications You must be signed in to change notification settings

temaput/tarifcalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tarifcalc

calculate russian post delivery charges based on dbf files from info.russianpost.ru

for now works only for Moscow as sending point can estimate delivery charges for parcel and letterpackage

invocation

tarifcalc.calc(request=None, config=None) -> respond

request

dict( From='101000' #Moscow To='000000' # Postal code where to send Weight=20000 # weight in gramms (20 kg max) Valuation=1000.00 # price of parcel for insurance calculation )

config

dict that contains all the prices, look at tarifconfig.py may also contain special key 'zonesdbcfg' which supposed to be the dict itself with keys 'DBPATH' and 'TMPPATH' to store zonesdb wich holds all info about russian post zones (obtained by getzones.py from info.russianpost.ru)

About

calculate russian post delivery charges based on dbf files from info.russianpost.ru

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages