Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2020-03-20 17:50:39 +0100
committerArthur de Jong <arthur@arthurdejong.org>2020-03-20 17:50:39 +0100
commit91ca4dac21c66c50b44b9334287ddc4277991867 (patch)
treea132f4d8d29a5cdb2e84234cf43427ae13e35fce /stdnum
parent273dd5494a525039e5c55d99bbf0835dee3388b9 (diff)
Use HTTPS in URLs where possible
Diffstat (limited to 'stdnum')
-rw-r--r--stdnum/cu/ni.py2
-rw-r--r--stdnum/do/ncf.py2
-rw-r--r--stdnum/do/rnc.py2
-rw-r--r--stdnum/es/ccc.py2
-rw-r--r--stdnum/es/referenciacatastral.py2
-rw-r--r--stdnum/eu/eic.py2
-rw-r--r--stdnum/eu/nace.py2
-rw-r--r--stdnum/fi/hetu.py4
-rw-r--r--stdnum/fr/nir.py2
-rw-r--r--stdnum/gb/nhs.py4
-rw-r--r--stdnum/gr/amka.py2
-rw-r--r--stdnum/isil.py2
-rw-r--r--stdnum/issn.py2
-rw-r--r--stdnum/kr/rrn.py2
-rw-r--r--stdnum/mu/nid.py2
-rw-r--r--stdnum/mx/curp.py2
-rw-r--r--stdnum/mx/rfc.py2
-rw-r--r--stdnum/pl/regon.py3
18 files changed, 20 insertions, 21 deletions
diff --git a/stdnum/cu/ni.py b/stdnum/cu/ni.py
index e9d3d5d..2202e68 100644
--- a/stdnum/cu/ni.py
+++ b/stdnum/cu/ni.py
@@ -26,7 +26,7 @@ of birth of the person and gender.
More information:
-* http://www.postdata.club/issues/201609/es-usted-unico-en-cuba.html
+* https://www.postdata.club/issues/201609/es-usted-unico-en-cuba.html
>>> validate('91021027775')
'91021027775'
diff --git a/stdnum/do/ncf.py b/stdnum/do/ncf.py
index d4994de..a85e4c7 100644
--- a/stdnum/do/ncf.py
+++ b/stdnum/do/ncf.py
@@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
-# Development of this functionality was funded by iterativo | http://iterativo.do
+# Development of this functionality was funded by iterativo | https://iterativo.do
"""NCF (Números de Comprobante Fiscal, Dominican Republic receipt number).
diff --git a/stdnum/do/rnc.py b/stdnum/do/rnc.py
index a6d785f..6bac651 100644
--- a/stdnum/do/rnc.py
+++ b/stdnum/do/rnc.py
@@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
-# Development of this functionality was funded by iterativo | http://iterativo.do
+# Development of this functionality was funded by iterativo | https://iterativo.do
"""RNC (Registro Nacional del Contribuyente, Dominican Republic tax number).
diff --git a/stdnum/es/ccc.py b/stdnum/es/ccc.py
index b9e1db1..3306c20 100644
--- a/stdnum/es/ccc.py
+++ b/stdnum/es/ccc.py
@@ -40,7 +40,7 @@ Central Bank).
More information:
* https://es.wikipedia.org/wiki/Código_cuenta_cliente
-* http://www.bde.es/bde/es/secciones/servicios/Particulares_y_e/Registros_de_Ent/
+* https://www.bde.es/bde/es/secciones/servicios/Particulares_y_e/Registros_de_Ent/
>>> validate('1234-1234-16 1234567890')
'12341234161234567890'
diff --git a/stdnum/es/referenciacatastral.py b/stdnum/es/referenciacatastral.py
index c4d913c..8d5ee1f 100644
--- a/stdnum/es/referenciacatastral.py
+++ b/stdnum/es/referenciacatastral.py
@@ -79,7 +79,7 @@ def format(number):
# The check digit implementation is based on the Javascript
# implementation by Vicente Sancho that can be found at
-# http://trellat.es/validar-la-referencia-catastral-en-javascript/
+# https://trellat.es/validar-la-referencia-catastral-en-javascript/
def _check_digit(number):
"""Calculate a single check digit on the provided part of the number."""
diff --git a/stdnum/eu/eic.py b/stdnum/eu/eic.py
index e6d9419..6342518 100644
--- a/stdnum/eu/eic.py
+++ b/stdnum/eu/eic.py
@@ -30,7 +30,7 @@ the object and 1 check character.
More information:
* https://en.wikipedia.org/wiki/Energy_Identification_Code
-* http://www.eiccodes.eu/
+* https://www.entsoe.eu/data/energy-identification-codes-eic/
>>> validate('22XWATTPLUS----G')
'22XWATTPLUS----G'
diff --git a/stdnum/eu/nace.py b/stdnum/eu/nace.py
index 6c1ced4..91fc2a4 100644
--- a/stdnum/eu/nace.py
+++ b/stdnum/eu/nace.py
@@ -32,7 +32,7 @@ according to revision 2 and based on the registry as published by the EC.
More information:
* https://en.wikipedia.org/wiki/Statistical_Classification_of_Economic_Activities_in_the_European_Community
-* http://ec.europa.eu/eurostat/ramon/nomenclatures/index.cfm?TargetUrl=LST_NOM_DTL&StrNom=NACE_REV2&StrLanguageCode=EN&IntPcKey=&StrLayoutCode=HIERARCHIC
+* https://ec.europa.eu/eurostat/ramon/nomenclatures/index.cfm?TargetUrl=LST_NOM_DTL&StrNom=NACE_REV2&StrLanguageCode=EN&IntPcKey=&StrLayoutCode=HIERARCHIC
>>> validate('A')
'A'
diff --git a/stdnum/fi/hetu.py b/stdnum/fi/hetu.py
index 334985f..26c538f 100644
--- a/stdnum/fi/hetu.py
+++ b/stdnum/fi/hetu.py
@@ -23,8 +23,8 @@
"""HETU (Henkilötunnus, Finnish personal identity code).
Module for handling Finnish personal identity codes (HETU, Henkilötunnus).
-See http://www.vaestorekisterikeskus.fi/default.aspx?id=45 for checksum
-calculation details and http://tarkistusmerkit.teppovuori.fi/tarkmerk.htm#hetu1
+See https://www.vaestorekisterikeskus.fi/default.aspx?id=45 for checksum
+calculation details and https://tarkistusmerkit.teppovuori.fi/tarkmerk.htm#hetu1
for historical details.
>>> validate('131052-308T')
diff --git a/stdnum/fr/nir.py b/stdnum/fr/nir.py
index bc02faf..5f8bf44 100644
--- a/stdnum/fr/nir.py
+++ b/stdnum/fr/nir.py
@@ -37,7 +37,7 @@ More information:
* https://en.wikipedia.org/wiki/INSEE_code
* http://resoo.org/docs/_docs/regles-numero-insee.pdf
* https://fr.wikipedia.org/wiki/Numéro_de_sécurité_sociale_en_France
-* http://xml.insee.fr/schema/nir.html
+* https://xml.insee.fr/schema/nir.html
>>> validate('2 95 10 99 126 111 93')
'295109912611193'
diff --git a/stdnum/gb/nhs.py b/stdnum/gb/nhs.py
index 65e07c7..ac6382d 100644
--- a/stdnum/gb/nhs.py
+++ b/stdnum/gb/nhs.py
@@ -27,9 +27,9 @@ the final digit is a check digit.
More information:
* https://en.wikipedia.org/wiki/NHS_number
-* http://www.nhs.uk/NHSEngland/thenhs/records/nhs-number/
+* https://www.nhs.uk/using-the-nhs/about-the-nhs/what-is-an-nhs-number/
* https://digital.nhs.uk/article/301/NHS-Number
-* http://www.datadictionary.nhs.uk/data_dictionary/attributes/n/nhs/nhs_number_de.asp
+* https://www.datadictionary.nhs.uk/data_dictionary/attributes/n/nhs/nhs_number_de.asp
>>> validate('943-476-5870')
'9434765870'
diff --git a/stdnum/gr/amka.py b/stdnum/gr/amka.py
index 867ac8e..e04efeb 100644
--- a/stdnum/gr/amka.py
+++ b/stdnum/gr/amka.py
@@ -27,7 +27,7 @@ person's date of birth and gender.
More information:
-* http://www.amka.gr/tieinai_en.html
+* https://www.amka.gr/tieinai_en.html
>>> validate('01013099997')
'01013099997'
diff --git a/stdnum/isil.py b/stdnum/isil.py
index 00bd65a..d69c5fc 100644
--- a/stdnum/isil.py
+++ b/stdnum/isil.py
@@ -40,7 +40,7 @@ web services for validation) but there is no common format to these services.
More information:
* https://en.wikipedia.org/wiki/ISBT_128
-* http://biblstandard.dk/isil/
+* https://biblstandard.dk/isil/
* https://www.iso.org/standard/57332.html
>>> validate('IT-RM0267')
diff --git a/stdnum/issn.py b/stdnum/issn.py
index fcd8819..10c6af9 100644
--- a/stdnum/issn.py
+++ b/stdnum/issn.py
@@ -29,7 +29,7 @@ ISBN-10).
More information:
* https://en.wikipedia.org/wiki/International_Standard_Serial_Number
-* http://www.issn.org/
+* https://www.issn.org/
>>> validate('0024-9319')
'00249319'
diff --git a/stdnum/kr/rrn.py b/stdnum/kr/rrn.py
index 35fdb99..b67493c 100644
--- a/stdnum/kr/rrn.py
+++ b/stdnum/kr/rrn.py
@@ -33,7 +33,7 @@ community center number, one serial number and a check digit.
More information:
-* http://www.law.go.kr/lsSc.do?tabMenuId=tab18&p1=&subMenu=1&nwYn=1&section=&tabNo=&query=%EA%B0%9C%EC%9D%B8%EC%A0%95%EB%B3%B4%20%EB%B3%B4%ED%98%B8%EB%B2%95
+* http://www.law.go.kr/lsSc.do?tabMenuId=tab18&p1=&subMenu=1&nwYn=1&section=&tabNo=&query=개인정보+보호법
* https://en.wikipedia.org/wiki/Resident_registration_number
* https://techscience.org/a/2015092901/
diff --git a/stdnum/mu/nid.py b/stdnum/mu/nid.py
index 5af67fd..fef4193 100644
--- a/stdnum/mu/nid.py
+++ b/stdnum/mu/nid.py
@@ -35,7 +35,7 @@ The number consists of one alphabetic character and thirteen digits:
More information:
-* http://mnis.govmu.org/English/ID%20Card/Pages/default.aspx
+* https://mnis.govmu.org/English/ID%20Card/Pages/default.aspx
"""
import datetime
diff --git a/stdnum/mx/curp.py b/stdnum/mx/curp.py
index c1ddfd1..0e05b74 100644
--- a/stdnum/mx/curp.py
+++ b/stdnum/mx/curp.py
@@ -27,7 +27,7 @@ gender and birth date and a check digit.
More information:
-* http://en.wikipedia.org/wiki/CURP
+* https://en.wikipedia.org/wiki/CURP
* https://www.gob.mx/curp/
>>> validate('BOXW310820HNERXN09')
diff --git a/stdnum/mx/rfc.py b/stdnum/mx/rfc.py
index 80b3de2..2904ed8 100644
--- a/stdnum/mx/rfc.py
+++ b/stdnum/mx/rfc.py
@@ -37,7 +37,7 @@ by default.
More information:
-* http://www.sisi.org.mx/jspsi/documentos/2005/seguimiento/06101/0610100162005_065.doc
+* https://www.infomex.org.mx/jspsi/documentos/2005/seguimiento/06101/0610100162005_065.doc
* https://es.wikipedia.org/wiki/Registro_Federal_de_Contribuyentes_(M%C3%A9xico)
An online validation service is available at:
diff --git a/stdnum/pl/regon.py b/stdnum/pl/regon.py
index 17b5c68..42f3f6a 100644
--- a/stdnum/pl/regon.py
+++ b/stdnum/pl/regon.py
@@ -27,8 +27,7 @@ local units append 5 digits to form a 14-digit number.
More information:
-* http://bip.stat.gov.pl/en/regon/
-* http://www.stat.gov.pl/bip/regon_ENG_HTML.htm
+* https://bip.stat.gov.pl/en/regon/
* https://wyszukiwarkaregon.stat.gov.pl/appBIR/index.aspx
>>> validate('192598184')