mirror of
https://github.com/lionsoul2014/ip2region.git
synced 2025-12-08 19:25:22 +00:00
add global copyright and governed agreement
This commit is contained in:
parent
97b837bc81
commit
811ffa1dce
@ -1,6 +1,6 @@
|
||||
#
|
||||
# bench_test.py
|
||||
# bench_test
|
||||
# Copyright 2022 The Ip2Region Authors. All rights reserved.
|
||||
# Use of this source code is governed by a Apache2.0-style
|
||||
# license that can be found in the LICENSE file.
|
||||
#
|
||||
# Created by luckydog on 2022/7/1.
|
||||
# Copyright © 2022年 luckydog. All rights reserved.
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
# Copyright 2022 The Ip2Region Authors. All rights reserved.
|
||||
# Use of this source code is governed by a Apache2.0-style
|
||||
# license that can be found in the LICENSE file.
|
||||
#
|
||||
|
||||
from xdbSearcher import XdbSearcher
|
||||
|
||||
@ -49,4 +53,4 @@ def searchWithContent():
|
||||
|
||||
if __name__ == '__main__':
|
||||
searchWithContent()
|
||||
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#
|
||||
# search_test.py
|
||||
# search_test
|
||||
# Copyright 2022 The Ip2Region Authors. All rights reserved.
|
||||
# Use of this source code is governed by a Apache2.0-style
|
||||
# license that can be found in the LICENSE file.
|
||||
#
|
||||
# Created by luckydog on 2022/7/1.
|
||||
# Copyright © 2022年 luckydog. All rights reserved.
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#
|
||||
# ip2Region.py
|
||||
# ip2Region
|
||||
# Copyright 2022 The Ip2Region Authors. All rights reserved.
|
||||
# Use of this source code is governed by a Apache2.0-style
|
||||
# license that can be found in the LICENSE file.
|
||||
#
|
||||
# Created by luckydog on 2022/6/29.
|
||||
# Copyright © 2022年 luckydog. All rights reserved.
|
||||
@ -188,4 +188,4 @@ if __name__ == '__main__':
|
||||
for ip in ip_array:
|
||||
region_str = searcher.searchByIPStr(ip)
|
||||
print(region_str)
|
||||
searcher.close()
|
||||
searcher.close()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user