python-record-api icon indicating copy to clipboard operation
python-record-api copied to clipboard

Inferring Python API signatures from tracing usage.

Results 15 python-record-api issues
Sort by recently updated
recently updated
newest added

Strings are things like column names; there is no point treating those as separate types, it gives a huge amount of pollution in the generated type annotations. Example: [typing/pandas.core.frame.py](https://github.com/data-apis/python-record-api/blob/master/data/typing/pandas.core.frame.py) has...

bug

I was looking for `def sin` and other such functions in `typing/numpy.py`, and they're missing completely. It's unclear why. The actual question I was trying to figure out is: how...

enhancement

This PR includes a notebook directory under which is the documentation for running the python record api tooling over a notebook.

documentation

An issue arose when analyzing GeoPandas and its consumption of Pandas APIs. GeoPandas subclasses Pandas (see [here](https://github.com/geopandas/geopandas/blob/e506de5900685cb3cae72dc89ea6f9ff92ceaf45/geopandas/geodataframe.py#L47)), so, in principle, a subclassed method should correspond to an equivalent Pandas DataFrame...

Currently, if a library calls another library through their C API we are unable to trace it. This includes calling anything in Cython. This is too bad, because a lot...

One thing we should add is the ability to record the return type from a function. This would help us understand the signatures better. Also, it could help with another...

So the pandas test suite ran out of memory again in Kubernetes. It used up ~13Gb and then was killed, because the pods only have that much available. I am...

bug

During the tracing, it's helpful to know not only which methods on the ufuncs class are called (`__call__`, `reduce`, etc) but also which ufuncs themselves are used (`add`, `multiple`, etc)....

bug

There were some comments [here](https://gist.github.com/crusaderky/cf0575cfeeee8faa1bb1b3480bc4a87a#gistcomment-3438723) by @Caagr98 on how we can clean up our ability to access the Python stack, that we could try to incorporate. I haven't looked into...

Look at libraries.io for other usage, like: https://libraries.io/pypi/numpy/usage NumPy (over ~5k stars): - [ ] django: Doesn't use pytest https://code.djangoproject.com/ticket/30415 - [x] matplotlib - [x] scipy - [ ] keras:...

good first issue