repo
stringlengths
8
83
topic
stringclasses
417 values
issue_number
int64
1
203k
title
stringlengths
1
1.01k
problem_statement
stringlengths
0
261k
state
stringclasses
2 values
created_at
stringlengths
20
20
updated_at
stringlengths
20
20
url
stringlengths
36
111
labels
listlengths
0
15
user_login
stringlengths
2
39
comments_count
int64
0
2.05k
TkTech/pysimdjson
python-bindings
125
troubleshooting dangling proxy objects
Hello, I was just troubleshooting this following strange situation: ``` python async def reaper(): reaper_simdjson_parser = simdjson.Parser() while True: await asyncio.sleep(1) text = await get_json_payload() doc = reaper_simdjson_parser.parse(text) *results, status = doc for x in results: # do someth...
open
2025-03-25T14:58:39Z
2025-03-25T15:26:17Z
https://github.com/TkTech/pysimdjson/issues/125
[]
memetb
1
TkTech/pysimdjson
python-bindings
123
Python 3.13 Binaries
Hi! Thanks again for the wonderful library and continued support! I was just wondering if it would be possible to release py3.13 wheels. Some of my users are starting to migrate to 3.13 so I'm just trying to get some of these issues squared away. Thanks so much! Will
open
2025-02-18T22:56:31Z
2025-02-18T22:56:31Z
https://github.com/TkTech/pysimdjson/issues/123
[]
william-silversmith
0
TkTech/pysimdjson
python-bindings
122
Check for `None` key fails when using `parse`
### **Issue Description** When using `simdjson.Parser.parse`, checking if a `None` key exists in the parsed object results in a `TypeError: expected bytes, NoneType found`. **Example Code:** ```python import simdjson parser = simdjson.Parser() doc = parser.parse(b'{"res": [{"name": "first"}, {"name": "second"}]}') if ...
open
2025-02-13T14:06:40Z
2025-02-13T14:06:59Z
https://github.com/TkTech/pysimdjson/issues/122
[]
silentninja
0
TkTech/pysimdjson
python-bindings
120
Can pysimdjson parse in streaming mode?
Hello, thank you for your work! I've just started experimenting with this library. I am attempting to parse larger-than-memory JSON files, and was wondering if pysimdjson supports stream-based parsing of JSON documents (similar to [jsonslicer](https://pypi.org/project/jsonslicer/)) or [ijson](https://pypi.org/pro...
closed
2024-12-12T17:03:52Z
2024-12-12T18:22:20Z
https://github.com/TkTech/pysimdjson/issues/120
[]
theogaraj
2
TkTech/pysimdjson
python-bindings
118
Add alias to `json.JSONEncoder` to drop-in API.
The docs explicitly call out a [Drop-in API](https://pysimdjson.tkte.ch/dropin.html) which will "just work". This module covers `json.{load,loads,dump,dumps}`, where `{dump,dumps}` are aliased to the built-in module. I propose adding an alias to `json.JSONEncoder` to make the drop-in API more complete. I don't think th...
open
2024-08-21T17:07:11Z
2024-08-21T17:07:11Z
https://github.com/TkTech/pysimdjson/issues/118
[]
charlesjhill
0
TkTech/pysimdjson
python-bindings
112
Python 3.12 Support
When trying to install pysimdjson with Python 3.12 compilation fails with a variety of different errors: ``` Backend subprocess exited when trying to invoke build_wheel /tmp/tmp01_q5nb4/.venv/lib/python3.12/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`...
closed
2023-10-11T21:14:39Z
2024-02-06T16:19:34Z
https://github.com/TkTech/pysimdjson/issues/112
[]
dneuhaeuser-zalando
1
TkTech/pysimdjson
python-bindings
111
Printing JSON structure
Hey, I am using `pysimdjson` very often to work with JSON and I appreciate the speed and the intuitiveness of the package. Generally, I use it when I need to look directly into specific JSON for information (debug mode). However, when I start exploring a JSON it would be useful to have a function to print the stru...
open
2023-09-28T06:16:19Z
2023-10-20T08:12:19Z
https://github.com/TkTech/pysimdjson/issues/111
[]
VascoSch92
3
TkTech/pysimdjson
python-bindings
108
No [benchmark] extra
The documentation mentions a [benchmark] install option: https://pysimdjson.tkte.ch/contrib/index.html#development ``` To also install 3rd party JSON libraries used for running benchmarks, use: pip install -e ".[benchmark]" ``` The extra isn't available, as shown in the log. ```$ pip install -e ".[be...
closed
2023-06-13T14:53:46Z
2023-09-03T01:02:28Z
https://github.com/TkTech/pysimdjson/issues/108
[ "needs documentation" ]
rvanlaar
1
TkTech/pysimdjson
python-bindings
106
Tag the source
It would be very helpful if you could tag releases as well. This would enable distributions who want to run your tests to fetch the package from GitHub instead of PyPI. Thanks
closed
2023-03-13T10:01:10Z
2023-03-13T22:04:38Z
https://github.com/TkTech/pysimdjson/issues/106
[]
fabaff
2
TkTech/pysimdjson
python-bindings
105
Return a default value from at_pointer when the key doesn't exist
I'd like to request a feature to return a default value from `at_pointer` when the path doesn't exist rather than throwing a key error. This is especially important when parsing data with a mixed schema--e.g. application log/data that have changed schema over time. Not throwing and catching the error could save sign...
closed
2023-02-03T18:44:00Z
2023-09-04T06:20:45Z
https://github.com/TkTech/pysimdjson/issues/105
[]
ELind77
1
TkTech/pysimdjson
python-bindings
103
Missing `loads` and `load` definitions in `__init__.pyi`
I know it is defined in `__init__.py`, but it seems that PyCharm only analyzes `__init__.pyi`, where `loads` is not defined. Maybe I could create a PR to fix this tiny problem if you appreciate it. ![image](https://user-images.githubusercontent.com/61240774/211129047-ce92ccd5-d5ee-4b40-b413-4ca4a0414f5c.png)
closed
2023-01-07T03:23:21Z
2023-09-04T06:28:16Z
https://github.com/TkTech/pysimdjson/issues/103
[]
hikariyo
8
TkTech/pysimdjson
python-bindings
100
Is the Global Interpreter Lock (GIL) held while parsing JSON?
I would like to know if JSON parsing with `pysimdjson` can be speedup by using multithreading, for that the Python GIL can't be held while parsing.
closed
2022-10-15T21:46:50Z
2022-11-23T08:48:44Z
https://github.com/TkTech/pysimdjson/issues/100
[]
HMaker
1
TkTech/pysimdjson
python-bindings
99
Unable to serialize simdjson Objects into Pickle
Hello all! When I try to serialize `simdjson` Object into Pickle, I get the following error: `TypeError: self.c_element,self.c_parser cannot be converted to a Python object for pickling` Would it be possible to add support for serializing/pickling simdjson instances directly, without converting them to `dict`?...
closed
2022-10-05T12:46:33Z
2022-10-06T18:34:52Z
https://github.com/TkTech/pysimdjson/issues/99
[]
vovavili
9
TkTech/pysimdjson
python-bindings
97
simdjson 2.0.1 does not compile with GCC 8
simdjson 2.0.1 does not compile with GCC 8. The issue was[ fixed in 2.0.3](https://github.com/simdjson/simdjson/pull/1832)and pysimdjson need to update at least to that version.
closed
2022-09-02T03:35:50Z
2022-09-12T19:50:10Z
https://github.com/TkTech/pysimdjson/issues/97
[]
watersaber
2
TkTech/pysimdjson
python-bindings
96
Performance penalty when reading items
I'm getting increased latency in my application from simdjson but I can't figure out why. This is a snippet from profiling the function that gets items from the simdjson object. The time is in seconds. ``` Ordered by: internal time ncalls tottime percall cumtime percall filename:lineno(function) ...
closed
2022-08-14T21:06:26Z
2023-09-03T02:48:34Z
https://github.com/TkTech/pysimdjson/issues/96
[]
jonathan-kosgei
2
TkTech/pysimdjson
python-bindings
95
Missing changelog for last 2 5.x releases
The last 2 releases are missing changelog entries and GitHub releases: * 5.0.0 * 5.0.1
closed
2022-06-01T11:33:27Z
2022-06-06T13:31:32Z
https://github.com/TkTech/pysimdjson/issues/95
[]
alanhamlett
2
TkTech/pysimdjson
python-bindings
93
Explode/Flatten to CSV example?
Do you have an example of this? https://stackoverflow.com/questions/54210389/is-there-a-generic-way-to-read-the-multiline-json-in-spark-more-specifically-sp
closed
2022-04-07T01:20:13Z
2022-06-01T13:37:23Z
https://github.com/TkTech/pysimdjson/issues/93
[]
tooptoop4
0
TkTech/pysimdjson
python-bindings
92
Support ndjson format
Add parse_many function to parser for newline-delimeted json logs.
closed
2022-03-13T03:01:20Z
2022-06-01T14:19:16Z
https://github.com/TkTech/pysimdjson/issues/92
[]
lepipasd
1
TkTech/pysimdjson
python-bindings
91
Thread safe Parser?
Can we assume the parser is thread safe and can be used by multiple threads concurrently for `parse`?
closed
2022-03-03T08:44:26Z
2023-09-04T06:20:59Z
https://github.com/TkTech/pysimdjson/issues/91
[]
gingerwizard
2
TkTech/pysimdjson
python-bindings
90
Example from Documentation doesn't work
When installing pysimdjson 4.0.2 and running the example from the documentation: ```python import simdjson parser = simdjson.Parser() for i in range(0, 100): doc = parser.parse(b'{"a": "b"}') ``` I get the following error: ``` RuntimeError: Tried to re-use a parser while simdjson.Object and/or simd...
closed
2021-11-25T21:36:55Z
2021-12-06T03:43:41Z
https://github.com/TkTech/pysimdjson/issues/90
[]
Will-So
2
TkTech/pysimdjson
python-bindings
88
Add support to release Linux aarch64 wheels
Problem --------- On aarch64, ‘pip install pysimdjson’ builds the wheels from source code and then installs it. It requires the user to have a development environment installed on his system. Also, it takes some time to build the wheels than downloading and extracting the wheels from pypi. Resolution -----------...
closed
2021-11-09T06:47:24Z
2021-12-06T03:43:17Z
https://github.com/TkTech/pysimdjson/issues/88
[]
odidev
3
TkTech/pysimdjson
python-bindings
87
Update to upstream simdjson 1.0.0
<< Work In Progress >>
closed
2021-09-10T17:45:55Z
2021-12-06T03:55:43Z
https://github.com/TkTech/pysimdjson/issues/87
[]
TkTech
1
TkTech/pysimdjson
python-bindings
86
This parser can't support a document that big
ubuntu@ip-172-31-16-166:~$ time python convert-to-pickle.py Traceback (most recent call last): File "convert-to-pickle.py", line 10, in <module> data = simdjson.loads(ch.read()) File "/usr/local/lib/python3.8/dist-packages/simdjson/__init__.py", line 52, in loads return parser.parse(s, True) File "s...
closed
2021-08-19T03:27:57Z
2021-08-24T17:47:16Z
https://github.com/TkTech/pysimdjson/issues/86
[ "invalid", "zero-effort" ]
ghost
17
TkTech/pysimdjson
python-bindings
84
ARM build failing and ARM python 3.9 missing wheels
The ARM build is failing due to an `error.h` error. The Python 3.9 wheels for ARM/aarch64 is missing as well.
closed
2021-06-06T03:28:59Z
2021-06-18T20:31:09Z
https://github.com/TkTech/pysimdjson/issues/84
[]
ExecutionSpeed
4
TkTech/pysimdjson
python-bindings
82
Improve user experience of memory safety.
We've added a check in v4 (https://github.com/TkTech/pysimdjson/blob/master/simdjson/csimdjson.pyx#L437) that prevents parsing new documents while references continue to exist to the old one. This is *correct*, in that it ensures no errors. I wasn't terribly happy with this, but it's better then segfaulting. It has ...
closed
2021-05-28T18:21:10Z
2023-09-04T06:21:40Z
https://github.com/TkTech/pysimdjson/issues/82
[ "enhancement", "help wanted" ]
TkTech
4
TkTech/pysimdjson
python-bindings
81
Out of bounds access when using parser.parse on 0-length memory view in 4.0.0
This code will result in an out of bounds memory access exception: ```python import simdjson simdjson.Parser().parse(memoryview(b"")) ``` The output is ```text Traceback (most recent call last): File "test.py", line 3, in <module> simdjson.Parser().parse(memoryview(b"")) File "simdjson/csimdjson.pyx...
closed
2021-05-23T19:14:53Z
2021-05-23T19:57:15Z
https://github.com/TkTech/pysimdjson/issues/81
[]
chutz
1
TkTech/pysimdjson
python-bindings
78
Windows 3.6 Binary?
Hi! Thanks again for this fantastic project. ^_^ I ran into some CI errors where my Windows 64-bit builds were dying due to compile errors with CPython 3.6. I noticed there's no wheel on PyPI for it. Would it be possible to fix? Thanks!
closed
2021-04-23T03:32:28Z
2021-05-23T06:50:43Z
https://github.com/TkTech/pysimdjson/issues/78
[ "enhancement", "packaging" ]
william-silversmith
6
TkTech/pysimdjson
python-bindings
77
collections.abc inheritance for simdjson.Object and simdjson.Array
It would frequently be useful if these objects inherited from the standard collections abstract classes, that way generic `isinstance` tests could work as expected. My suggestions: - `simdjson.Object`: `collections.abc.Mapping` - `simdjson.Array`: `collections.abc.Sequence`, `collections.abc.Iterable` I could p...
closed
2021-04-16T23:44:40Z
2021-05-08T15:30:12Z
https://github.com/TkTech/pysimdjson/issues/77
[]
chutz
2
TkTech/pysimdjson
python-bindings
75
Adding typing support
Hey everyone, it is just a simple question :). Would like to know if you are interested in either of those: - adding `py.typed` and `simdjson.pyi` to describe API for `mypy` or similar - accepting PR with the same - having a PR submitted to external [typeshed[(https://github.com/python/typeshed)
closed
2021-03-26T07:12:49Z
2021-05-23T05:11:22Z
https://github.com/TkTech/pysimdjson/issues/75
[]
kornicameister
2
TkTech/pysimdjson
python-bindings
73
Fairly high overhead on the boundary Python/C++
We are parsing a very high number of ~2KB JSON files in our Python-based application. - The native (C++) SIMDJSON library delivers ~700k parser cycles per second. - The pysimdjson delivers ~350k parser cycles per second. - The Cython-based PoC implementation (in-house, so far) delivers ~700k parser cycles per seco...
closed
2021-03-07T13:51:36Z
2021-07-28T15:15:12Z
https://github.com/TkTech/pysimdjson/issues/73
[]
ateska
9
TkTech/pysimdjson
python-bindings
72
simdjson.Parser() gets slow when iterating via json object
First of all thank you for the great module. I'm new to json and am looking into fastest api due to high sizes of data to parse. I found out that simdjson.Parser() is super fast but when iterating over object, it gets pretty slow. Here is the example of my task with results: ``` import time import orjson import s...
closed
2020-12-24T06:02:58Z
2020-12-30T12:01:20Z
https://github.com/TkTech/pysimdjson/issues/72
[]
smjure
1
TkTech/pysimdjson
python-bindings
71
Expose document_stream interface
The `pysimdjson` library could support our document_stream interface (`parse_many` function). It is well tested as of release 0.7 (with fuzz testing) and works well today. It supports streams of indefinite size. See https://github.com/simdjson/simdjson/blob/master/doc/parse_many.md Related to https://github.com...
open
2020-12-07T15:43:17Z
2023-09-04T06:36:47Z
https://github.com/TkTech/pysimdjson/issues/71
[ "enhancement" ]
lemire
5
TkTech/pysimdjson
python-bindings
70
This parser can't support a document that big
I encounter the following issue when parsing a huge (>10G) JSON file. ![image](https://user-images.githubusercontent.com/824507/101207905-31608b80-3626-11eb-8254-2e06b671a4e9.png)
closed
2020-12-04T19:45:27Z
2020-12-07T15:23:59Z
https://github.com/TkTech/pysimdjson/issues/70
[ "wontfix", "upstream change required" ]
dclong
4
TkTech/pysimdjson
python-bindings
68
Instead of returning a KeyError at_pointer returns the value of the valid root
Hello, Step to reproduce: ``` >>> import simdjson >>> parser = simdjson.Parser() >>> t = '{"foo": "bar"}' >>> d = parser.parse(t) >>> d.at_pointer("/foo") 'bar' >>> d.at_pointer("/bar") Traceback (most recent call last): File "<stdin>", line 1, in <module> KeyError: 'No such key' >>> d.at_point...
closed
2020-12-03T15:42:26Z
2020-12-03T15:47:48Z
https://github.com/TkTech/pysimdjson/issues/68
[]
hglaude
1
TkTech/pysimdjson
python-bindings
66
.at() in documentation should be .at_pointer()
`assert doc.at('res/1/name') == 'second'` from README gives error `at_pointer` works as intended, it should be: `assert doc.at_pointer('res/1/name') == 'second'` Python 3.8.2 pysimdjson 3.1.1
closed
2020-11-30T17:58:51Z
2020-12-01T10:23:54Z
https://github.com/TkTech/pysimdjson/issues/66
[]
SergeyDidenko
0
TkTech/pysimdjson
python-bindings
65
as_buffer() support for Object values.
We now support `as_buffer()` #59 which drastically improves performance when loading arrays from JSON into numpy. We should also support `as_buffer()` for Objects, which would retrieve the values as an array. This is to support calling it like this: https://github.com/riddell-stan/pystan-next/blob/1e027a8bded88d5...
open
2020-11-22T14:59:15Z
2024-06-21T17:45:44Z
https://github.com/TkTech/pysimdjson/issues/65
[ "enhancement" ]
TkTech
3
TkTech/pysimdjson
python-bindings
64
Abandon Travis for ARM & PPC builds
Travis.ci (predictably, once they were bought by a fund) is starting to go down and is no longer a viable option for OSS that doesn't want the headache of constantly re-applying for minutes. We have couple options: 1. We cross-compile on a native host with a pre-built docker image, then transfer as an artifact to...
closed
2020-11-13T03:01:43Z
2021-12-06T03:56:03Z
https://github.com/TkTech/pysimdjson/issues/64
[ "packaging" ]
TkTech
3
TkTech/pysimdjson
python-bindings
63
Python 3.9 Binaries
Hi all, I just wanted to check in to see when py39 binaries might be available. No rush, I'm just trying to make sure my libraries are ready for when usage picks up and pysimdjson is a dependency. Thanks for all the help and a great library! Thanks! Will
closed
2020-11-12T22:56:50Z
2020-11-13T02:53:09Z
https://github.com/TkTech/pysimdjson/issues/63
[ "packaging" ]
william-silversmith
2
TkTech/pysimdjson
python-bindings
62
Bundle pybind11
Even though pip's logs show that it is downloading the binary wheel, it's still occasionally requiring pybind11. Since this has happened a few times (for example most recently with https://github.com/alex/nyt-2020-election-scraper/issues/177#issuecomment-723253931), we either need to: - figure out why this is happen...
closed
2020-11-06T22:41:20Z
2021-02-03T19:42:32Z
https://github.com/TkTech/pysimdjson/issues/62
[ "bug", "packaging" ]
TkTech
1
TkTech/pysimdjson
python-bindings
61
Access Dictionary Keys Fast
Hi! I have a JSON parsing problem where I am downloading 100k+ files and JSON parsing is taking about 74% of the time (in one sample) to process them excluding download time. I was looking at alternative SIMD JSON parsers to help reduce the burden of parsing as processing is taking somewhere between hours to tens of ho...
closed
2020-10-28T07:07:38Z
2020-11-04T01:10:19Z
https://github.com/TkTech/pysimdjson/issues/61
[ "needs documentation" ]
william-silversmith
4
TkTech/pysimdjson
python-bindings
60
Support On-Demand API
Introduced in upstream version 0.6.0, improving performance for known structures.
closed
2020-10-25T06:02:46Z
2023-09-04T06:22:09Z
https://github.com/TkTech/pysimdjson/issues/60
[ "enhancement" ]
TkTech
1
TkTech/pysimdjson
python-bindings
56
Pysimdjson fails to install on python 3.6
```Collecting pysimdjson==2.5.0 Using cached https://files.pythonhosted.org/packages/9b/f6/c63260f8788574de8fdd0bbe70f803328cb058141c0903ba29637d89f863/pysimdjson-2.5.0.tar.gz Installing collected packages: pysimdjson Running setup.py install for pysimdjson ... error Complete output from command /home/ubunt...
closed
2020-10-20T11:47:48Z
2020-10-20T19:07:43Z
https://github.com/TkTech/pysimdjson/issues/56
[]
anudeepsamaiya
6
TkTech/pysimdjson
python-bindings
55
Include License in release
Would it be possible to include the code's license in the pypi releases? That would help downstream packagers, like conda-forge.
closed
2020-10-09T01:36:09Z
2023-09-04T06:22:09Z
https://github.com/TkTech/pysimdjson/issues/55
[ "enhancement", "packaging" ]
CJ-Wright
2
TkTech/pysimdjson
python-bindings
54
Question: Comparison with other Python-JSON packages
I'm currently comparing various Python packages for handling JSON ([link](https://github.com/MartinThoma/algorithms/tree/master/Python/json-benchmark): cpython 3.8.6 json, simplejson, ujson, simdjson, orjson, rapidjson). I'm trying to understand their differences. I would be super happy if you could help me with that b...
closed
2020-09-26T09:11:12Z
2020-10-28T17:56:11Z
https://github.com/TkTech/pysimdjson/issues/54
[]
MartinThoma
1
TkTech/pysimdjson
python-bindings
53
Segfault when not assigning the parser to a variable
Here is a Python session that segfaults: ``` >>> import simdjson >>> pa=simdjson.Parser().parse('{"a": 9999}') >>> pa["a"] zsh: segmentation fault (core dumped) python ``` And here is one that works: ``` >>> import simdjson >>> p = simdjson.Parser() >>> pa = p.parse('{"a": 9999}') >>> pa["a"] 9999 ``` ...
closed
2020-09-06T20:40:12Z
2023-09-04T06:22:09Z
https://github.com/TkTech/pysimdjson/issues/53
[ "bug" ]
palkeo
9
TkTech/pysimdjson
python-bindings
52
Update to upstream 0.5.0.
closed
2020-08-20T03:58:50Z
2020-08-21T05:49:36Z
https://github.com/TkTech/pysimdjson/issues/52
[]
TkTech
1
TkTech/pysimdjson
python-bindings
51
Support for Decimal
I've read in the documentation there's plan to support this. What status are these plans in? Thanks.
open
2020-08-19T13:16:57Z
2020-10-28T17:48:40Z
https://github.com/TkTech/pysimdjson/issues/51
[ "enhancement", "upstream change required", "blocked" ]
gaborbernat
3
TkTech/pysimdjson
python-bindings
50
Transition to SAX-style interface in upstream simdjson
A SAX-style interface is coming in the upstream PR https://github.com/simdjson/simdjson/pull/1104. Once this is available in a release, it will be worth switching to just for reliable memory control on extremely large documents, let alone an apparent speed increase.
closed
2020-08-10T18:01:23Z
2020-10-28T17:45:32Z
https://github.com/TkTech/pysimdjson/issues/50
[ "enhancement", "upstream change required", "blocked" ]
TkTech
1
TkTech/pysimdjson
python-bindings
47
Prove we're worth using in real-world cases
We should experiment adding simdjson to some real-world projects where performance matters. This is both to prove we're worth using, and it ensure our API is extensive enough for real-world problems, extending it where needed. Basically "success stories". If you've used pysimdjson successfully, please feel free to cont...
closed
2020-08-06T01:18:33Z
2023-06-25T20:14:13Z
https://github.com/TkTech/pysimdjson/issues/47
[ "enhancement", "help wanted" ]
TkTech
3
TkTech/pysimdjson
python-bindings
46
Properly populate JSONDecodeError & UnicodeDecodeError
We currently raise a ValueError instead of JSONDecodeError (which is a ValueError subclass) in some cases where JSONDecodeError would be more appropriate. This is because upstream simdjson does not report errors with enough granularity to populate `lineno` and `colno` (https://docs.python.org/3/library/json.html#json.J...
open
2020-07-20T16:54:37Z
2020-08-10T18:05:50Z
https://github.com/TkTech/pysimdjson/issues/46
[ "bug", "upstream change required", "blocked" ]
TkTech
2
TkTech/pysimdjson
python-bindings
45
Filtering outside CPython
We used to have a little toy state machine that would let us do basic queries against documents before simdjson got JSONPointer support in 0.3.0. Anything we can do to reduce the number of objects crossing the C++ -> CPython barrier will greatly improve real-world performance, so it's time to bring this back. This i...
open
2020-07-20T15:57:12Z
2023-09-04T06:22:09Z
https://github.com/TkTech/pysimdjson/issues/45
[ "enhancement" ]
TkTech
0
TkTech/pysimdjson
python-bindings
44
FreeBSD & Windows ARM Binary Packages Tracking Issue
Time to start supporting ARM. Unfortunately we can't use self-hosted runners for ARM because we accept public PRs and I don't feel like having my AWS runner hijacked! We'll be using something other than GitHub actions for Ci on ARM platforms. - [x] Linux - [x] CPython - [x] PyPy3 (currently not available on tr...
closed
2020-07-20T13:58:00Z
2023-06-25T20:17:02Z
https://github.com/TkTech/pysimdjson/issues/44
[ "packaging" ]
TkTech
6
TkTech/pysimdjson
python-bindings
43
manylinux2010 release silently failing to build Py3.8 wheels.
Build fails auditwheel, but does not fail the github action.
closed
2020-07-18T18:05:36Z
2020-07-19T13:51:12Z
https://github.com/TkTech/pysimdjson/issues/43
[ "packaging" ]
TkTech
2
TkTech/pysimdjson
python-bindings
42
Consider benchmarking against libpy_simdjson
It looks like libpy_simdjson does much better on some benchmarks... ``` -------------------------------------------------------- benchmark 'Load /home/runner/work/libpy_simdjson/libpy_simdjson/libpy_simdjson/tests/jsonexamples/twitter.json': 6 tests ------------------------------------------------------- Name (tim...
closed
2020-07-16T16:42:26Z
2020-10-28T17:48:03Z
https://github.com/TkTech/pysimdjson/issues/42
[]
lemire
5
TkTech/pysimdjson
python-bindings
41
Build binary packages using clang-cl on Windows
Support for clang-cl is coming. As part of the PR that allows CPython to build against clang-cl, distutils is updated to build *with* clang-cl (https://github.com/python/cpython/pull/18371). Once this PR is merged and a new CPython release includes it we can start using it for our binary releases. Clang has reached ...
closed
2020-07-08T02:51:07Z
2020-08-10T18:03:13Z
https://github.com/TkTech/pysimdjson/issues/41
[ "enhancement", "packaging", "blocked" ]
TkTech
6
TkTech/pysimdjson
python-bindings
40
FreeBSD Packaging
Upstream simdjson has official FreeBSD support as of 0.4. There are some complications for our binary releases however. - [ ] Our Ci, Github Actions, does not yet support FreeBSD as a hosted or self-hosted host. See https://github.com/actions/runner/issues/385. We'll need to run the builds elsewhere or cross-compile...
closed
2020-06-24T23:51:45Z
2020-08-06T19:12:36Z
https://github.com/TkTech/pysimdjson/issues/40
[ "enhancement", "good first issue", "packaging" ]
TkTech
2
TkTech/pysimdjson
python-bindings
39
simdjson.h:129:23: error: ‘__m256i _mm256_loadu2_m128i(const __m128i*, const __m128i*)’ redeclared inline without ‘gnu_inline’ attribute
Self explanatory. The source seems to be defining some intrinsics which already exist in `/usr/lib/gcc/x86_64-redhat-linux/10/include/avxintrin.h` ```diff diff --git a/simdjson/src/simdjson.h b/simdjson/src/simdjson.h index 80c6b6d..3d6aea3 100644 --- a/simdjson/src/simdjson.h +++ b/simdjson/src/simdjson.h @@ -...
closed
2020-06-10T07:03:51Z
2020-07-17T18:38:06Z
https://github.com/TkTech/pysimdjson/issues/39
[]
giannitedesco
1
TkTech/pysimdjson
python-bindings
38
File causes a crash in pysimdjson (reliably)
I am copying over issue https://github.com/simdjson/simdjson/issues/921 from simdjson. We do not see a crash in simdjson itself, but there is a crash in pysimdjson: ```Python import simdjson a = open("test.txt").read() b = simdjson.loads(a.encode()) ``` Using the file https://github.com/simdjson/simdjson/file...
closed
2020-06-09T13:29:27Z
2020-06-18T20:08:34Z
https://github.com/TkTech/pysimdjson/issues/38
[]
lemire
17
TkTech/pysimdjson
python-bindings
37
Warning! diff in json and simdjson with big number
First: sorry for my poor English, hope you can understand my code. pysimdjson is an awesome project, but when I handle my dataset,I found it‘s different from python json. ``` import json import simdjson a = b'{"acase":10699247336865531002}\n' print(a) b = json.loads(a) print(b) c= simdjson.ParsedJson(a) print...
closed
2020-05-19T06:57:51Z
2020-05-22T06:41:19Z
https://github.com/TkTech/pysimdjson/issues/37
[]
lishoujun
5
TkTech/pysimdjson
python-bindings
36
my local compile was different from repo,could anyone help me,thanks!
my cmd: `python3 setup.py clean && rm build -rf && python3 setup.py build_ext --inplace && python3 setup.py install` then `git diff ` > -/* Generated by Cython 0.29.6 */ > +/* Generated by Cython 0.29.17 */ >some other diff > > @@ -824,7 +853,7 @@ static const char *__pyx_filename; > > static const char ...
closed
2020-05-19T03:50:03Z
2020-07-17T18:38:17Z
https://github.com/TkTech/pysimdjson/issues/36
[]
lishoujun
0
TkTech/pysimdjson
python-bindings
34
Python 3.8 support
Hi, First of all, thank you for the bindings! Would it be feasible to add support for Python 3.8? Thanks, Eli
closed
2020-04-20T07:00:16Z
2020-07-17T20:42:27Z
https://github.com/TkTech/pysimdjson/issues/34
[ "packaging" ]
h5rdly
1
TkTech/pysimdjson
python-bindings
32
Add orjson comparison
https://pypi.org/project/orjson/
closed
2020-03-31T23:01:23Z
2020-07-17T18:39:23Z
https://github.com/TkTech/pysimdjson/issues/32
[ "good first issue" ]
mathbunnyru
1
TkTech/pysimdjson
python-bindings
31
Consider upgrading to simdjson 0.4
# Version 0.4 of simdjson is now available Highlights - Test coverage has been greatly improved and we have resolved many static-analysis warnings on different systems. New features: - We added a fast (8GB/s) minifier that works directly on JSON strings. - We added fast (10GB/s) UTF-8 validator that works d...
closed
2020-03-31T22:49:38Z
2020-09-10T13:03:28Z
https://github.com/TkTech/pysimdjson/issues/31
[]
lemire
8
TkTech/pysimdjson
python-bindings
29
Fix simple typo: signficantly -> significantly
There is a small typo in tests/test_speed.py. Should read `significantly` rather than `signficantly`.
closed
2020-02-18T10:30:45Z
2020-04-02T00:50:55Z
https://github.com/TkTech/pysimdjson/issues/29
[]
timgates42
0
TkTech/pysimdjson
python-bindings
27
Consider a similar function to ParsedJson.items which uses an already parsed query
I think, a good addition to the ParsedJson.items function would be either a new function which directly uses a already parsed query, or to extend the ParsedJson.items function to accept already parsed queries. In cases where you need to extract data from a lot of jsons with the same queries you might save a bit time.
closed
2019-12-22T17:53:54Z
2020-07-17T18:38:53Z
https://github.com/TkTech/pysimdjson/issues/27
[]
tkilias
0
TkTech/pysimdjson
python-bindings
26
Consider updating to simdjson 0.2.1
The library simdjson has a new major release (0.2.0). Major changes: * Support for 64-bit ARM processors, can run under iOS (iPhone). * Runtime dispatching on x64 processors (switches to SSE on older x64 processors, uses AVX2 when available). Supports processors as far back as the Intel Westmere. * More accurate n...
closed
2019-08-01T20:37:02Z
2020-03-31T22:50:16Z
https://github.com/TkTech/pysimdjson/issues/26
[]
lemire
6
TkTech/pysimdjson
python-bindings
25
Consider updating to latest release (0.1.2)
It fixes a few potential buffer overruns for adversarial inputs. It should be safer.
closed
2019-05-10T13:49:16Z
2019-08-01T20:25:47Z
https://github.com/TkTech/pysimdjson/issues/25
[]
lemire
3
TkTech/pysimdjson
python-bindings
24
Consider updating to simdjson 0.1.1
We have a new version which has precomputed string lengths, and supporting strings with null characters in them.
closed
2019-03-14T00:12:12Z
2019-03-14T16:47:26Z
https://github.com/TkTech/pysimdjson/issues/24
[]
lemire
0
TkTech/pysimdjson
python-bindings
22
The Python overhead is about 95% of the processing time
From `simdjson/scripts/javascript`, I generated a file called `large.json`. In C++, parsing this file takes about 0.25 s. ``` $parse large.json Min: 0.252188 bytes read: 203130424 Gigabytes/second: 0.805471 ``` I wrote the following Python script... ``` from timeit import default_timer as timer with open...
closed
2019-03-03T22:14:57Z
2020-07-17T21:13:18Z
https://github.com/TkTech/pysimdjson/issues/22
[]
lemire
24
TkTech/pysimdjson
python-bindings
20
API compatibility with python's json module
Hi, I just tested this library and I was very impressed with the way it quickly loaded my JSON lines into dicts. however, I found some incompatibilities with the default `json` module and `pysimdjson`. For example, `json` module accepts strings to load as opposed to `pysimdjson` which only accepts `bytes`. Also, there'...
closed
2019-03-01T08:31:09Z
2019-03-06T23:15:48Z
https://github.com/TkTech/pysimdjson/issues/20
[]
mosajjal
1
TkTech/pysimdjson
python-bindings
19
OSX Failure with gcc-8
``` Running setup.py install for pysimdjson ... error Complete output from command /Users/dnb/miniconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/2j/_qcjjf4d24n5fswlhqk5zq6c0000gn/T/pip-install-fysr9lw_/pysimdjson/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.r...
closed
2019-02-28T12:37:30Z
2020-06-25T04:43:30Z
https://github.com/TkTech/pysimdjson/issues/19
[ "enhancement", "packaging" ]
dnbaker
6
TkTech/pysimdjson
python-bindings
18
ImportError: No module named csimdjson
I use command `sudo CFLAGS="-march=native -std=c++17" python setup.py install` to install。After it success, I use `import simdjson` in my python2.7 interpreter, then I got this error: ``` Python 2.7.12 (default, Nov 12 2018, 14:36:49) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license"...
closed
2019-02-28T02:55:54Z
2019-02-28T10:09:51Z
https://github.com/TkTech/pysimdjson/issues/18
[]
VoidBird
1
TkTech/pysimdjson
python-bindings
17
pip install fails on macOS Mohave with fatal error: 'ios' file not found
The problem is as follows... (using Python 3.7) ``` $ pip install pysimdjson Collecting pysimdjson Using cached https://files.pythonhosted.org/packages/89/f2/dc4dd7687b4d3a3f5bdfd2839c3789a5eefdb20b7ed9da0bf5c294988dfd/pysimdjson-1.3.0.tar.gz Building wheels for collected packages: pysimdjson Building wheel...
closed
2019-02-27T14:49:03Z
2019-03-02T20:36:37Z
https://github.com/TkTech/pysimdjson/issues/17
[ "enhancement", "packaging" ]
lemire
4
TkTech/pysimdjson
python-bindings
16
default on the right flags by including the logic in setup.py
It seems that it should not be necessary for the user to provide the flags in this manner: ``` CFLAGS="-march=native -std=c++17" pip install pysimdjson ``` Violating the standard (which is just pip install pysimdjson) is not great from a usability point of view (for obvious reasons). One can detect the platf...
closed
2019-02-27T13:10:15Z
2019-03-02T19:53:35Z
https://github.com/TkTech/pysimdjson/issues/16
[ "enhancement", "packaging" ]
lemire
6
TkTech/pysimdjson
python-bindings
15
Installation report exception
My local environment: python3.6 macos mojave 10.14.3 When I use this installation method `pip install pysimdjson` Error exception: ![image](https://user-images.githubusercontent.com/21286480/53480531-5ff71d00-3ab6-11e9-941f-c63331b378e3.png) When I use this installation method `git clone https://github.com/...
closed
2019-02-27T09:39:18Z
2019-02-27T22:54:16Z
https://github.com/TkTech/pysimdjson/issues/15
[]
lvorcool
2
TkTech/pysimdjson
python-bindings
14
Provide a simple cli
With the merging of `restructured` in 53ca4a60 the project is now structured as a proper python module, making it cleaner to add pure-python additions to the package. We should include a cli as part of the package, based on click. - [ ] `simdjson <source> <query>` should filter `source` by `query` and return the res...
closed
2019-02-27T06:20:06Z
2020-06-24T23:37:21Z
https://github.com/TkTech/pysimdjson/issues/14
[ "enhancement" ]
TkTech
0
TkTech/pysimdjson
python-bindings
13
Expand simdjson.pxd to have 1:1 coverage of simdjson's API
Currently we only expose the minimum of simdjson's API to support `loads()` and `items()`' query "language". We should aim for 1:1 so that this library can be used to: - explore simdjson features outside of our limited functionality - quickly expand the test coverage of simdjson itself by writing high-level tests i...
closed
2019-02-27T04:21:14Z
2019-03-02T19:54:07Z
https://github.com/TkTech/pysimdjson/issues/13
[ "enhancement" ]
TkTech
4
TkTech/pysimdjson
python-bindings
12
Provide manylinux binary wheels for linux
Trivial, but time consuming. simdjson uses c++17 features in a few places that make it depend on recent versions of gcc and libstdc++. Normally for 99% of C/C++ bindings we can get away with just using the manylinux docker images, but only when we can use gcc5. We need to build gcc7 on centos5 and static link libstc++ ...
closed
2019-02-27T04:02:51Z
2019-03-01T18:35:06Z
https://github.com/TkTech/pysimdjson/issues/12
[ "enhancement", "packaging" ]
TkTech
2
TkTech/pysimdjson
python-bindings
11
Support for Python 2?
For Python 2, it might be useful to ignore the register keyword: ``` CFLAGS="-march=native -std=gnu++17 -Wno-register" pip install pysimdjson ``` Notice the `-Wno-register` part, it seems important. Otherwise you may get this... ``` $ CFLAGS="-march=native -std=gnu++17" pip install pysimdjson Collecti...
closed
2019-02-26T21:08:00Z
2019-02-28T08:48:15Z
https://github.com/TkTech/pysimdjson/issues/11
[ "enhancement", "needs documentation" ]
lemire
5
TkTech/pysimdjson
python-bindings
10
Ambiguous License
@TkTech What license is this project under? The badge shows `mit license` but the license file is the Apache License. Also would be great if you can link the badge to the license file. :)
closed
2019-02-26T16:31:04Z
2019-02-26T16:39:30Z
https://github.com/TkTech/pysimdjson/issues/10
[]
feluelle
1
TkTech/pysimdjson
python-bindings
9
Installation failed on ppc64le architecture
Hello! I'm trying to install the package on a Power PC 9 machine architecture and am having trouble specifying the correct C flags. Here is the machine information: ``` (kmer-hashing) ✘  Mon 25 Feb - 07:17  ~/code/pysimdjson   origin ☊ master ✔ ☗v1.3.0 1☀   uname -a Linux euler.czbiohub.org 4.14.0-49.1...
closed
2019-02-25T15:27:53Z
2021-02-04T13:07:48Z
https://github.com/TkTech/pysimdjson/issues/9
[ "enhancement", "packaging" ]
olgabot
4
TkTech/pysimdjson
python-bindings
8
Cannot build from source on linux
``` (feb2018) pascal@archbook:/home/.../gits/pysimdjson$ python setup.py install running install running bdist_egg running egg_info creating pysimdjson.egg-info writing pysimdjson.egg-info/PKG-INFO writing dependency_links to pysimdjson.egg-info/dependency_links.txt writing top-level names to pysimdjson.egg-inf...
closed
2019-02-24T13:32:30Z
2019-02-25T01:24:29Z
https://github.com/TkTech/pysimdjson/issues/8
[ "wontfix" ]
kootenpv
5
TkTech/pysimdjson
python-bindings
7
Cannot install from pip on linux: src/simdjson.h: No such file or directory
closed
2019-02-24T13:30:33Z
2019-02-24T19:53:06Z
https://github.com/TkTech/pysimdjson/issues/7
[ "bug" ]
kootenpv
2
TkTech/pysimdjson
python-bindings
6
Support negative array subscripts in query syntax.
Currently when using a query path you can only retrieve an entire list (ex: `.results[].id`), which is sub-optimal. We should support the typical python slice syntax: - [x] `.results[0].id` (single) - first element (added in 43e2f2d) - [x] `.results[:2].id` (array) - first 2 elements (added in 43e2f2d) - [ ] `.res...
closed
2019-02-23T21:13:03Z
2020-06-24T23:37:09Z
https://github.com/TkTech/pysimdjson/issues/6
[ "enhancement" ]
TkTech
4
TkTech/pysimdjson
python-bindings
5
Flesh out documentation.
Documentation is now auto-generated and hosted using http://pysimdjson.tkte.ch/. However, the documentation is very sparse, and needs to have 100% coverage. - [x] All methods in Iterator - [x] All methods in ParsedJson - [ ] All syntax for `.items()` should be covered, with examples. - [x] `Iterator` should in...
closed
2019-02-23T21:09:12Z
2020-07-19T01:33:24Z
https://github.com/TkTech/pysimdjson/issues/5
[ "needs documentation" ]
TkTech
0
TkTech/pysimdjson
python-bindings
4
Elevate CParsedJson::iterator to a first-class citizen with direct python access.
Directly accessing the iterator and its interfaces will be essential for top performance when required, however it's currently unavailable outside of the Cython interface. We should map it to `citerator` as we do with `ParsedJson` and provide a first-class interface for it. The wrapper will also simplify lifecycle m...
closed
2019-02-22T21:53:33Z
2019-02-23T18:39:52Z
https://github.com/TkTech/pysimdjson/issues/4
[]
TkTech
0
TkTech/pysimdjson
python-bindings
3
Provide an efficient interface for getting only sections of a document.
`simdjson` is orders of magnitude faster than existing Python JSON parsers when just parsing a document. However, most of the time when using `loads()` is spent just converting primitives to Python objects, especially strings. On the `jsonexample/*` files, `ujson.loads` performs nearly as well as `pysimdjson.loads`. ...
closed
2019-02-22T16:48:07Z
2019-02-23T18:41:24Z
https://github.com/TkTech/pysimdjson/issues/3
[ "enhancement" ]
TkTech
2
TkTech/pysimdjson
python-bindings
2
Cost of creating dict objects is immense and can likely be improved.
70% of the time on random.json is spent just assigning to the dict rather than spent on parsing the JSON itself or decoding the strings. This seems unnecessarily high and can likely be improved. https://github.com/TkTech/pysimdjson/blob/master/pysimdjson.pyx#L65 (Should we drop down a level and use `PyDict_SetItem` ...
closed
2019-02-22T03:48:53Z
2019-02-22T16:48:31Z
https://github.com/TkTech/pysimdjson/issues/2
[ "enhancement" ]
TkTech
1
TkTech/pysimdjson
python-bindings
1
Our error messages are placeholders, improve them.
Exceptions are raised without further clarification, making them fairly useless. We should be able to provide more detail.
closed
2019-02-22T03:45:45Z
2019-03-06T23:16:09Z
https://github.com/TkTech/pysimdjson/issues/1
[ "enhancement", "upstream change required" ]
TkTech
2
corpetty/py-etherscan-api
python-bindings
131
Error! Unable to locate ContractCode at Is this a valid Contract Address?
closed
2024-03-20T17:06:51Z
2024-03-20T19:00:53Z
https://github.com/corpetty/py-etherscan-api/issues/131
[]
Oba9526
0
corpetty/py-etherscan-api
python-bindings
122
Corpetty
open
2022-04-02T10:40:17Z
2022-04-02T10:40:17Z
https://github.com/corpetty/py-etherscan-api/issues/122
[]
arslan-raza-143
0
corpetty/py-etherscan-api
python-bindings
119
Python 3.9+ compatability
API does not work on newer version of python and there is a computability issue with newer versions.
open
2022-02-16T00:12:07Z
2022-02-16T00:12:07Z
https://github.com/corpetty/py-etherscan-api/issues/119
[]
kubesqrt
0
corpetty/py-etherscan-api
python-bindings
110
Ropsten API seems to produce 403 Bad Response?
Hello! I would like to use your library to access the Ropsten network. I saw that the main change to switch networks was the base URL. I cloned your repo, and added a flag to the Account and Client __init__ functions for use_ropsten=False. Then added an if in the init to change the URL if that is true. Testing this ...
open
2021-08-23T13:21:33Z
2021-12-05T17:13:12Z
https://github.com/corpetty/py-etherscan-api/issues/110
[]
walesdata
4
corpetty/py-etherscan-api
python-bindings
100
how to figure out the number of decimals?
Using the method get_token_balance(address=my_address) to get the token balance for an address, the output does not take into account the number of decimals. For example: fetching USDC (contract address 0xdac17f958d2ee523a2206206994597c13d831ec7) token balance returns a number that needs to be divided by 1e+6 (i.e. 6...
closed
2021-05-08T02:46:12Z
2021-05-15T01:38:05Z
https://github.com/corpetty/py-etherscan-api/issues/100
[]
chiwalfrm
1
corpetty/py-etherscan-api
python-bindings
97
Jobs
open
2021-02-08T10:24:27Z
2021-02-08T10:24:27Z
https://github.com/corpetty/py-etherscan-api/issues/97
[]
abbaskiko
0
corpetty/py-etherscan-api
python-bindings
91
etherscan.client.EmptyResponse
hello when execute api.get_balance_multiple() it raises this error when i call api = Account(address=[list of adress], api_key=one_key_in_string) balances = api.get_balance_multiple() this works about one year ago now i dont know why it fail ``` balances = api.get_balance_multiple() File "/usr/loca...
open
2020-12-11T02:42:43Z
2021-11-04T09:53:03Z
https://github.com/corpetty/py-etherscan-api/issues/91
[]
EnriqueGautoSand
1
corpetty/py-etherscan-api
python-bindings
90
are there any equivalent methods in this tools for these two methods ? api.get_ext_transactions(), api.get_int_transactions()
are there any equivalent methods in this tools for these two methods ? api.get_ext_transactions(), api.get_int_transactions()
open
2020-12-10T20:22:03Z
2021-11-04T09:53:53Z
https://github.com/corpetty/py-etherscan-api/issues/90
[]
kalkite
1
corpetty/py-etherscan-api
python-bindings
89
blocks = api.get_all_blocks_mined(offset=10000, blocktype='uncles') tried this
OK page 1 added OK page 2 added OK page 3 added OK page 4 added OK page 5 added OK page 6 added OK page 7 added OK page 8 added --------------------------------------------------------------------------- EmptyResponse Traceback (most recent call last) <ipython-input-142-2...
open
2020-12-10T19:27:14Z
2022-11-05T06:04:24Z
https://github.com/corpetty/py-etherscan-api/issues/89
[]
kalkite
1
corpetty/py-etherscan-api
python-bindings
88
i tried to get the all the transactions api.get_all_transactions() by using this. it gives error like this.
EmptyResponse Traceback (most recent call last) <ipython-input-113-51999cdf1b82> in <module>() ----> 1 trans = api.get_all_transactions() /export/home/rkalak/.local/lib/python3.6/site-packages/etherscan/accounts.py in get_all_transactions(self, offset, sort, internal) 90 w...
open
2020-12-10T19:01:50Z
2022-02-23T23:19:51Z
https://github.com/corpetty/py-etherscan-api/issues/88
[]
kalkite
0
corpetty/py-etherscan-api
python-bindings
86
pip install has different version than repo
after installing via pip, I run into the problem: ``` from etherscan.transactions import Transactions ``` **ModuleNotFoundError: No module named 'etherscan.transactions'** I do not encounter this issue when I simply clone and install manually.
open
2020-09-21T14:25:33Z
2020-09-21T14:25:33Z
https://github.com/corpetty/py-etherscan-api/issues/86
[]
pcko1
0