Leetquery

Latest version: v0.2.5

Safety actively analyzes 687881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.5

Retrieving Problem Statistics
Get the statistics for the problem in a JSON format, help you quantize difficulties
python
from leetquery.problem import get_stats
stat = get_stats("two-sum")

return value:
json
{
'totalAccepted': '10.4M',
'totalSubmission': '20.6M',
...
}

0.2.0

Add problem retrieval

Retrieving Problem Discription
Just enter probelm nameSlug and voila~~
python
from leetquery.problem import get_discription

submissions = get_discription(problemname="two-sum")

return value:
html
<p>Given an array of integers <code>nums</code>&nbsp;and an integer <code>target</code>, return <em>indices of the two numbers such that they add up to <code>target</code></em>.</p>
...

0.1.15

Testing for new release code

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.