repo_full_name stringlengths 6 93 | repo_url stringlengths 25 112 | repo_api_url stringclasses 28
values | owner stringclasses 28
values | repo_name stringclasses 28
values | description stringclasses 28
values | stars int64 617 98.8k | forks int64 31 355 ⌀ | watchers int64 990 999 ⌀ | license stringclasses 2
values | default_branch stringclasses 2
values | repo_created_at timestamp[s]date 2012-07-24 23:12:50 2025-06-16 08:07:28 ⌀ | repo_updated_at timestamp[s]date 2026-02-23 15:23:15 2026-05-03 18:52:12 ⌀ | repo_topics listlengths 0 13 ⌀ | repo_languages unknown | is_fork bool 1
class | open_issues int64 3 104 ⌀ | file_path stringlengths 3 208 | file_name stringclasses 509
values | file_extension stringclasses 1
value | file_size_bytes int64 101 84k ⌀ | file_url stringclasses 627
values | file_raw_url stringclasses 627
values | file_sha stringclasses 624
values | language stringclasses 8
values | parsed_at stringdate 2026-05-04 01:12:36 2026-05-04 19:41:55 | text stringlengths 100 102k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/bing.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:06.927760 | import collections.abc
from functools import partial
from urllib.parse import quote, urlencode
from geopy.exc import (
GeocoderAuthenticationFailure,
GeocoderInsufficientPrivileges,
GeocoderRateLimited,
GeocoderServiceError,
GeocoderUnavailable,
)
from geopy.geocoders.base import DEFAULT_SENTINEL, ... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/azure.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:06.996100 | from geopy.geocoders.base import DEFAULT_SENTINEL
from geopy.geocoders.tomtom import TomTom
__all__ = ("AzureMaps", )
class AzureMaps(TomTom):
"""AzureMaps geocoder based on TomTom.
Documentation at:
https://docs.microsoft.com/en-us/azure/azure-maps/index
"""
geocode_path = '/search/address... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/base.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:07.127027 | import asyncio
import functools
import inspect
import threading
from geopy import compat
from geopy.adapters import (
AdapterHTTPError,
BaseAsyncAdapter,
BaseSyncAdapter,
RequestsAdapter,
URLLibAdapter,
get_retry_after,
)
from geopy.exc import (
ConfigurationError,
GeocoderAuthenticatio... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/geocodio.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:07.171871 | import collections.abc
import json
from functools import partial
from urllib.parse import urlencode
from geopy.adapters import AdapterHTTPError
from geopy.exc import GeocoderQueryError, GeocoderQuotaExceeded
from geopy.geocoders.base import DEFAULT_SENTINEL, NONE_RESULT, Geocoder
from geopy.location import Location
fr... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/geokeo.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:07.239632 | from functools import partial
from urllib.parse import urlencode
from geopy.exc import (
GeocoderAuthenticationFailure,
GeocoderQueryError,
GeocoderQuotaExceeded,
GeocoderServiceError,
GeocoderUnavailable,
)
from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
from geopy.location import Loca... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/geocodeearth.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:07.265692 | from geopy.geocoders.base import DEFAULT_SENTINEL
from geopy.geocoders.pelias import Pelias
__all__ = ("GeocodeEarth", )
class GeocodeEarth(Pelias):
"""Geocode Earth, a Pelias-based service provided by the developers
of Pelias itself.
Documentation at:
https://geocode.earth/docs
Pricing det... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/geolake.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:07.379283 | import collections.abc
from functools import partial
from urllib.parse import urlencode
from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
from geopy.location import Location
from geopy.util import join_filter, logger
__all__ = ("Geolake", )
class Geolake(Geocoder):
"""Geocoder using the Geolake API.
... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/googlev3.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:07.474549 | import warnings
from geopy.geocoders.google import GoogleV3
__all__ = ("GoogleV3",)
warnings.warn(
"`geopy.geocoders.googlev3` module is deprecated. "
"Use `geopy.geocoders.google` instead. "
"In geopy 3 this module will be removed.",
DeprecationWarning,
stacklevel=2,
)
|
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/google.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:07.475784 | import base64
import collections.abc
import hashlib
import hmac
from calendar import timegm
from datetime import datetime
from functools import partial
from urllib.parse import urlencode
from geopy.exc import (
ConfigurationError,
GeocoderQueryError,
GeocoderQuotaExceeded,
GeocoderServiceError,
Geo... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/here.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:07.529938 | import collections.abc
import json
import warnings
from functools import partial
from urllib.parse import urlencode
from geopy.adapters import AdapterHTTPError
from geopy.exc import (
ConfigurationError,
GeocoderAuthenticationFailure,
GeocoderInsufficientPrivileges,
GeocoderQueryError,
GeocoderRate... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/ignfrance.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:07.548430 | import warnings
import xml.etree.ElementTree as ET
from functools import partial
from urllib.parse import urlencode
from geopy.exc import GeocoderQueryError
from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
from geopy.location import Location
from geopy.util import logger
__all__ = ("IGNFrance", )
class I... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/geonames.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:07.572252 | from functools import partial
from urllib.parse import urlencode
from geopy.exc import (
GeocoderAuthenticationFailure,
GeocoderInsufficientPrivileges,
GeocoderQueryError,
GeocoderQuotaExceeded,
GeocoderServiceError,
)
from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
from geopy.location ... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/mapbox.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:07.705339 | from functools import partial
from urllib.parse import quote, urlencode
from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
from geopy.location import Location
from geopy.point import Point
from geopy.util import logger
__all__ = ("MapBox", )
class MapBox(Geocoder):
"""Geocoder using the Mapbox API.
... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/mapquest.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:07.758440 | from functools import partial
from urllib.parse import urlencode
from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
from geopy.location import Location
from geopy.util import logger
__all__ = ("MapQuest", )
class MapQuest(Geocoder):
"""Geocoder using the MapQuest API based on Licensed data.
Docume... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/maptiler.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:07.823029 | from functools import partial
from urllib.parse import quote, urlencode
from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
from geopy.location import Location
from geopy.point import Point
from geopy.util import logger
__all__ = ("MapTiler", )
class MapTiler(Geocoder):
"""Geocoder using the MapTiler AP... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/nominatim.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:07.836257 | import collections.abc
from functools import partial
from urllib.parse import urlencode
from geopy.exc import ConfigurationError, GeocoderQueryError
from geopy.geocoders.base import _DEFAULT_USER_AGENT, DEFAULT_SENTINEL, Geocoder
from geopy.location import Location
from geopy.util import logger
__all__ = ("Nominatim"... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/opencage.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:08.019193 | from functools import partial
from urllib.parse import urlencode
from geopy.exc import GeocoderServiceError
from geopy.geocoders.base import DEFAULT_SENTINEL, ERROR_CODE_MAP, Geocoder
from geopy.location import Location
from geopy.util import logger
__all__ = ("OpenCage", )
class OpenCage(Geocoder):
"""Geocoder... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/osm.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:08.085765 | import warnings
from geopy.geocoders.nominatim import Nominatim
__all__ = ("Nominatim",)
warnings.warn(
"`geopy.geocoders.osm` module is deprecated. "
"Use `geopy.geocoders.nominatim` instead. "
"In geopy 3 this module will be removed.",
DeprecationWarning,
stacklevel=2,
)
|
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/openmapquest.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:08.087287 | from geopy.geocoders.base import DEFAULT_SENTINEL
from geopy.geocoders.nominatim import Nominatim
__all__ = ("OpenMapQuest", )
class OpenMapQuest(Nominatim):
"""Geocoder using MapQuest Open Platform Web Services.
Documentation at:
https://developer.mapquest.com/documentation/open/
MapQuest prov... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/pelias.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:08.102000 | import warnings
from functools import partial
from urllib.parse import urlencode
from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
from geopy.location import Location
from geopy.util import logger
__all__ = ("Pelias", )
class Pelias(Geocoder):
"""Pelias geocoder.
Documentation at:
https:/... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/photon.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:08.150585 | import collections.abc
from functools import partial
from urllib.parse import urlencode
from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
from geopy.location import Location
from geopy.util import logger
__all__ = ("Photon", )
class Photon(Geocoder):
"""Geocoder using Photon geocoding service (data ba... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/pickpoint.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:08.191428 | from geopy.geocoders.base import DEFAULT_SENTINEL
from geopy.geocoders.nominatim import Nominatim
__all__ = ("PickPoint",)
class PickPoint(Nominatim):
"""PickPoint geocoder is a commercial version of Nominatim.
Documentation at:
https://pickpoint.io/api-reference
"""
geocode_path = '/v1/forw... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/smartystreets.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:08.304532 | from functools import partial
from urllib.parse import urlencode
from geopy.adapters import AdapterHTTPError
from geopy.exc import GeocoderQuotaExceeded
from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
from geopy.location import Location
from geopy.util import logger
__all__ = ("LiveAddress", )
class Liv... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/what3words.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:08.409866 | import re
from functools import partial
from urllib.parse import urlencode
from geopy import exc
from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
from geopy.location import Location
from geopy.util import logger
__all__ = ("What3Words", "What3WordsV3")
_MULTIPLE_WORD_RE = re.compile(
r"[^\W\d\_]+\.{1,... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/woosmap.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:08.417720 | import collections.abc
from functools import partial
from urllib.parse import urlencode
from geopy.exc import GeocoderQueryError, GeocoderServiceError, GeocoderUnavailable
from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
from geopy.location import Location
from geopy.util import logger
__all__ = ("Woosmap"... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/tomtom.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:08.506536 | from functools import partial
from urllib.parse import quote, urlencode
from geopy.adapters import AdapterHTTPError
from geopy.exc import GeocoderQuotaExceeded
from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
from geopy.location import Location
from geopy.util import logger
__all__ = ("TomTom", )
class T... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/geocoders/yandex.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:08.588293 | from functools import partial
from urllib.parse import urlencode
from geopy.exc import GeocoderParseError, GeocoderServiceError
from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
from geopy.location import Location
from geopy.util import logger
__all__ = ("Yandex", )
class Yandex(Geocoder):
"""Yandex g... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/location.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:08.691991 | import collections.abc
from geopy.point import Point
def _location_tuple(location):
return location._address, (location._point[0], location._point[1])
class Location:
"""
Contains a parsed geocoder response. Can be iterated over as
``(location<String>, (latitude<float>, longitude<Float))``.
Or ... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/timezone.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:08.700329 | from geopy.exc import GeocoderParseError
try:
import pytz
pytz_available = True
except ImportError:
pytz_available = False
__all__ = (
"Timezone",
)
def ensure_pytz_is_installed():
if not pytz_available:
raise ImportError(
'pytz must be installed in order to locate timezones... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/util.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:08.756554 | import logging
from decimal import Decimal
NUMBER_TYPES = (int, float, Decimal)
__version__ = "2.4.1"
__version_info__ = (2, 4, 1)
logger = logging.getLogger('geopy')
def pairwise(seq):
"""
Pair an iterable, e.g., (1, 2, 3, 4) -> ((1, 2), (2, 3), (3, 4))
"""
yield from zip(seq, seq[1:])
def join_... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/point.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:08.824963 | """
:class:`.Point` data structure.
"""
import collections.abc
import re
import warnings
from itertools import islice
from math import fmod, isfinite
from geopy import units, util
from geopy.format import DEGREE, DOUBLE_PRIME, PRIME, format_degrees, format_distance
POINT_PATTERN = re.compile(r"""
.*?
(?P<lat... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | geopy/units.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:08.880318 | """``geopy.units`` module provides utility functions for performing
angle and distance unit conversions.
Some shortly named aliases are provided for convenience (e.g.
:func:`.km` is an alias for :func:`.kilometers`).
"""
import math
# Angles
def degrees(radians=0, arcminutes=0, arcseconds=0):
"""
Convert a... |
geopy/geopy | https://github.com/geopy/geopy | null | null | null | null | 4,809 | null | null | mit | null | null | null | null | null | null | null | test/adapters/each_adapter.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:09.345825 | import contextlib
import os
import ssl
from unittest.mock import patch
from urllib.parse import urljoin
from urllib.request import getproxies, urlopen
import pytest
import geopy.geocoders
from geopy.adapters import (
AdapterHTTPError,
AioHTTPAdapter,
BaseAsyncAdapter,
RequestsAdapter,
URLLibAdapte... |
RomelTorres/alpha_vantage | https://github.com/RomelTorres/alpha_vantage | null | null | null | null | 4,804 | null | null | mit | null | null | null | null | null | null | null | alpha_vantage/alphaintelligence.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:11.566193 | from .alphavantage import AlphaVantage as av
class AlphaIntelligence(av):
"""This class implements all the api calls to advanced market intelligence
"""
@av._output_format
@av._call_api_on_func
def get_news_sentiment(self, tickers=None, topics=None, time_from=None, time_to=None,
... |
RomelTorres/alpha_vantage | https://github.com/RomelTorres/alpha_vantage | null | null | null | null | 4,804 | null | null | mit | null | null | null | null | null | null | null | alpha_vantage/async_support/alphavantage.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:11.621216 | import aiohttp
from functools import wraps
import inspect
import re
# Pandas became an optional dependency, but we still want to track it
try:
import pandas
_PANDAS_FOUND = True
except ImportError:
_PANDAS_FOUND = False
import csv
from ..alphavantage import AlphaVantage as AlphaVantageBase
class AlphaVant... |
RomelTorres/alpha_vantage | https://github.com/RomelTorres/alpha_vantage | null | null | null | null | 4,804 | null | null | mit | null | null | null | null | null | null | null | alpha_vantage/alphavantage.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:11.711929 | import requests
import os
from functools import wraps
import inspect
import sys
import re
# Pandas became an optional dependency, but we still want to track it
try:
import pandas
_PANDAS_FOUND = True
except ImportError:
_PANDAS_FOUND = False
import csv
class AlphaVantage(object):
""" Base class where ... |
RomelTorres/alpha_vantage | https://github.com/RomelTorres/alpha_vantage | null | null | null | null | 4,804 | null | null | mit | null | null | null | null | null | null | null | alpha_vantage/commodities.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:12.183489 | from .alphavantage import AlphaVantage as av
class Commodities(av):
"""This class implements all the commodities api calls
"""
@av._output_format
@av._call_api_on_func
def get_wti(self, interval='monthly'):
""" Returns the West Texas Intermediate (WTI) crude oil prices.
Keyword Ar... |
RomelTorres/alpha_vantage | https://github.com/RomelTorres/alpha_vantage | null | null | null | null | 4,804 | null | null | mit | null | null | null | null | null | null | null | alpha_vantage/fundamentaldata.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:12.206983 | from .alphavantage import AlphaVantage as av
from datetime import datetime
search_date = datetime.now().date().strftime('%Y-%m-%d')
class FundamentalData(av):
"""This class implements all the api calls to fundamental data
"""
def __init__(self, *args, **kwargs):
"""
Inherit AlphaVantage b... |
RomelTorres/alpha_vantage | https://github.com/RomelTorres/alpha_vantage | null | null | null | null | 4,804 | null | null | mit | null | null | null | null | null | null | null | alpha_vantage/foreignexchange.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:12.241378 | from .alphavantage import AlphaVantage as av
class ForeignExchange(av):
"""Realtime currency exchange rates for physical and digital currencies.
"""
def __init__(self, *args, **kwargs):
"""
Inherit AlphaVantage base class with its default arguments
"""
super(ForeignExchang... |
RomelTorres/alpha_vantage | https://github.com/RomelTorres/alpha_vantage | null | null | null | null | 4,804 | null | null | mit | null | null | null | null | null | null | null | alpha_vantage/cryptocurrencies.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:12.258694 | from .alphavantage import AlphaVantage as av
class CryptoCurrencies(av):
"""This class implements all the crypto currencies api calls
"""
@av._output_format
@av._call_api_on_func
def get_digital_currency_daily(self, symbol, market):
""" Returns the daily historical time series for a digi... |
RomelTorres/alpha_vantage | https://github.com/RomelTorres/alpha_vantage | null | null | null | null | 4,804 | null | null | mit | null | null | null | null | null | null | null | alpha_vantage/options.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:12.259852 | from .alphavantage import AlphaVantage as av
class Options(av):
"""This class implements all the api calls to US options data
"""
@av._output_format
@av._call_api_on_func
def get_realtime_options(self, symbol, contract=None):
""" Return realtime US options data.
It raises ValueErr... |
RomelTorres/alpha_vantage | https://github.com/RomelTorres/alpha_vantage | null | null | null | null | 4,804 | null | null | mit | null | null | null | null | null | null | null | alpha_vantage/techindicators.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:12.265986 | from .alphavantage import AlphaVantage as av
class TechIndicators(av):
"""This class implements all the technical indicator api calls
"""
def __init__(self, *args, **kwargs):
"""
Inherit AlphaVantage base class with its default arguments
"""
super(TechIndicators, self).__i... |
RomelTorres/alpha_vantage | https://github.com/RomelTorres/alpha_vantage | null | null | null | null | 4,804 | null | null | mit | null | null | null | null | null | null | null | alpha_vantage/timeseries.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:12.269991 | from .alphavantage import AlphaVantage as av
class TimeSeries(av):
"""This class implements all the api calls to times series
"""
@av._output_format
@av._call_api_on_func
def get_intraday(self, symbol: str, interval:str='15min', outputsize:str='compact',
month:str=None, exte... |
RomelTorres/alpha_vantage | https://github.com/RomelTorres/alpha_vantage | null | null | null | null | 4,804 | null | null | mit | null | null | null | null | null | null | null | alpha_vantage/econindicators.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:12.296394 | from .alphavantage import AlphaVantage as av
class EconIndicators(av):
"""This class implements all the economic indicator api calls
"""
@av._output_format
@av._call_api_on_func
def get_real_gdp(self, interval='annual'):
""" Returns the annual and quarterly Real GDP of the United States
... |
RomelTorres/alpha_vantage | https://github.com/RomelTorres/alpha_vantage | null | null | null | null | 4,804 | null | null | mit | null | null | null | null | null | null | null | helpers/pipy_rst_convert.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:12.983535 | #!/usr/bin/env python
import pypandoc
import codecs
from os import path
if __name__ == '__main__':
"""
Simple script to generate the rst file for pipy
"""
parent = path.abspath(path.dirname(path.dirname(__file__)))
readmemd_path = path.join(parent, 'README.md')
readmerst_path = path.join(par... |
RomelTorres/alpha_vantage | https://github.com/RomelTorres/alpha_vantage | null | null | null | null | 4,804 | null | null | mit | null | null | null | null | null | null | null | test_alpha_vantage/test_alphavantage.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:13.095744 | #! /usr/bin/env python
from ..alpha_vantage.alphavantage import AlphaVantage
from ..alpha_vantage.timeseries import TimeSeries
from ..alpha_vantage.techindicators import TechIndicators
from ..alpha_vantage.sectorperformance import SectorPerformances
from ..alpha_vantage.foreignexchange import ForeignExchange
from ..alp... |
RomelTorres/alpha_vantage | https://github.com/RomelTorres/alpha_vantage | null | null | null | null | 4,804 | null | null | mit | null | null | null | null | null | null | null | test_alpha_vantage/test_integration_alphavantage_async.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:13.100841 | #!/usr/bin/env python
from ..alpha_vantage.async_support.alphavantage import AlphaVantage
from ..alpha_vantage.async_support.timeseries import TimeSeries
from ..alpha_vantage.async_support.techindicators import TechIndicators
from ..alpha_vantage.async_support.cryptocurrencies import CryptoCurrencies
from ..alpha_vanta... |
RomelTorres/alpha_vantage | https://github.com/RomelTorres/alpha_vantage | null | null | null | null | 4,804 | null | null | mit | null | null | null | null | null | null | null | test_alpha_vantage/test_integration_alphavantage.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:13.101303 | #!/usr/bin/env python
from ..alpha_vantage.alphavantage import AlphaVantage
from ..alpha_vantage.timeseries import TimeSeries
from ..alpha_vantage.techindicators import TechIndicators
from ..alpha_vantage.cryptocurrencies import CryptoCurrencies
from ..alpha_vantage.foreignexchange import ForeignExchange
from pandas i... |
RomelTorres/alpha_vantage | https://github.com/RomelTorres/alpha_vantage | null | null | null | null | 4,804 | null | null | mit | null | null | null | null | null | null | null | test_alpha_vantage/test_alphavantage_async.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:13.440295 | #!/usr/bin/env python
from ..alpha_vantage.async_support.alphavantage import AlphaVantage
from ..alpha_vantage.async_support.timeseries import TimeSeries
from ..alpha_vantage.async_support.techindicators import TechIndicators
from ..alpha_vantage.async_support.sectorperformance import SectorPerformances
from ..alpha_va... |
RomelTorres/alpha_vantage | https://github.com/RomelTorres/alpha_vantage | null | null | null | null | 4,804 | null | null | mit | null | null | null | null | null | null | null | setup.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:14.291725 | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
try:
with open("README.md", "r") as fh:
long_description = fh.read()
except IOError:
long_description = 'Python module to get stock data from the Alpha Vantage Api'
setup... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/datasets/int/code.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:16.827176 | """Provides all data related to the codes."""
IMEI_TACS = [
"01124500",
"01161200",
"01194800",
"01233600",
"01300600",
"01332700",
"35875505",
"35881505",
"35925406",
"35325807",
"35391805",
"35824005",
"35896704",
"35803106",
"35838706",
"35929005",
... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:16.830768 | """Mimesis: Fake Data Generator.
Copyright (c) 2016 - Present Isaak Uchakaev (Likid Geimfari).
Website: https://mimesis.name
Email: <hey@isaak.dev>
Repository: https://github.com/lk-geimfari/mimesis
License: MIT License.
"""
from . import keys
from .enums import (
Algorithm,
AudioFile,
CardType,
Compr... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/datasets/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:16.831653 | from .int.address import *
from .int.code import *
from .int.common import *
from .int.datetime import *
from .int.development import *
from .int.file import *
from .int.finance import *
from .int.hardware import *
from .int.internet import *
from .int.path import *
from .int.payment import *
from .int.person import *
... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/datasets/int/common.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:16.833852 | """Provides all data related to decorators."""
COMMON_LETTERS = {
"\t": "\t",
" ": " ",
"А": "A",
"Б": "B",
"В": "V",
"Д": "D",
"Е": "E",
"Ж": "Zh",
"З": "Z",
"К": "K",
"Л": "L",
"М": "M",
"Н": "N",
"О": "O",
"П": "P",
"Р": "R",
"С": "S",
"Т": "T"... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/constants.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:16.835162 | from pathlib import Path
from typing import Final
__all__ = ["DATADIR", "LOCALE_SEP"]
# This is the path to the data directory in the mimesis package.
DATADIR: Final[Path] = Path(__file__).parent / "datasets"
LOCALE_SEP: Final[str] = "-"
|
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/compat.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:16.836091 | """Import optional dependencies only when needed."""
try:
import pytz
except ImportError:
pytz = None # type: ignore
|
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | benchmarks/performance_comparison.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:16.837557 | import statistics
import time
from typing import Callable, Dict, List, Tuple
from mimesis import Generic
from mimesis.locales import Locale
from mimesis.providers import (
Address,
Code,
Datetime,
Finance,
Internet,
Numeric,
Payment,
Person,
Text,
)
try:
from faker import Faker... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/datasets/int/cryptographic.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:16.838707 | """Provides all the data related to text."""
__all__ = ["WORDLIST"]
WORDLIST = [
"abandon",
"ability",
"able",
"about",
"above",
"absent",
"absorb",
"abstract",
"absurd",
"abuse",
"access",
"accident",
"account",
"accuse",
"achieve",
"acid",
"acousti... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/datasets/int/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:16.866379 | """Here you can see data that used in all locales."""
from .address import *
from .code import *
from .common import *
from .datetime import *
from .development import *
from .file import *
from .finance import *
from .hardware import *
from .internet import *
from .path import *
from .payment import *
from .person im... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/datasets/int/datetime.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:17.468469 | """Provides all the data related to the data and time."""
ROMAN_NUMS = [
"I",
"II",
"III",
"IV",
"V",
"VI",
"VII",
"VIII",
"IX",
"X",
"XI",
"XII",
"XIII",
"XIV",
"XV",
"XVI",
"XVII",
"XVIII",
"XIX",
"XX",
"XXI",
]
TIMEZONES = [
"A... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/datasets/int/development.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:17.473436 | """Provides all the data related to the development."""
LICENSES = [
"Apache License, 2.0 (Apache-2.0)",
"The BSD 3-Clause License",
"The BSD 2-Clause License",
"GNU General Public License (GPL)",
"General Public License (LGPL)",
"MIT License (MIT)",
"Mozilla Public License 2.0 (MPL-2.0)",
... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/entrypoints.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:17.871300 | """Integrations with other tools that use entrypoints."""
from mimesis import random
def pytest_randomly_reseed(seed: int) -> None:
"""
This function is called by `pytest-randomly` during `pytest` setup.
It sets the global seed for every provider / field.
You can still modify the seed with `.reseed(... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/datasets/int/path.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:17.872052 | """Provides platforms."""
# https://docs.python.org/3.5/library/sys.html?highlight=sys#sys.platform
PLATFORMS = {
"linux": {
"home": "/home/",
},
"darwin": {
"home": "/home/",
},
"win32": {
"home": "C:\\Users\\",
},
"win64": {
"home": "C:\\Users\\",
},
... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/datasets/int/scientific.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:17.891431 | """Provides all the data related to science."""
SI_PREFIXES = {
"negative": [
"deci",
"centi",
"milli",
"micro",
"nano",
"pico",
"femto",
"atto",
"zepto",
"yocto",
],
"positive": [
"yotta",
"zetta",
"exa... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/datasets/int/text.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:18.004868 | """Provides all the data related to text."""
SAFE_COLORS = [
"#1abc9c",
"#16a085",
"#2ecc71",
"#27ae60",
"#3498db",
"#2980b9",
"#9b59b6",
"#8e44ad",
"#34495e",
"#2c3e50",
"#f1c40f",
"#f39c12",
"#e67e22",
"#d35400",
"#e74c3c",
"#c0392b",
"#ecf0f1",
... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/datasets/int/payment.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:18.005378 | """Provides all the generic data related to the payment."""
CREDIT_CARD_NETWORKS = [
"Visa",
"MasterCard",
"Chase",
"American Express",
"Discover",
]
|
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/datasets/int/transport.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:18.076394 | """Provides all the data related to transports."""
CARS = [
"Alfa Romeo 145",
"Alfa Romeo 146",
"Alfa Romeo 147",
"Alfa Romeo 155",
"Alfa Romeo 156",
"Alfa Romeo 156 Sportwagon",
"Alfa Romeo 159",
"Alfa Romeo 159 Sportwagon",
"Alfa Romeo 164",
"Alfa Romeo 166",
"Alfa Romeo 4... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/datasets/int/hardware.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:18.103029 | """Provides all the data related to the hardware."""
from itertools import product
RESOLUTIONS = [
"1152x768",
"1280x854",
"1440x960",
"2880x1920",
"1024x768",
"1152x864",
"1280x960",
"1400x1050",
"1600x1200",
"2048x1536",
"3200x2400",
"1280x768",
"1280x1024",
"2... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/datasets/int/file.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:18.189167 | """Provides all the data related to the files."""
EXTENSIONS = {
"source": [
".a",
".asm",
".asp",
".awk",
".c",
".class",
".cpp",
".pl",
".js",
".java",
".clj",
".py",
".rb",
".hs",
".erl",
... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/exceptions.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:18.276581 | """Custom exceptions which are used in Mimesis."""
import typing as t
from mimesis.enums import Locale
class LocaleError(ValueError):
"""Raised when a locale isn't supported."""
def __init__(self, locale: Locale | str) -> None:
"""Initialize attributes for informative output.
:param locale... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/enums.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:18.277957 | """Implements enums for a lot of methods.
Enums from this module are used in a lot of methods.
You should always import enums from this module if you want
behavior for the methods that differ from the default behavior.
You should never use your own enums in methods because in this case,
there is no guarantee that you... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/keys.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:18.453088 | """The module **mimesis.keys** provides a set of key functions.
Key functions can be applied to fields and fieldsets using the **key** argument.
These functions are applied after the field's value is generated and before the
field is returned to the caller.
"""
import base64
import hashlib
import re
from collections.... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/locales.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:18.482829 | """This module provides constants for locale-dependent providers."""
from mimesis.enums import Locale
from mimesis.exceptions import LocaleError
__all__ = ["Locale", "validate_locale"]
def validate_locale(locale: Locale | str) -> Locale:
if isinstance(locale, str):
try:
return Locale(locale)... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/plugins/factory.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:18.562593 | from contextlib import contextmanager
from typing import Any, ClassVar, Iterator
from mimesis.locales import Locale
from mimesis.schema import Field, RegisterableFieldHandlers
try:
from factory import declarations
from factory.builder import BuildStep, Resolver
except ImportError:
raise ImportError("This ... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:18.577483 | """Contains all the available data providers."""
from mimesis.providers.address import Address
from mimesis.providers.base import BaseDataProvider, BaseProvider
from mimesis.providers.binaryfile import BinaryFile
from mimesis.providers.choice import Choice
from mimesis.providers.code import Code
from mimesis.providers... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/base.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:18.690720 | """Base data provider."""
import contextlib
import json
import operator
import typing as t
from functools import reduce
from mimesis import random as _random
from mimesis.constants import DATADIR, LOCALE_SEP
from mimesis.exceptions import NonEnumerableError
from mimesis.locales import Locale, validate_locale
from mim... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/address.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:18.695027 | """Address module.
This module contains provider Address() and other utils which represent
data related to location, such as street name, city etc.
"""
import typing as t
from mimesis.datasets import (
CALLING_CODES,
CONTINENT_CODES,
COUNTRY_CODES,
IATA_CODES,
ICAO_CODES,
SHORTENED_ADDRESS_FM... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/binaryfile.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:18.742226 | """Binary data provider."""
import typing as t
from mimesis.constants import DATADIR
from mimesis.enums import (
AudioFile,
CompressedFile,
DocumentFile,
ImageFile,
VideoFile,
)
from mimesis.providers.base import BaseProvider
__all__ = ["BinaryFile"]
class BinaryFile(BaseProvider):
"""Class... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/choice.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:18.827707 | """Provides a random choice from items in a sequence."""
import typing as t
from mimesis.providers.base import BaseProvider
__all__ = ["Choice"]
class Choice(BaseProvider):
"""Class for generating a random choice from items in a sequence."""
class Meta:
name = "choice"
def choice(self, *args: ... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/code.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:18.872539 | """The data provider of a variety of codes."""
from mimesis.datasets import (
EAN_MASKS,
IMEI_TACS,
ISBN_GROUPS,
ISBN_MASKS,
LOCALE_CODES,
)
from mimesis.enums import EANFormat, ISBNFormat
from mimesis.locales import Locale
from mimesis.providers.base import BaseProvider
from mimesis.shortcuts impo... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/cryptographic.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:19.043018 | """Pseudo-cryptographic data provider."""
import hashlib
import json
import time
import typing as t
from base64 import urlsafe_b64encode
from uuid import UUID
from mimesis.datasets.int.cryptographic import WORDLIST
from mimesis.enums import Algorithm
from mimesis.providers.base import BaseProvider
__all__ = ["Crypto... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/date.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:19.078075 | """Provider of data related to date and time."""
import typing as t
from calendar import monthrange
from datetime import date, datetime, time, timedelta
from mimesis.compat import pytz
from mimesis.datasets import GMT_OFFSETS, ROMAN_NUMS, TIMEZONES
from mimesis.enums import DurationUnit, TimestampFormat, TimezoneRegi... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/development.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:19.121090 | """Data related to the development."""
import typing as t
from datetime import datetime
from mimesis.datasets import (
LICENSES,
OS,
PROGRAMMING_LANGS,
STAGES,
SYSTEM_QUALITY_ATTRIBUTES,
)
from mimesis.providers.base import BaseProvider
__all__ = ["Development"]
class Development(BaseProvider):... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/finance.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:19.150366 | """Business data provider."""
from mimesis.datasets import (
CRYPTOCURRENCY_ISO_CODES,
CRYPTOCURRENCY_SYMBOLS,
CURRENCY_ISO_CODES,
CURRENCY_SYMBOLS,
STOCK_EXCHANGES,
STOCK_NAMES,
STOCK_TICKERS,
)
from mimesis.providers.base import BaseDataProvider
__all__ = ["Finance"]
class Finance(Base... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/file.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:19.156526 | """File data provider."""
from mimesis.datasets import EXTENSIONS, FILENAMES, MIME_TYPES
from mimesis.enums import FileType, MimeType
from mimesis.providers.base import BaseProvider
__all__ = ["File"]
class File(BaseProvider):
"""Class for generate data related to files."""
class Meta:
name = "file... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/food.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:19.252350 | """Provides data related to food."""
from mimesis.providers.base import BaseDataProvider
__all__ = ["Food"]
class Food(BaseDataProvider):
"""Class for generating data related to food."""
class Meta:
name = "food"
datafile = f"{name}.json"
def _choice_from(self, key: str) -> str:
... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/generic.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:19.255071 | """Provides all at one."""
import inspect
import typing as t
from mimesis.locales import Locale
from mimesis.providers.base import (
BaseDataProvider,
BaseProvider,
ProviderRegistry,
)
from mimesis.types import MissingSeed, Seed
__all__ = ["Generic"]
class Generic(BaseProvider):
"""Class which cont... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/hardware.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:19.324004 | """Provides data related to hardware."""
from mimesis.datasets import (
CPU,
CPU_CODENAMES,
GENERATION,
GRAPHICS,
HDD_SSD,
MANUFACTURERS,
PHONE_MODELS,
RAM_SIZES,
RAM_TYPES,
RESOLUTIONS,
SCREEN_SIZES,
)
from mimesis.providers.base import BaseProvider
__all__ = ["Hardware"]
... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/internet.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:19.431952 | """Provides data related to internet."""
import typing as t
import urllib.error
import urllib.parse
import urllib.request
from base64 import b64encode
from ipaddress import IPv4Address, IPv4Network, IPv6Address, IPv6Network
from mimesis.datasets import (
CLOUD_REGION_DIRECTIONS,
CLOUD_REGION_PREFIXES,
CON... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/numeric.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:19.439367 | """Provides data related to numbers."""
import typing as t
from collections import defaultdict
from decimal import Decimal
from mimesis.enums import NumType
from mimesis.providers.base import BaseProvider
from mimesis.types import Matrix
__all__ = ["Numeric"]
class Numeric(BaseProvider):
"""A provider for gene... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/path.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:19.909216 | """Provides data related to paths."""
import sys
import typing as t
from pathlib import PurePosixPath, PureWindowsPath
from mimesis.datasets import (
FOLDERS,
PLATFORMS,
PROGRAMMING_LANGS,
PROJECT_NAMES,
USERNAMES,
)
from mimesis.providers.base import BaseProvider
__all__ = ["Path"]
class Path(... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/science.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:20.630319 | """Provides pseudo-scientific data."""
from mimesis.datasets import SI_PREFIXES, SI_PREFIXES_SYM
from mimesis.enums import MeasureUnit, MetricPrefixSign
from mimesis.providers.base import BaseProvider
__all__ = ["Science"]
class Science(BaseProvider):
"""Class for generating pseudo-scientific data."""
clas... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/text.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:20.630982 | """Provides data related to text."""
import typing as t
from mimesis.datasets import SAFE_COLORS
from mimesis.enums import EmojiCategory
from mimesis.providers.base import BaseDataProvider
__all__ = ["Text"]
class Text(BaseDataProvider):
"""Class for generating text data."""
def __init__(self, *args: t.Any... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/person.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:20.631891 | """Provides personal data."""
import hashlib
import re
import typing as t
import uuid
from datetime import date, datetime
from string import ascii_letters, digits, punctuation
from mimesis.datasets import (
BLOOD_GROUPS,
CALLING_CODES,
EMAIL_DOMAINS,
GENDER_CODES,
GENDER_SYMBOLS,
USERNAMES,
)
... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/random.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:21.244120 | """Implements various helpers which are used in the various data providers.
This module contains custom ``Random()`` class where implemented a lot of
methods which are not included in standard :py:class:`random.Random`,
but frequently used in this project.
"""
import random as random_module
import typing as t
from m... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/transport.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:21.245096 | """Provides data related to transports."""
from mimesis.datasets import (
AIRPLANES,
AUTO_MANUFACTURERS,
CARS,
VR_CODES,
VRC_BY_LOCALES,
)
from mimesis.locales import Locale
from mimesis.providers.base import BaseProvider
__all__ = ["Transport"]
class Transport(BaseProvider):
"""Class for ge... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/providers/payment.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:21.426821 | """Provides data related to payment."""
import re
import string
import typing as t
from mimesis.datasets import CREDIT_CARD_NETWORKS
from mimesis.enums import CardType, Gender
from mimesis.exceptions import NonEnumerableError
from mimesis.locales import Locale
from mimesis.providers.base import BaseProvider
from mime... |
lk-geimfari/mimesis | https://github.com/lk-geimfari/mimesis | null | null | null | null | 4,803 | null | null | mit | null | null | null | null | null | null | null | mimesis/schema.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:25.111600 | """Implements classes for generating data by schema."""
import csv
import inspect
import json
import pickle
import re
from typing import Any, Callable, Sequence
from mimesis.exceptions import (
AliasesTypeError,
FieldArityError,
FieldError,
FieldNameError,
FieldsetError,
SchemaError,
)
from mi... |
zedr/clean-code-python | https://github.com/zedr/clean-code-python | null | null | null | null | 4,792 | null | null | mit | null | null | null | null | null | null | null | conftest.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:28.588610 | import importlib
import re
import time
import typing
from pathlib import Path
import pytest
from mypy import api
code_rxp = re.compile('```python(.*?)```', re.DOTALL | re.MULTILINE)
class MyPyValidationError(BaseException):
"""A validation error occurred when MyPy attempted to validate the code"""
def fake_pr... |
SpiderClub/weibospider | https://github.com/SpiderClub/weibospider | null | null | null | null | 4,791 | null | null | mit | null | null | null | null | null | null | null | admin/manage.py | null | null | null | null | null | null | Python | 2026-05-04T01:53:30.714667 | import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "weibo_admin.settings")
try:
from django.core.management import execute_from_command_line
except ImportError:
try:
import django
except ImportError:
raise ImportEr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.