followthemoney 3.7.0__tar.gz → 3.7.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of followthemoney might be problematic. Click here for more details.
- {followthemoney-3.7.0/followthemoney.egg-info → followthemoney-3.7.1}/PKG-INFO +1 -1
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/__init__.py +1 -1
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/property.py +6 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Address.yaml +1 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/BankAccount.yaml +3 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Company.yaml +3 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/CryptoWallet.yaml +1 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Identification.yaml +1 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/LegalEntity.yaml +7 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Sanction.yaml +1 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Security.yaml +2 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Thing.yaml +1 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Vessel.yaml +2 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/common.py +2 -2
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/name.py +5 -1
- {followthemoney-3.7.0 → followthemoney-3.7.1/followthemoney.egg-info}/PKG-INFO +1 -1
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney.egg-info/requires.txt +1 -1
- {followthemoney-3.7.0 → followthemoney-3.7.1}/setup.py +2 -2
- {followthemoney-3.7.0 → followthemoney-3.7.1}/LICENSE +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/MANIFEST.in +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/README.md +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/cli/__init__.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/cli/aggregate.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/cli/cli.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/cli/exports.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/cli/mapping.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/cli/sieve.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/cli/util.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/compare.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/exc.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/export/__init__.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/export/common.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/export/csv.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/export/excel.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/export/graph.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/export/neo4j.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/export/rdf.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/graph.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/helpers.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/mapping/__init__.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/mapping/csv.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/mapping/entity.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/mapping/property.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/mapping/query.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/mapping/source.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/mapping/sql.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/messages.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/model.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/namespace.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/offshore.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/ontology.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/proxy.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/py.typed +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/rdf.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Airplane.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Analyzable.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Article.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Assessment.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Asset.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Associate.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Audio.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Call.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/CallForTenders.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Contract.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/ContractAward.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/CourtCase.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/CourtCaseParty.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Debt.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Directorship.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Document.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Documentation.yml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/EconomicActivity.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Email.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Employment.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Event.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Family.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Folder.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/HyperText.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Image.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Interest.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Interval.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/License.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Membership.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Mention.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Message.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Note.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Occupancy.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Organization.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Ownership.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Package.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Page.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Pages.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Passport.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Payment.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Person.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/PlainText.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Position.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Post.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Project.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/ProjectParticipant.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/PublicBody.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/RealEstate.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Representation.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Similar.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Succession.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Table.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/TaxRoll.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Trip.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/UnknownLink.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/UserAccount.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Value.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Vehicle.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Video.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema/Workbook.yaml +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/schema.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/ar/LC_MESSAGES/followthemoney.mo +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/ar/LC_MESSAGES/followthemoney.po +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/bs/LC_MESSAGES/followthemoney.mo +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/bs/LC_MESSAGES/followthemoney.po +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/de/LC_MESSAGES/followthemoney.mo +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/de/LC_MESSAGES/followthemoney.po +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/es/LC_MESSAGES/followthemoney.mo +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/es/LC_MESSAGES/followthemoney.po +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/fr/LC_MESSAGES/followthemoney.mo +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/fr/LC_MESSAGES/followthemoney.po +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/fr/followthemoney.po +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/messages.pot +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/nb/LC_MESSAGES/followthemoney.mo +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/nb/LC_MESSAGES/followthemoney.po +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/nl/LC_MESSAGES/followthemoney.mo +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/nl/LC_MESSAGES/followthemoney.po +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/pt_BR/LC_MESSAGES/followthemoney.mo +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/pt_BR/LC_MESSAGES/followthemoney.po +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/ru/LC_MESSAGES/followthemoney.mo +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/ru/LC_MESSAGES/followthemoney.po +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/ru/followthemoney.po +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/tr/LC_MESSAGES/followthemoney.mo +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/tr/LC_MESSAGES/followthemoney.po +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/__init__.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/address.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/checksum.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/country.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/date.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/email.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/entity.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/gender.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/iban.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/identifier.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/ip.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/json.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/language.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/mimetype.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/number.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/phone.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/registry.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/string.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/topic.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/types/url.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/util.py +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney.egg-info/SOURCES.txt +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney.egg-info/dependency_links.txt +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney.egg-info/entry_points.txt +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney.egg-info/namespace_packages.txt +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney.egg-info/not-zip-safe +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney.egg-info/top_level.txt +0 -0
- {followthemoney-3.7.0 → followthemoney-3.7.1}/setup.cfg +0 -0
|
@@ -24,6 +24,7 @@ class PropertyDict(TypedDict, total=False):
|
|
|
24
24
|
hidden: Optional[bool]
|
|
25
25
|
matchable: Optional[bool]
|
|
26
26
|
deprecated: Optional[bool]
|
|
27
|
+
maxLength: Optional[int]
|
|
27
28
|
# stub: Optional[bool]
|
|
28
29
|
rdf: Optional[str]
|
|
29
30
|
range: Optional[str]
|
|
@@ -58,6 +59,7 @@ class Property:
|
|
|
58
59
|
"type",
|
|
59
60
|
"matchable",
|
|
60
61
|
"deprecated",
|
|
62
|
+
"max_length",
|
|
61
63
|
"_range",
|
|
62
64
|
"format",
|
|
63
65
|
"range",
|
|
@@ -109,6 +111,9 @@ class Property:
|
|
|
109
111
|
else:
|
|
110
112
|
self.matchable = self.type.matchable
|
|
111
113
|
|
|
114
|
+
#: The maximum length of the property value.
|
|
115
|
+
self.max_length = int(data.get("maxLength") or self.type.max_length)
|
|
116
|
+
|
|
112
117
|
#: If the property is of type ``entity``, the set of valid schema to be added
|
|
113
118
|
#: in this property can be constrained. For example, an asset can be owned,
|
|
114
119
|
#: but a person cannot be owned.
|
|
@@ -197,6 +202,7 @@ class Property:
|
|
|
197
202
|
"qname": self.qname,
|
|
198
203
|
"label": self.label,
|
|
199
204
|
"type": self.type.name,
|
|
205
|
+
"maxLength": self.max_length,
|
|
200
206
|
}
|
|
201
207
|
if self.description:
|
|
202
208
|
data["description"] = self.description
|
|
@@ -27,15 +27,18 @@ BankAccount:
|
|
|
27
27
|
accountNumber:
|
|
28
28
|
label: Account number
|
|
29
29
|
type: identifier
|
|
30
|
+
maxLength: 64
|
|
30
31
|
iban:
|
|
31
32
|
label: IBAN
|
|
32
33
|
# type: identifier
|
|
33
34
|
# format: iban
|
|
34
35
|
type: iban
|
|
36
|
+
maxLength: 64
|
|
35
37
|
bic:
|
|
36
38
|
label: Bank Identifier Code
|
|
37
39
|
type: identifier
|
|
38
40
|
format: bic
|
|
41
|
+
maxLength: 16
|
|
39
42
|
bank:
|
|
40
43
|
label: Bank
|
|
41
44
|
type: entity
|
|
@@ -31,6 +31,7 @@ Company:
|
|
|
31
31
|
label: "VOEN"
|
|
32
32
|
description: "Azerbaijan taxpayer ID"
|
|
33
33
|
type: identifier
|
|
34
|
+
maxLength: 32
|
|
34
35
|
coatoCode:
|
|
35
36
|
label: "COATO / SOATO / OKATO"
|
|
36
37
|
type: identifier
|
|
@@ -107,6 +108,8 @@ Company:
|
|
|
107
108
|
label: PermID
|
|
108
109
|
description: LSEG/Refinitiv code for a company
|
|
109
110
|
type: identifier
|
|
111
|
+
maxLength: 16
|
|
110
112
|
ricCode:
|
|
111
113
|
label: Reuters Instrument Code
|
|
112
114
|
type: identifier
|
|
115
|
+
maxLength: 16
|
|
@@ -82,6 +82,7 @@ LegalEntity:
|
|
|
82
82
|
label: "V.A.T. Identifier"
|
|
83
83
|
description: "(EU) VAT number"
|
|
84
84
|
type: identifier
|
|
85
|
+
maxLength: 32
|
|
85
86
|
jurisdiction:
|
|
86
87
|
label: Jurisdiction
|
|
87
88
|
type: country
|
|
@@ -109,30 +110,36 @@ LegalEntity:
|
|
|
109
110
|
description: "Russian company ID"
|
|
110
111
|
type: identifier
|
|
111
112
|
# format: inn
|
|
113
|
+
maxLength: 32
|
|
112
114
|
ogrnCode:
|
|
113
115
|
label: "OGRN"
|
|
114
116
|
description: "Major State Registration Number"
|
|
115
117
|
type: identifier
|
|
116
118
|
# format: ogrn
|
|
119
|
+
maxLength: 32
|
|
117
120
|
leiCode:
|
|
118
121
|
# cf. https://www.gleif.org/en/about-lei/introducing-the-legal-entity-identifier-lei
|
|
119
122
|
label: "LEI"
|
|
120
123
|
description: "Legal Entity Identifier"
|
|
121
124
|
type: identifier
|
|
122
125
|
format: lei
|
|
126
|
+
maxLength: 32
|
|
123
127
|
dunsCode:
|
|
124
128
|
label: "DUNS"
|
|
125
129
|
description: "Data Universal Numbering System - Dun & Bradstreet identifier"
|
|
126
130
|
type: identifier
|
|
131
|
+
maxLength: 32
|
|
127
132
|
npiCode:
|
|
128
133
|
label: "NPI"
|
|
129
134
|
description: "National Provider Identifier"
|
|
130
135
|
type: identifier
|
|
136
|
+
maxLength: 32
|
|
131
137
|
swiftBic:
|
|
132
138
|
label: "SWIFT/BIC"
|
|
133
139
|
description: "Bank identifier code"
|
|
134
140
|
type: identifier
|
|
135
141
|
format: bic
|
|
142
|
+
maxLength: 16
|
|
136
143
|
parent:
|
|
137
144
|
label: "Parent company"
|
|
138
145
|
description: "If this entity is a subsidiary, another entity (company or organisation) is its parent"
|
|
@@ -25,6 +25,7 @@ Security:
|
|
|
25
25
|
description: International Securities Identification Number
|
|
26
26
|
type: identifier
|
|
27
27
|
format: isin
|
|
28
|
+
maxLength: 16
|
|
28
29
|
registrationNumber:
|
|
29
30
|
label: Registration number
|
|
30
31
|
type: identifier
|
|
@@ -35,6 +36,7 @@ Security:
|
|
|
35
36
|
label: Financial Instrument Global Identifier
|
|
36
37
|
type: identifier
|
|
37
38
|
format: figi
|
|
39
|
+
maxLength: 16
|
|
38
40
|
issuer:
|
|
39
41
|
label: "Issuer"
|
|
40
42
|
type: entity
|
|
@@ -19,7 +19,7 @@ class PropertyTypeToDict(TypedDict, total=False):
|
|
|
19
19
|
label: str
|
|
20
20
|
plural: str
|
|
21
21
|
description: Optional[str]
|
|
22
|
-
|
|
22
|
+
maxLength: int
|
|
23
23
|
group: Optional[str]
|
|
24
24
|
matchable: Optional[bool]
|
|
25
25
|
pivot: Optional[bool]
|
|
@@ -198,7 +198,7 @@ class PropertyType(object):
|
|
|
198
198
|
"label": gettext(self.label),
|
|
199
199
|
"plural": gettext(self.plural),
|
|
200
200
|
"description": gettext(self.docs),
|
|
201
|
-
"
|
|
201
|
+
"maxLength": self.max_length,
|
|
202
202
|
}
|
|
203
203
|
if self.group:
|
|
204
204
|
data["group"] = self.group
|
|
@@ -53,7 +53,11 @@ class NameType(PropertyType):
|
|
|
53
53
|
right_clean = clean_name_light(right)
|
|
54
54
|
if left_clean is None or right_clean is None:
|
|
55
55
|
return 0.0
|
|
56
|
-
return levenshtein_similarity(
|
|
56
|
+
return levenshtein_similarity(
|
|
57
|
+
left_clean,
|
|
58
|
+
right_clean,
|
|
59
|
+
max_length=self.max_length,
|
|
60
|
+
)
|
|
57
61
|
|
|
58
62
|
def node_id(self, value: str) -> Optional[str]:
|
|
59
63
|
slug = slugify(value)
|
|
@@ -5,7 +5,7 @@ with open("README.md") as f:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="followthemoney",
|
|
8
|
-
version="3.7.
|
|
8
|
+
version="3.7.1",
|
|
9
9
|
author="Organized Crime and Corruption Reporting Project",
|
|
10
10
|
author_email="data@occrp.org",
|
|
11
11
|
url="https://followthemoney.tech/",
|
|
@@ -35,7 +35,7 @@ setup(
|
|
|
35
35
|
"types-PyYAML",
|
|
36
36
|
"sqlalchemy2-stubs",
|
|
37
37
|
"banal >= 1.0.6, < 1.1.0",
|
|
38
|
-
"rigour >= 0.
|
|
38
|
+
"rigour >= 0.6.1, < 1.0.0",
|
|
39
39
|
"click >= 8.0, < 9.0.0",
|
|
40
40
|
"stringcase >= 1.2.0, < 2.0.0",
|
|
41
41
|
"requests >= 2.21.0, < 3.0.0",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/fr/followthemoney.po
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney/translations/ru/followthemoney.po
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{followthemoney-3.7.0 → followthemoney-3.7.1}/followthemoney.egg-info/namespace_packages.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|