Comments (2)
BTW, according to the international telecom pattern E.164, the total amount of numbers should be 15 at maximum.
from python-phonenumbers.
A PhoneNumber object will have a national-significant-number part that's limited to 17 chars, plus up to 3 chars of country code (but it can have a long extension attached too).
The upstream source notes for this limit of 17 that: "The ITU says the maximum length should be 15, but we have found longer numbers in Germany".
Additionally, an E164 number can get prefixed with an international dialling code (e.g 011) and suffixed with an extension, and might have all sorts of other punctuation embedded (e.g. "001-(900) 234-5678 extension 123456") -- so a user-input phone number field can potentially be a lot longer than 17+3.
As a result the internal limit is 250 characters, but I don't know of any other limits.
from python-phonenumbers.
Related Issues (20)
- Carrier response returns blank info HOT 2
- Carrier Name not returning HOT 1
- Not getting carrier name of US numbers HOT 2
- Prefix at RFC 3966 HOT 2
- number works with parse; fails with PhoneNumberMatcher HOT 2
- Is it possible to know phone number type? HOT 1
- Fuzzing python-phonenumbers on OSS-Fuzz HOT 3
- Phone Number parsing incorrectly HOT 1
- Customize pattern for a region HOT 1
- Error when using is_possible_number() HOT 2
- Validate a phone number string against E164 standard HOT 1
- region_code_for_number returning None for Some Valid US numbers. HOT 1
- brazil number encountered as invalid even though the client claims it is HOT 1
- Support for ISO3166-1 country codes HOT 2
- United States area code 557 is not working in python-phonenumbers HOT 5
- Dutch public services numbers: eg. 140418 HOT 2
- Automatically track upstream version HOT 7
- Bus factor of 1 HOT 6
- Error parsing phone numbers with double leading 1's HOT 3
- Issue with Kuwait number HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-phonenumbers.