codekingpro/portable-devtools
114k
1"""Simple script to compute the api hash of the current API.
2
3The API has is defined by numpy_api_order and ufunc_api_order.
4
5"""
6from os.path import dirname
7
8from code_generators.genapi import fullapi_hash
9from code_generators.numpy_api import full_api
10
11if __name__ == '__main__':
12 curdir = dirname(__file__)
13 print(fullapi_hash(full_api))
14 