semvec/pypi-packages huggingface dataset:
pysupercluster 0.7.7
A fast geospatial point clustering module.
Requires Python: >=3

pysupercluster
==============

|tests|

.. |tests| image:: https://github.com/wemap/pysupercluster/workflows/tests/badge.svg
    :target: https://github.com/wemap/pysupercluster/actions

A fast Python 3 module for geospatial point clustering.

This is a port of https://github.com/mapbox/supercluster to C++, conveniently
wrapped in a Python module. Initial benchmarks show it to be an order of
magnitude (10x) faster than the original JavaScript implementation.

Installing pysupercluster
-------------------------

The easiest way to install pysupercluster is to use pip:

    pip install pysupercluster

Using pysupercluster
--------------------

.. code-block:: pycon

    >>> import numpy
    >>> import pysupercluster
    >>> points = numpy.array([
    ...     (2.3522, 48.8566),   # paris
    ...     (-0.1278, 51.5074),  # london
    ...     (-0.0077, 51.4826),  # greenwhich
    ... ])
    >>> index = pysupercluster.SuperCluster(
    ...     points,
    ...     min_zoom=0,
    ...     max_zoom=16,
    ...     radius=40,
    ...     extent=512)
    >>> clusters = index.getClusters(
    ...     top_left=(-180, 90),
    ...     bottom_right=(180, -90),
    ...     zoom=4)
    [
        {'id': 0, 'count': 1, 'expansion_zoom': None, 'latitude': 48.8566, 'longitude': 2.3522},
        {'id': 3, 'count': 2, 'expansion_zoom': 8, 'latitude': 51.49500168658321, 'longitude': -0.06774999999998421}
    ]
example-package-camelket 0.1
sec file downloader
Requires Python: >=3.9

# pysec_downloader
 downloader for sec filings and other data available from the sec

 supports most filings, needs a lot of refining still.
 exposes some of the sec xbrl api.
 self updating lookup table for ticker:cik so we can search xbrl api with ticker instead of only cik.
 not async as the rate limit of the sec is quite low so the benefit for the added complexity is minimal (correct me if I am wrong).

no tests at the moment.

 usage:
    # make sure you have needed permission for the root_path
    dl = Downloader(r"C:\Users\Download_Folder", user_agent="john smith js@test.com")

    dl.get_filings(
        ticker_or_cik="AAPL",
        form_type="10-Q",
        after_date="2019-01-01",
        before_date="",
        prefered_file_type="xbrl",
        number_of_filings=10,
        want_amendments=False,
        skip_not_prefered_extension=True,
        save=True)

    file = dl.get_xbrl_companyconcept("AAPL", "us-gaap", "AccountsPayableCurrent") 

    other_file = dl.get_file_company_tickers()