Saravanan666/pypi-org huggingface dataset:
Package: addressbook
WHY BUILD ANOTHER ADDRESS BOOK?Why build another address book?
I created this address book because I was frustrated with
current address book solutions which try to integrate
everything.  The current software-industry ( or projects )
trend towards pushing users personal information into the
cloud; is alarming, not so-much about where the data is
stored but how badly data is leaked, hacked, and compelled
( by law enforcement ) for data access. Additionally,
cloud services have let me down by corrupting data, failing
to secure data, and worst of all; deleting data when
I needed it most.Perhaps, more simply-put, I wanted an address book that
no-one may control but me, is simple, and cloudless.After all clouds mean rain and I’ve had enough of it.
So, get this address book and take control of your
data.RELEASE NOTESAdded sorting to grids for main dashboard and relationships. Table headers sort by clicked column header.
Added postal code and status to address tab on dashboard to match address entry window.
Added settings for default window sizes so users can adjust, if needed, for their operating system. Change defaults by editing settings.py file.
Allow users to change the default search LIMIT on rows returned for search. Change defaults by editing settings.py file.INSTALL DIRECTIONS
Unfortunately I have not figured out how to get setup tools to cooperate with entry_pointsTherefore:
FIRST: Backup your database if you already installed a prior version.pip3.4 install addressbook
Then launch addressbook/main.py from the site-packages folder
Example: (Current directory) site-packages/addressbook python3.4 main.pyIf you have an existing database will not be overwritten, but again, just back it up first in case I made a mistake.
Package: addresscleaner
# Betwen the Bars address cleanerThis is a simple library to clean and normalize textual addresses.  It is
biased toward the sorts of addresses people in prison are given.## Example usagefrom addresscleaner import parse_address, format_address>>> parsed = parse_address("""John Dough
... #1234567
... 7819 228th St.
... Raiford, FL 32026-1120""")
>>> print parsed
{'name': 'John Dough', 'address1': '#1234567', 'address2': '7819 228th St.', 'city': 'Raiford',  'state': 'FL', 'zip': '32026-1120'}>>> format_address(parsed)
u'John Dough\n#1234567\n7819 228th St.\nRaiford, FL  32026-1120'An exception of typeaddresscleaner.AddressExceptionis raised if the
parser is unable to figure out something about the address.  The exception’s
message tries to explain as much as possible where it went wrong.
Package: addresser
Addresser parses and normalizes street addresses and intersections. It is a port of the Node package,parse-address, which in turn is a port of the PERL package,Geo::StreetAddress::US.From theGeo::StreetAddress::USdescription:Geo::StreetAddress::US is a regex-based street address and street intersection parser for the United States. Its
basic goal is to be as forgiving as possible when parsing user-provided address strings. Geo::StreetAddress::US knows
about directional prefixes and suffixes, fractional building numbers, building units, grid-based addresses (such as
those used in parts of Utah), 5 and 9 digit ZIP codes, and all of the official USPS abbreviations for street types
and state names…InstallAddresser can be installed from pip:$ pip install addresserUsagefromaddresserimportparse_locationparse_location('1005 N Gravenstein Highway Sebastopol CA 95472')Result{'number':'1005','prefix':'N','street':'Gravenstein','type':'Hwy','city':'Sebastopol','state':'CA','zip':'95472'}
Package: address_extractor
A script to extract US-style street addresses from a text file$ address_extractor
1600 Pennsylvania Ave NW, Washington, DC 20500 ^D
1 lines in input
,1600 Pennsylvania Ave NW,Washington DC 20500
$ address_extractor -o output.csv input.csv
4361 lines in input
*snip*
11 lines unable to be parsed
$ ls
output.csvaddress_extractortakes text or a text file containing address-like data, one address per line, and parses it into a uniform format with theusaddresspackage.InstallationThis package is available from PyPi viapip:pip install address_extractorThis will install the module as well as the command-line script asaddress_extractor.Command-line Usageaddress_extractor [-h] [-o OUTPUT] [--remove-post-zip] [input]

positional arguments:
  input                 the input file. Defaults to stdin.

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        the output file. Defaults to stdout.
  --remove-post-zip, -r
                        when scanning the input lines, remove everything after
                        a sequence of 5 digits followed by a comma. The
                        parsing library used by this script chokes on
                        addresses containing this kind of information, often a
                        county name.Lines that could not be parsed will be printed toSTDERR. They can be saved to a file with standardbashredirection techniques:$ address_extractor -o good_addresses.csv has_some_bad_addresses.txt 2> bad_addresses.txtUsage as a Moduleaddress_extractorcan be used as a Python module:>>> import address_extractor
>>> address_extractor.main(input=input_file_object, output=output_file_object, remove_post_zip=a_bool)There are some small issues with this implementation:If usingsys.stdinorsys.stdoutfor input or output, respectively, the file objects will still be closed. This presents issues trying to use these in the future.Errored lines are still printed tosys.stderrwhich may not be expected.Versions and StabilityThis package is uploaded as a 0.1.0 release. There are no tests and little error checking–it originated as a quick-‘n-dirty script and I decided to release it as a package to gain familiarity with that process.Issues, comments, and pull requests are welcome at the GitHub page!
Package: addressformatting
International Address formatterThis is a address formatter that can format addresses in multiple formats that are common
in different countries.For formatting the addresses theworldwide.ymlfromOpenCageData address-formatting repositoryis used to format the address according to customs in the country that is been encoded.API documentationThe complete project contains actually only one class:AddressFormatterPublicly accessible method prototypes are:def__init__(self,config=None):passdefformat(self,address,country=None):passdefone_line(self,address,country=None):pass__init__Initialize the address formatterconfig: (optional) override default config file to use for the address formatter, defaults to config file included in this packageformatFormat an address in the default layout used in the specified country. Return value may contain line breaks.address: Dictionary that contains the address parts, see below for recognized keyscountry: Country code of the formatting template to useRecognized keys inaddress:attentionhouseroadhouse_numberpostcodecitytownvillagecountystatecountrysuburbcity_districtstate_districtstate_codeneighbourhoodone_lineWorks the same asformatbut returns a single line of text.
Package: addresshunt
DescriptionThe addresshunt package gives you painless access to the addresshunt API’s.
It performs requests against our API’s forAutocomplete addressMatching addressAddress validationSplit addressForward geocodingReverse geocodingTimezoneZone management (API only)For further details, please visit:homepageRequirementsaddresshunt-py is tested against Python 3.6, 3.7, 3.8 and 3.9, and PyPy3.6 and PyPy3.7.InstallationTo install from PyPI, simply use pip:pip install addresshuntUsageExamplesimportaddresshuntautocomplete_address="11 NICHOLSON STREET"match_address="NICHOLSON STREET"forward_geocode_address="MELBOURNE MUSEUM, 11 NICHOLSON STREET, CARLTON, VIC, 3053"reverse_geocode_address_latitude="-37.803165"reverse_geocode_address_longitude="144.971802"split_address="MELBOURNE MUSEUM, 11 NICHOLSON STREET, CARLTON, VIC, 3053"timezone_address="MELBOURNE MUSEUM, 11 NICHOLSON STREET, CARLTON, VIC, 3053"validate_address="MELBOURNE MUSEUM, 11 NICHOLSON STREET, CARLTON, VIC, 3053"client=addresshunt.Client(api_key='')# Specify your personal API keyautocomplete=client.autocomplete(autocomplete_address)print("autocomplete:\n"+str(autocomplete)+str('\n'))match=client.match(match_address)print("match:\n"+str(match)+str('\n'))forward_geocode=client.forward_geocode(forward_geocode_address)print("forward_geocode:\n"+str(forward_geocode)+str('\n'))reverse_geocode=client.reverse_geocode(reverse_geocode_address_latitude,reverse_geocode_address_longitude)print("reverse_geocode:\n"+str(reverse_geocode)+str('\n'))split=client.split(split_address)print("split:\n"+str(split)+str('\n'))timezone=client.timezone(timezone_address)print("timezone:\n"+str(timezone)+str('\n'))validate=client.validate(validate_address)print("validate:\n"+str(validate)+str('\n'))For convenience, all request performing module methods are wrapped inside theclientclass.Dry runAlthough errors in query creation should be handled quite decently, you can do a dry run to print the request and its parameters:importaddresshuntautocomplete_address="11 NICHOLSON STREET"client=addresshunt.Client(api_key='')# Specify your personal API keyaddress_list=client.autocomplete(autocomplete_address,dry_run='true')SupportFor issues/bugs/enhancement suggestions, please usehttps://github.com/AddressHunt/addresshunt-py/issues.
Package: address-lookup
This package allows you to lookup partial addresses using various online services, returning the address in a standardized form.Supported servicesHERE API (API key required)Soon-to-be-supported servicesGoogle Maps APIObtaining an API keyHERE API keyCreate a HERE developer accounthere. Create a new project, and obtain a REST token. You can use this token with the Address Lookup library.UsageHERE API usagefromaddress_lookup.clientsimportAddressLookupHereClientAPI_KEY="YOUR_API_KEY"here_client=AddressLookupHereClient(API_KEY)result=here_client.lookup_address("White House, USA")print(result.asdict())
Package: address-magic
# Table of Contents# Address magicAddress magic is a wraper around [postal](https://github.com/openvenues/pypostal).example:from address_magic import Address
address = Address(“The Book Club 100-106 Leonard St, Shoreditch, London, Greater London, EC2A 4RH, United Kingdom”)
print(address.road)
print(address.country)
print(address.postcode)
Package: address-name-system
Address Name System (ANS) for NarunoANS is a decentralized system that maps blockchain addresses to dynamic IPs, making it easy to access servers with changing IP addresses. With ANS, you can access your server by using your unique blockchain address instead of constantly searching for its changing IP address.FeaturesDecentralized systemSecure communication between nodesFast and easy to useMaps blockchain addresses to dynamic IPsUses encryption to protect sensitive informationInstallationYou can install ANS by pip3:pip3 install address_name_systemUsage*If you want to use address_name_system you must to use Naruno. For now please checkout theBaklava Testnet.Getting address of client and server:narunocli -pwServerFor accessing your dynamic IPs over blockchain you should create a address_name_system and giving trusted user addresses.fromaddress_name_systemimportansmy_ans_server=ans("MyNarunoPass")my_ans_server.set_encrypt_key("mystrongencrypt_key")my_ans_server.add_user("client_address")my_ans_server.run()also you can use in command line:ans --password MyNarunoPass --encrypt_key "mystrongencrypt_key" --trusted_users ["client_address"] runClientTo use ANS, you can call the ans.ip function with your blockchain address as the parameter:fromaddress_name_systemimportansmy_ans_client=ans("MyNarunoPass")ip_address=my_ans_client.ip("server_address","mystrongencrypt_key")print(ip_address)my_ans_client.close()also you can use in command line:ans --password "MyNarunoPass" ip "server_address" "mystrongencrypt_key"This will return the dynamic IP address associated with your blockchain address.ContributingContributions to ANS are welcome! If you have any suggestions or find a bug, please open an issue on the GitHub repository. If you want to contribute code, please fork the repository and create a pull request.LicenseANS is released under the MPL-2.0 License.
Package: address-parser
Yet another python address parser for US postal addressesBasic usage:fromaddress_parserimportParserparser=Parser()adr=parser.parse(line)Theadrobject is a nested object with address parts as properties.returnTopBunch(number=Bunch(type='P',number=int(self.number)ifself.numberelse-1,tnumber=str(self.number),end_number=self.multinumber,fraction=self.fraction,suite=self.suite,is_block=self.is_block),road=Bunch(type='P',name=self.street_name,direction=self.street_directionifself.street_directionelse'',suffix=self.street_typeifself.street_typeelse''),locality=Bunch(type='P',city=self.city,state=self.state,zip=self.zip),hash=self.hash,text=str(self))Then, you can access properties on the object. The top level properties are:number: The house numbernumber.number. The number as an integer, or -1 if there is no house numbernumber.tnumber: The number as textnumber.end_number: The final number in a number ragenumber.fraction: The fractional part of the house numbernumber.suite: A suite or unit number.road: The streetroad.name: The bare street nameroad.direction. A cardinal direction, N, S, E, W, NE, NW, etc.road.suffix. The road type, sich as St, Ave, Pl.locality: City, state, ziplocality.citylocality.statelocality.ziptext: Holds the whole address as text.You can also access everything as dicts. From the top level,adr.dictwill return all parsed components as a dict, and each of the top level bunches can also be acess as dicts, such asadr.road.dict
Package: address-ping-system
Address Ping System (APS) for NarunoAddress Ping System (APS) is a tool designed to check the online status of servers associated with blockchain addresses in Naruno. With APS, you can ensure that the servers you want to communicate with are online and reachable before sending any messages or making any transactions.FeaturesDecentralized systemSecure communication between nodesFast and easy to useChecks online status of servers associated with blockchain addressesInstallationYou can install APS by pip3:pip3 install address_ping_systemUsage*If you want to use address_ping_system you must to use Naruno. For now please checkout theBaklava Testnet.Getting address of client and server:narunocli -pwServerFor a server to be pinged by APS, it needs to have a corresponding APS entry with trusted user addresses set up.fromaddress_ping_systemimportapsmy_aps_server=aps("MyNarunoPass")my_aps_server.add_user("client_address")my_aps_server.run()also you can use in command line:aps --password MyNarunoPass --trusted_users ["client_address"] runClientTo use APS, you can call the aps.ping function with your blockchain address and the server's blockchain address as parameters:fromaddress_ping_systemimportapsmy_aps_client=aps("MyNarunoPass")result=my_aps_client.ping("server_address")print(result)my_aps_client.close()also you can use in command line:aps --password MyNarunoPass ping "server_address"This will return a boolean value indicating whether the server associated with the provided blockchain address is online and reachable.ContributingContributions to APS are welcome! If you have any suggestions or find a bug, please open an issue on the GitHub repository. If you want to contribute code, please fork the repository and create a pull request.LicenseAPS is released under the MPL-2.0 License.
Package: addressrec
地址解析识别python版本👉JavaScript版本项目基于JioNLP 地址解析来进行地址识别地址库：2020年国家统计局行政区划基于结巴分词提供的分词以及语义化分析进行姓名识别基于Levenshtein字符串相似度算法来进行详细地址过滤依赖下载python支持版本：>=3.8pip3installaddressrec使用直接运行importaddressrec
print(addressrec.run('王志超029-68216000新疆维吾尔自治区乌鲁木齐市沙依巴克区西虹东路463号',True,False))# addressrec(text, town_village, town_village)# "text":"王志超029-68216000新疆维吾尔自治区乌鲁木齐市沙依巴克区西虹东路463号",# "town_village": True, //可不传默认True 指定参数town_village(bool)，可获取乡镇、村、社区两级详细地名# "change2new": False //可不传默认True 指定参数change2new(bool)可自动将旧地址转换为新地址返回结果：{"city":"乌鲁木齐市","county":"沙依巴克区","detail":"西虹东路463号","name":"王志超","phone":"029-68216000","province":"新疆维吾尔自治区","town":"","village":""}封装为接口调用：# pip3 install flaskfromflaskimportFlask,request,jsonifyapp=Flask(__name__)@app.route('/smart_address',methods=['POST'])defhandle_smart_address():data=request.get_json()text=data.get('text','')town_village=data.get('town_village',True)change2new=data.get('change2new',False)result=smart_address(text,town_village,change2new)ifresult:returnjsonify(result)else:returnjsonify({"error":"Failed to process the request"}),500if__name__=='__main__':app.run(host='0.0.0.0',port=3000)#URL: `http://127.0.0.1:3000/smart_address`#METHOD: 'POST'#BODY:#{#    "text":"王志超029-68216000新疆维吾尔自治区乌鲁木齐市沙依巴克区西虹东路463号",#    "town_village": true, //可不传默认true 指定参数town_village(bool)，可获取乡镇、村、社区两级详细地名#    "change2new": false //可不传默认false 指定参数change2new(bool)可自动将旧地址转换为新地址#}识别结果测试广东省珠海市香洲区盘山路28号幸福茶庄,陈景勇，13593464918识别结果：{'city':'珠海市','county':'香洲区','detail':'盘山路28号幸福茶庄,，','name':'陈景勇','phone':'13593464918','province':'广东省','town':'','village':''}-----------------
马云，陕西省西安市雁塔区丈八沟街道高新四路高新大都荟13593464918识别结果：{'city':'西安市','county':'雁塔区','detail':'高新四路高新大都荟','name':'马云','phone':' 13593464918','province':'陕西省','town':'丈八沟街道','village':''}-----------------
陕西省西安市雁塔区丈八沟街道高新四路高新大都荟710061刘国良13593464918识别结果：{'city':'西安市','county':'雁塔区','detail':'高新四路高新大都荟710061','name':'刘国良','phone':' 13593464918','province':'陕西省','town':'丈八沟街道','village':''}-----------------
西安市雁塔区丈八沟街道高新四路高新大都荟710061刘国良13593464918识别结果：{'city':'西安市','county':'雁塔区','detail':'高新四路高新大都荟710061','name':'刘国良','phone':' 13593464918','province':'陕西省','town':'丈八沟街道','village':''}-----------------
雁塔区丈八沟街道高新四路高新大都荟710061刘国良13593464918识别结果：{'city':'西安市','county':'雁塔区','detail':'高新四路高新大都荟710061','name':'刘国良','phone':' 13593464918','province':'陕西省','town':'丈八沟街道','village':''}-----------------
收货人:李节霁手机号码:15180231234所在地区:浙江省金华市婺城区西关街道详细地址:金磐路上坞街识别结果：{'city':'金华市','county':'婺城区','detail':'详细地址: 金磐路上坞街','name':'李节','phone':' 15180231234','province':'浙江省','town':'西关街道','village':''}-----------------
收货人:马云手机号码:150-3569-6956详细地址:河北省石家庄市新华区中华北大街68号鹿城商务中心6号楼1413室识别结果：{'city':'石家庄市','county':'新华区','detail':'中华北大街68号鹿城商务中心6号楼1413室','name':'马云','phone':' 150-3569-6956','phone1':'150-3569-6956','province':'河北省','town':'','village':''}-----------------LICENSE：Apache LicenseIDE:致谢JetBrains为本项目提供免费license支持联系我，欢迎交流qq交流群
Package: address-search-google
Search Google AddressUsageGoogle Search API with caching for repeated search.Example Codefromsearch_addrimportSearchAddressGoogleAPIsearch_lib=SearchAddressGoogleAPI(key="YOUR_GOOGLE_SERVER_KEY")search_lib.search_google("569KA/104 Shen Nagar, Alambagh, Lucknow, Uttar Pradesh, 226005")
Package: address-templeter
address_templeterБиблиотека предназначена для поиска, смысловому разделению и чистки адресных строк.Пример использованияМетод parse возвращает массив с метками для каждого токена:<<< address_templeter.parse("г. Судак Солнечная 9 а")
>>> [('г', 'PlacePretext'), ('Судак', 'Place'), ('Солнечная', 'Street'), ('9', 'HouseNumber'), ('а', 'HouseNumber')]Метод clean возвращает строку без знаков препинания и лишних пробелов. Параметр prefix указывает возвращать ли значения не являющиеся наименованиями. Параметры: name_building указывает возвращать ли наименование объекта (если оно имеется):address:str - строка с адрессомhouse:bool - возвращать номер дома (например 21-Б), наименования объекта, и его префикс (магазин, парк, прочее)По умолчанию False;index:bool - возвращать почтовый индекс. По умолчанию False.place_pretext:bool возвразать тип места (город, село). По умолчанию False;region_pretext:bool возвразать тип региона (область, регион). Также, расшифровываться аббревиатуры и сокращения.  По умолчанию False;address_pretext:bool возвразать тип улицы (проспект, бульвар). Также, расшифровываться аббревиатуры  и сокращения. По умолчанию False;<<< address_templeter.clean("Ясниноватский район, возле белого магазина, Донецкая область, улица Садовая, 26а", prefix=False, house=True)
>>> Ясниноватский Садовая 26аУстановкаpip install address-templeterФормирования дата сета и обучениеПо умолчанию, библиотека уже содержит модель для использования необходимых методов.Для формирования своей уникальной модели, необходимо:Сформировать xml файл для обучения можно выполнив checked_to_xml.ipynb (необходим jupyter notebook).Выполнить следующие команды для создания файла модели:cd/path/to/Address_Templeter
pipinstallparserator
parseratortraintraining/dataset.xmladdress_templeter#  По окончание обучения получится файл можели learned_settings.crfsuiteПереустановить библиотеку address_templeter
Package: address-to-line
address_to_lineTranslate return addresses into source locations using thereadelfandaddr2lineutilities from theGNU Binutilspackage.RequirementsThis package depends on thereadelfandaddr2lineutilities from theGNU Binutilspackage.UsageConverting return addresses captured from within some process requires a copy of that process'/proc/[pid]/mapsfile.Command line:python3 -m address_to_line <proc_map_file> <addresses>whereproc_map_fileis a copy of a process'/proc/[pid]/mapsfile andaddressesis a text file containing 1 (hexaecimal) return address per line.Code:fromaddress_to_lineimportresolve_source_locationsproc_map_file="memory_map.txt"# The relevant /proc/[pid]/maps fileaddresses_file="addresses.txt"# Contains 1 (hexadecimal) return address per linewithopen(addresses_file,"r")asf:addresses=[int(line,base=16)forlineinf.readlines()]# A list of named tuples of address, function, source file and linesource_locations=resolve_source_locations("memory_map.txt",addresses)
Package: add-return-None-to-init
Automatic add 'None' return type to initThis moduel automatically addsNonereturn type to every init function, i.e.def__init__(...)->None:Usage``sh
usage: py-add-return-None-to-all-init [-h] [-d] PATHYou can run the module with
```sh
py-add-return-None-to-all-init MY_PYTHON_PROJ [--dry-run]With the--dry-runflag it will only be verbose on what it's gonna perform without writing to disk. It will performs the actual run it the dry run flag is not presence.
Package: addrparser
Address parserSimple address parser with localization support.Note:This library is meant to be simple, light weight and easy to adapt. This is not the best and most optimized address parser out there.
Forstate of the artparser you should probably look athttps://github.com/openvenues/pypostalDocumentation:https://gispocoding.github.io/addr-parserGitHub:https://github.com/gispocoding/addr-parserPyPI:https://pypi.org/project/addrparser/Free software: MITSupported countriesCountryDescriptionDocumentationSuomi - FinlandSuomalaisten osoitteiden osoiteparserihttps://gispocoding.github.io/addr-parser/locales/fiInstallationpip install addrparserSetting up a development environmentSee instructions inCONTRIBUTING.mdUsageCommand line tool$addr-parse--help
Usage:addr-parse[OPTIONS]ADDRESSClitoolforparsingtextaddresses.Args:address(str):addresstext

Options:-l,--localeTEXTCountrycodeintwo-letterISO3166--helpShowthismessageandexit.$addr-parser"Iso Maantie 12b B 7"{"input":"Iso Maantie 12b B 7","result":{"street_name":"Iso Maantie","house_number":"12b","entrance":"B","apartment":"7"}}Library>>>fromaddrparserimportAddressParser>>>parser=AddressParser('fi')>>>address=parser.parse('Iso Maantie 12b B 7')>>>addressAddress(street_name='Iso Maantie',house_number='12b',entrance='B',apartment='7',post_office_box=None,zip_number=None,zip_name=None)CreditsThis project was created with inspiration fromwaynerv/cookiecutter-pypackageproject template.