postal-code

Using uk-postcode-utils in a python form

Using uk-postcode-utils in a python form Question: I am creating a form for the user to enter a valid UK postcode. I currently have the following code for the form: class RegisterForm(Form): first_name = StringField(‘First Name’, validators=[DataRequired(), validators.Length(min=1, max=50)]) last_name = StringField(‘Last Name’, validators=[DataRequired(), validators.Length(min=1, max=50)]) centre_id = StringField(‘Centre ID’, validators=[DataRequired(), validators.Length(min=1, max=11)]) doctor_id = …

Total answers: 1

Python Module for Distance between UK postcodes

Python Module for Distance between UK postcodes Question: I need to calculate distances between UK postcodes. I don’t want to use a web api. Does a python module/ library exist for this? Or do I have to put together something of my own using data from the OrdnanceSurvey? Thanks, Asked By: slow_mondays || Source Answers: …

Total answers: 4