-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wrote the factory method for parsing XML file and store in attribute
- Loading branch information
bc299
committed
Jan 3, 2024
1 parent
d889b55
commit 187468b
Showing
4,014 changed files
with
978,706 additions
and
45,319 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
dbdpy-dev | ||
dbdpy-dev | ||
data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/Users/billchen/Desktop/dbdpy/dbdpy-env/bin/python3 | ||
# -*- coding: utf-8 -*- | ||
import re | ||
import sys | ||
from numpy.f2py.f2py2e import main | ||
if __name__ == '__main__': | ||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) | ||
sys.exit(main()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/Users/billchen/Desktop/dbdpy/dbdpy-env/bin/python3 | ||
# -*- coding: utf-8 -*- | ||
import re | ||
import sys | ||
from pip._internal.cli.main import main | ||
if __name__ == '__main__': | ||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) | ||
sys.exit(main()) |
File renamed without changes.
975 changes: 975 additions & 0 deletions
975
dbdpy-env/lib/python3.9/site-packages/numpy-1.26.3.dist-info/LICENSE.txt
Large diffs are not rendered by default.
Oops, something went wrong.
1,096 changes: 1,096 additions & 0 deletions
1,096
dbdpy-env/lib/python3.9/site-packages/numpy-1.26.3.dist-info/METADATA
Large diffs are not rendered by default.
Oops, something went wrong.
1,407 changes: 1,407 additions & 0 deletions
1,407
dbdpy-env/lib/python3.9/site-packages/numpy-1.26.3.dist-info/RECORD
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
dbdpy-env/lib/python3.9/site-packages/numpy-1.26.3.dist-info/WHEEL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Wheel-Version: 1.0 | ||
Generator: meson | ||
Root-Is-Purelib: false | ||
Tag: cp39-cp39-macosx_11_0_arm64 |
9 changes: 9 additions & 0 deletions
9
dbdpy-env/lib/python3.9/site-packages/numpy-1.26.3.dist-info/entry_points.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[array_api] | ||
numpy = numpy.array_api | ||
|
||
[pyinstaller40] | ||
hook-dirs = numpy:_pyinstaller_hooks_dir | ||
|
||
[console_scripts] | ||
f2py = numpy.f2py.f2py2e:main | ||
|
Binary file added
BIN
+155 KB
dbdpy-env/lib/python3.9/site-packages/numpy/.dylibs/libgcc_s.1.1.dylib
Binary file not shown.
Binary file added
BIN
+3.53 MB
dbdpy-env/lib/python3.9/site-packages/numpy/.dylibs/libgfortran.5.dylib
Binary file not shown.
Binary file added
BIN
+22.1 MB
dbdpy-env/lib/python3.9/site-packages/numpy/.dylibs/libopenblas64_.0.dylib
Binary file not shown.
Binary file added
BIN
+363 KB
dbdpy-env/lib/python3.9/site-packages/numpy/.dylibs/libquadmath.0.dylib
Binary file not shown.
156 changes: 156 additions & 0 deletions
156
dbdpy-env/lib/python3.9/site-packages/numpy/__config__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
# This file is generated by numpy's build process | ||
# It contains system_info results at the time of building this package. | ||
from enum import Enum | ||
from numpy.core._multiarray_umath import ( | ||
__cpu_features__, | ||
__cpu_baseline__, | ||
__cpu_dispatch__, | ||
) | ||
|
||
__all__ = ["show"] | ||
_built_with_meson = True | ||
|
||
|
||
class DisplayModes(Enum): | ||
stdout = "stdout" | ||
dicts = "dicts" | ||
|
||
|
||
def _cleanup(d): | ||
""" | ||
Removes empty values in a `dict` recursively | ||
This ensures we remove values that Meson could not provide to CONFIG | ||
""" | ||
if isinstance(d, dict): | ||
return {k: _cleanup(v) for k, v in d.items() if v and _cleanup(v)} | ||
else: | ||
return d | ||
|
||
|
||
CONFIG = _cleanup( | ||
{ | ||
"Compilers": { | ||
"c": { | ||
"name": "clang", | ||
"linker": "ld64", | ||
"version": "14.0.0", | ||
"commands": "cc", | ||
}, | ||
"cython": { | ||
"name": "cython", | ||
"linker": "cython", | ||
"version": "3.0.7", | ||
"commands": "cython", | ||
}, | ||
"c++": { | ||
"name": "clang", | ||
"linker": "ld64", | ||
"version": "14.0.0", | ||
"commands": "c++", | ||
}, | ||
}, | ||
"Machine Information": { | ||
"host": { | ||
"cpu": "aarch64", | ||
"family": "aarch64", | ||
"endian": "little", | ||
"system": "darwin", | ||
}, | ||
"build": { | ||
"cpu": "aarch64", | ||
"family": "aarch64", | ||
"endian": "little", | ||
"system": "darwin", | ||
}, | ||
"cross-compiled": bool("False".lower().replace("false", "")), | ||
}, | ||
"Build Dependencies": { | ||
"blas": { | ||
"name": "openblas64", | ||
"found": bool("True".lower().replace("false", "")), | ||
"version": "0.3.23.dev", | ||
"detection method": "pkgconfig", | ||
"include directory": r"/opt/arm64-builds/include", | ||
"lib directory": r"/opt/arm64-builds/lib", | ||
"openblas configuration": "USE_64BITINT=1 DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS= NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= SANDYBRIDGE MAX_THREADS=3", | ||
"pc file directory": r"/usr/local/lib/pkgconfig", | ||
}, | ||
"lapack": { | ||
"name": "dep4409210864", | ||
"found": bool("True".lower().replace("false", "")), | ||
"version": "1.26.3", | ||
"detection method": "internal", | ||
"include directory": r"unknown", | ||
"lib directory": r"unknown", | ||
"openblas configuration": "unknown", | ||
"pc file directory": r"unknown", | ||
}, | ||
}, | ||
"Python Information": { | ||
"path": r"/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-8524sa_l/cp39-macosx_arm64/build/venv/bin/python", | ||
"version": "3.9", | ||
}, | ||
"SIMD Extensions": { | ||
"baseline": __cpu_baseline__, | ||
"found": [ | ||
feature for feature in __cpu_dispatch__ if __cpu_features__[feature] | ||
], | ||
"not found": [ | ||
feature for feature in __cpu_dispatch__ if not __cpu_features__[feature] | ||
], | ||
}, | ||
} | ||
) | ||
|
||
|
||
def _check_pyyaml(): | ||
import yaml | ||
|
||
return yaml | ||
|
||
|
||
def show(mode=DisplayModes.stdout.value): | ||
""" | ||
Show libraries and system information on which NumPy was built | ||
and is being used | ||
Parameters | ||
---------- | ||
mode : {`'stdout'`, `'dicts'`}, optional. | ||
Indicates how to display the config information. | ||
`'stdout'` prints to console, `'dicts'` returns a dictionary | ||
of the configuration. | ||
Returns | ||
------- | ||
out : {`dict`, `None`} | ||
If mode is `'dicts'`, a dict is returned, else None | ||
See Also | ||
-------- | ||
get_include : Returns the directory containing NumPy C | ||
header files. | ||
Notes | ||
----- | ||
1. The `'stdout'` mode will give more readable | ||
output if ``pyyaml`` is installed | ||
""" | ||
if mode == DisplayModes.stdout.value: | ||
try: # Non-standard library, check import | ||
yaml = _check_pyyaml() | ||
|
||
print(yaml.dump(CONFIG)) | ||
except ModuleNotFoundError: | ||
import warnings | ||
import json | ||
|
||
warnings.warn("Install `pyyaml` for better output", stacklevel=1) | ||
print(json.dumps(CONFIG, indent=2)) | ||
elif mode == DisplayModes.dicts.value: | ||
return CONFIG | ||
else: | ||
raise AttributeError( | ||
f"Invalid `mode`, use one of: {', '.join([e.value for e in DisplayModes])}" | ||
) |
Oops, something went wrong.