Saravanan666/pypi-org huggingface dataset:
Package: getprotocol
GetProtocolSimple script to get if a host is using http or https. Once the results come back, make sure to go through each and every line! Might contain bugs :cat:Tested On (OS & Python version)WSL2 - Ubuntu 20.04 LTS -- Python 3.8.5Downloading & Installationpip3installgetprotocolORgitclonehttps://github.com/Anon-Exploiter/getprotocol/cdgetprotocol/python3setup.pybuildpython3setup.pyinstall--userUsagePiping hostscatfrom a file to the script:cathosts.txt|getprotocolGet hosts from file and pass it togetprotocol:getprotocol<hosts.txtTodosAdd ColorsCreate a Docker image/DockerfileDo more QA testingFiling Bugs/ContributionFeel free to file a issue or create a PR for that issue if you come across any.
Package: get-province-city-county
这是一个专门从文本里面提取中国的省，市，县的一个python模块例子：fromget_province_city_county.cityimportmycitycitys=mycity.get_city("我出生在一个名字叫安徽的省份，我去过浙江，江苏，合肥还有淮南，但我最喜欢的还是合肥，因为我在蜀山区生活过一段时间")print(citys)结果:[['安徽', 5, '淮南', 2, None, 0, False, [1, 1]]]你也可以通过h_zd参数来指定要提取的省市范围，将提取范围缩小，以便得到更精确的结果例子:fromget_province_city_county.cityimportmycitycitys=mycity.get_city("我出生在一个名字叫安徽的省份，我去过浙江，江苏，台州，合肥还有淮南，但我最喜欢的还是合肥，因为我在蜀山区生活过一段时间",h_zd="浙江")print(citys)结果:[['浙江', 5, '台州', 2, None, 0, False, [1, 1]]]通过h_zd这个参数，就可以锁定范围了
Package: getprox
Package DescriptionGetProx is a library for retrieving lists of free HTTP proxies from various online
sites.InstallationThe package may be installed as follows:pip install getproxUsage ExamplesTo retrieve proxies from all available sources, invoke the package as follows:import getprox
proxy_uri_list = getprox.proxy_get()Proxies are returned inhttp://host:portformat. By default, the proxies
will be tested using a simple timeout test to determine whether they are alive.
A list of supported proxy sources can be obtained viaproxy_src_list = getprox.sources()Proxies may also be obtained from a specific source or sources. For example:proxy_uri_list = getprox.proxy_get('letushide')Internally, proxy retrieval and testing is performed asynchronously;
one can also access the asynchronous mechanism as follows:p = getprox.ProxyGet()
# .. wait for a while ..
proxy_src_list = p.get()Instantiation of theProxyGetclass will launch threads that perform
retrieval and testing. If the threads finish running, theget()method will
return the retrieved proxy URIs; if not, the method will return an empty list.DevelopmentThe latest release of the package may be obtained fromGitHub.To DoAdd support for more proxy sources.Expose proxy selection options for specific sources.Provide more robust proxy checking algorithm.AuthorSee the included AUTHORS.rst file for more information.LicenseThis software is licensed under theBSD License.
Package: getproxies
getproxiesGet some free proxies scraped from free proxy sources.fromgetproxiesimportget_proxiesproxies=get_proxies()print(proxies[:10])# [http://196.18.215.153:3128, https://36.67.89.179:65205, http://35.247.192.53:3128, socks5://113.54.158.40:1080, https://180.122.51.154:9999, socks4://117.44.28.152:9201, https://178.20.137.178:43980, https://109.86.121.118:46333, https://148.77.34.194:39175, socks4://114.99.16.195:1080]or using cli:$poetryrungetproxies--help
Usage:getproxies[OPTIONS]scrapefreeproxiesfromallsourcesandputittoSTDOUT

Options:-p,--protocol[https|http|socks4|socks5]restricttospecificprotocol-c,--countryTEXTonlyproxiesfromspecifiedcountry(ISOdoublecharcode,e.g.US)-l,--limitINTEGERlimitproxyretrieval-increasesperformance-f,--formatTEXTproxyoutputformat,availablevariables:host,port,protocol,code,country,anonymous,source[default:{protocol}://{host}:{port}]--helpShowthismessageandexit.Install$pipinstallgetproxies
orforlatestcode
$pipinstall-Ugit+https://github.com/granitosaurus/getproxiesSourcesCurrently these sources are supportedsourcespiderhttp://free-proxy-list.netFreeProxyListSpiderhttp://proxy-daily.comProxyDailySpiderextended usageFor more detailed proxy query aProxyManagercan be used:fromgetproxiesimportProxyManagerproxies=ProxyManager(limit=10,# only 10 proxiesprotocol='socks5',# only socks5 proxiescountry='us',# only us proxies)limit parameter can reduce retrieval timeProxyobjects also have extended attributes:classProxy:host:strport:strprotocol:strcode:str=''country:str=''anonymous:bool=Falsesource:str=''as strings they resolve toprotocol://host:porttemplate.
Package: get-pwbrowser-sync
get-pwbrowser-sync[]Instantiate a playwright firefox sync (as opposed to async) browserInstallationpipinstallget-pwbrowser-sync# or# pip install git+https://github.com/ffreemt/get-pwbrowser-sync.git# python -m playwright install chromiumor via poetrypoetry add git+https://github.com/ffreemt/get-pwbrowser-sync.git &&
python -m playwright install chromiumUsagefromget_pwbrowser_syncimportget_pwbrowser_syncbrowser=get_pwbrowser_sync()page=browser.new_page()page.goto("http://www.baidu.com")print(page.title())# '百度一下，你就知道'Use of.envandos.environThe browser can be run in a headful manner (to actually see what's going on):from get_pwbrowser_sync import get_pwbrowser_sync
browser = get_pwbrowser_sync(headless=False)Some related parametersHEADFUL,DEBUGandPROXYcan be set in shell environ or in .env with prefixPWBROWSER_.e.g.,set PWBROWSER_HEADFUL=1in Windows orexport PWBROWSER_HEADFUL=1in Linux and freinds)or in.env# .envPWBROWSER_HEADFUL=1For more details have a look at the source code.
Package: get-py-deps
get-py-depsA Python module to pretty print a table with the dependencies of a Python package with license and url.Can both be used in your code withfrom get_py_deps import get_py_depsor as a command line tool as.$get_py_depssphinxWhich will output a table with the licenses and urls which were found as dependencies to that package.+--------------------------------------+--------------------------------------------------------------+-------------------------------------------+|Package|License|Url|+--------------------------------------+--------------------------------------------------------------+-------------------------------------------+|alabaster0.7.16|(Licensenotfound)|(Homepagenotfound)||docutils0.17.1|publicdomain,Python,2-ClauseBSD,GPL3(seeCOPYING.txt)|http://docutils.sourceforge.net/||imagesize1.4.1|MIT|https://github.com/shibukawa/imagesize_py||Jinja23.1.3|BSD-3-Clause|https://palletsprojects.com/p/jinja/||packaging23.2|(Licensenotfound)|(Homepagenotfound)||requests2.31.0|Apache2.0|https://requests.readthedocs.io||snowballstemmer2.2.0|BSD-3-Clause|https://github.com/snowballstem/snowball||sphinxcontrib-applehelp1.0.8|(Licensenotfound)|(Homepagenotfound)||sphinxcontrib-devhelp1.0.6|(Licensenotfound)|(Homepagenotfound)||sphinxcontrib-htmlhelp2.0.5|(Licensenotfound)|(Homepagenotfound)||sphinxcontrib-jsmath1.0.1|BSD|http://sphinx-doc.org/||sphinxcontrib-qthelp1.0.7|(Licensenotfound)|(Homepagenotfound)||sphinxcontrib-serializinghtml1.1.10|(Licensenotfound)|(Homepagenotfound)|+--------------------------------------+--------------------------------------------------------------+-------------------------------------------+Note that the package and its dependencies needs to be installed in the environment where the command is run.Use case could be that you want to add an option to your own CLI tool to list the dependencies of your tool.🦆
Package: get-pypi-latest-version
get_pypi_latest_version1. Install package by pypi.$pipinstallget_pypi_latest_version2. Run by command line.Usage:$get_pypi_latest_version-h
usage:get_pypi_latest_version[-h][-a]package_name

positionalarguments:
package_nameThespecifiedpythonpackagename.e.g.opencv-python.

optionalarguments:
-h,--helpshowthishelpmessageandexit-a,--all_versionsWhethertoreturnallreleaseversions.DefaultisFalse.Example:$get_pypi_latest_versionopencv-python# 4.7.0.72$get_pypi_latest_versionopencv-python-a# 4.7.0.72# ['4.7.0.72', '4.7.0.68', '4.6.0.66', '4.5.5.64', '4.5.5.62', '4.5.4.60', '4.5.4.58', '4.5.3.56', '4.5.2.54', '4.5.2.52', '4.5.1.48', '4.4.0.46', '4.4.0.44', '4.4.0.42', '4.4.0.40', '4.3.0.38', '4.3.0.36', '4.2.0.34', '4.2.0.32', '4.1.2.30', '4.1.1.26', '4.1.0.25', '4.0.1.24', '4.0.0.21', '3.4.9.33', '3.4.8.29', '3.4.7.28', '3.4.6.27', '3.4.5.20', '3.4.4.19', '3.4.3.18', '3.4.2.17', '3.4.18.65', '3.4.17.63', '3.4.17.61', '3.4.16.59', '3.4.16.57', '3.4.15.55', '3.4.14.53', '3.4.14.51', '3.4.13.47', '3.4.11.45', '3.4.11.43', '3.4.11.41', '3.4.10.37', '3.4.1.15', '3.4.0.14']# case: package name error$get_pypi_latest_versionopencv# ValueError: No version information of opencv-pytho. Please check if the package name correct.3. Use by python script.fromget_pypi_latest_versionimportGetPyPiLatestVersionobtainer=GetPyPiLatestVersion()package_name='opencv-python'latest_version=obtainer(package_name)print(latest_version)result=obtainer(package_name,return_all_versions=True)latest_version=result[0]all_versions=result[1]print(latest_version)print(all_versions)Change log2023-04-06 v0.0.10 update:Add unit test and add exception capture.2023-04-03 v0.0.8 update:Addreturn_all_versionsparameter.2023-03-26 v0.0.4~5 update:AdddocsReferencepoetry
Package: get-pypi-statistics
get-pypi-statisticsGet statistics of pypi.org. How many projects, how many releases, how many files and how many users?Installpipinstallget-pypi-statisticsUsageC:\Code\get-pypi-statistics>get-pypi-statistics
Usage:get-pypi-statistics[OPTIONS]COMMAND[ARGS]...Getstatisticsofpypi.org.Howmanyprojects,howmanyreleases,howmanyfilesandhowmanyusers?

Options:--helpShowthismessageandexit.

Commands:allGethowmanyprojects,release,filesandusersonpypi.org.filesGethowmanyfilesonpypi.org.projectsGethowmanyprojectsonpypi.org.releasesGethowmanyreleasesonpypi.org.usersGethowmanyusersonpypi.org.ExampleC:\Code\get-pypi-statistics>get-pypi-statisticsall207114projects1563853releases2338758files388982users


C:\Code\get-pypi-statistics>get-pypi-statisticsprojects207114C:\Code\get-pypi-statistics>get-pypi-statisticsreleases1563854C:\Code\get-pypi-statistics>get-pypi-statisticsfiles2338760C:\Code\get-pypi-statistics>get-pypi-statisticsusers388982Bug ReportsPlease report any issues athttps://github.com/zencore-cn/zencore-issues.Releasesv0.1.1 2020/06/28Fix problem in extracting real data. Thanks to @Bob Hancock for reporting the issue.v0.1.0 2019/12/01First releaseGet statistics of projects, releases, files and users.
Package: getquote
getquoteAledger-cligetquote implementation using the
freeIEX Cloud API.SetupCreate a freeIEX Cloud API account.Verify your account and generate API tokens.Installgetquote:pip3installgetquote--prefix/usr/localCreate agetquote.iniconfig file in your ledger directory.[IEX]TOKEN=<your publishable IEX API token here>Alternatively, set theIEX_TOKENenvironment variable.exportIEX_TOKEN=pk_deadbeefdeadbeefdeadbeefdeadbeefTest$getquoteGOOG2020/08/3009:56:54-0400GOOG$1644.41MaintenanceUploading new packages to PyPipipinstalltwine
./setup.pysdist
twineuploaddist/getquote-*.tar.gzAuthorJean-Ralph (JR) Aviles
Package: getr
getrDeveloper GuideSetup# create conda environment$mambaenvcreate-fenv.yml# update conda environment$mambaenvupdate-ngetr--fileenv.ymlInstallpipinstall-e.# install from pypipipinstallgetrnbdev# activate conda environment$condaactivategetr# make sure the getr package is installed in development mode$pipinstall-e.# make changes under nbs/ directory# ...# compile to have changes apply to the getr package$nbdev_preparePublishing# publish to pypi$nbdev_pypi# publish to conda$nbdev_conda--build_args'-c conda-forge'$nbdev_conda--mambabuild--build_args'-c conda-forge -c dsm-72'UsageInstallationInstall latest from the GitHubrepository:$pipinstallgit+https://github.com/dsm-72/getr.gitor fromconda$condainstall-cdsm-72getror frompypi$pipinstallgetrDocumentationDocumentation can be found hosted on GitHubrepositorypages. Additionally you can find
package manager specific guidelines oncondaandpypirespectively.
Package: getrails
GETRAILSLib ofOSINTand Dork hacking that work with Google, Duckduckgo and TorchFeel free to contributeRunimportgetrailsgetrails.search('site:scanme.nmap.org'))# Try Google search if return error use Duckduckgo# ["http://scanme.nmap.org",...]getrails.go_gle("term")# Searching Googlegetrails.go_duck("term")# Searching Duckduckgogetrails.go_onion("term")# Searching torch (Onion)Installpip3 install getrailsorpython3setup.py
Package: get-random-people
get_random_people ·A python package that generates huge dataset of fake, but real looking data of a person, that can be used to practice data science tools such as pandas. Useful to create graphs, tables, etc.Installationpip install get_random_peopleExamplesTo get single person,get_person()from get_random_people import get_random_people

user = get_random_people()
user.get_person() # eg:{"firstname": "Harry", "lastname": "Potter", ...}In the above exampleget_random_people().get_person()will return a dictionary that has all the information of a person.To get multiple person,get_peoples([n])from get_random_people import get_peoples

users = get_random_people().get_peoples() 
hundered_users = get_random_people().get_peoples(100)In the above exampleget_peoples()will return a list of10person by default, but if you pass any numbers in the parenthesis it will return the list of that numbers of people, egget_peoples(100)will return list of100peopleTo get the property of a personuser = get_random_people().get_person()

print(user["firstname"]) #eg: Harry
print(user["lastname"]) #eg: Potter
print(user["age"]) #eg: 33
print(user["nationality"]) #eg: EnglandAll the properties of a personid,
 firstname,
 lastname,
 dob,
 email,
 phone_number,
 address,
 gender,
 religion,
 age,
 skin_color,
 eye_color,
 hair_style,
 hair_color,
 is_married,
 highest_education,
 occupation,
 side_bussiness,
 annaul_income_USD,
 nationality,
 height_in_feet,
 weight_in_kgFunctionsfrom get_random_people import get_random_people

get_random_people().get_highest_education() # returns a qualification
get_random_people().get_phone_number([n]) # returns a phone number with n number of get_random_people().digits, if nothing is passed 10 digit number will be returned
get_random_people().get_DOB(age) # returns a date of birth, must pass age as integer
get_random_people().get_nationality() # returns a country name© 2022 InternetWebSoftwares | Ata Shaikh | Nicholes ViktorThis repository is licensed under the MIT license
See License for details.
Package: get-random-samples-of-picture
Get samples from a picture$pipinstallget-random-samples-of-picturefromget_random_samples_of_pictureimportget_random_samplessamples=get_random_samples("https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000001.png",# Allowed image formats: url/path/buffer/base64/PIL/npwidth=100,heigth=200,samples=10,save_folder="f:\\samples_from_pic",# will be ignored if Noneprefix="papag_",# will be ignored if save_folder=Nonezfill=8,# will be ignored if save_folder=None)OriginalSamples
Package: get-rankings
DBLP ranking using CORE Rank and SJRInstallpipinstallget_rankingsRunget_rankings DBLP_URLGives and overview of a dblp account. The first run will be slow as some data will be cached.For exampleget_rankings https://dblp.org/pid/37/2282.htmlUsageusage: get_rankings [-h] [--start START] [--end END] [-o output.csv] [-d] [--debug] [-v] url

Get ranking from DBLP and show a small summary

positional arguments:
  url            DBLP url

options:
  -h, --help     show this help message and exit
  --start START  starting year
  --end END      ending year
  -o output.csv  output csv file
  -d             display conference and journal list
  --debug        Print lots of debugging statements
  -v, --verbose  Be verboseThanksThanks for Laurent Reveillere (dblp_rankerand Xavier Blancdblp_rankerfor their initial version in nodejs.
Package: get-rectangle-infos
There are 3 common rectangle formats, and converting them all the time really is a pain in the a**Using this function, you get all 3 formats, center coordinates, height, width and the area# Tested with:# Python 3.9.13# Windows 10pipinstallget-rectangle-infosfromget_rectangle_infosimportget_rectangle_informationformat_1x4=(0,0,100,200)format_4x2=[(0,0),(100,0),(100,200),(0,200)]format_2x2=[(0,0),(100,200)]print(get_rectangle_information(rect=(0,0,100,200)))# Rect(format_1x4=(0, 0, 100, 200), format_4x2=[(0, 0), (100, 0), (100, 200), (0, 200)], format_2x2=[(0, 0), (100, 200)], height=200, width=100, area=20000, center=(50, 100))print(get_rectangle_information(rect=[(0,0),(100,0),(100,200),(0,200)]))# Rect(format_1x4=(0, 0, 100, 200), format_4x2=[(0, 0), (100, 0), (100, 200), (0, 200)], format_2x2=[(0, 0), (100, 200)], height=200, width=100, area=20000, center=(50, 100))print(get_rectangle_information(rect=[(0,0),(100,200)]))# Rect(format_1x4=(0, 0, 100, 200), format_4x2=[(0, 0), (100, 0), (100, 200), (0, 200)], format_2x2=[(0, 0), (100, 200)], height=200, width=100, area=20000, center=(50, 100))
Package: getRemarks
#What is new in latest version:Major update, fixed some major bugs and few exceptions.Updated readme file!#How to install:Copy the command from pypi.org and paste onto terminal.#How to use:1: This package will help you to find grade by providing marks obtained and total marks.2: To get the grade, use the Grade() and supply marks obtained followed by total marks seperated by comma.say Grade(100,150). Note, follow obtained marks and then total marks.3: Remember not to supply invalid details, if you do, you will get required error message at the end.4: There are total 5 grades within the package.A grade is from 90-100B grade is from 75-89C grade is from 60-74D grade is from 45-59F grade is from 0-44, obviously. To get the grade simply type objName.getGrade()5: According to grades, conclusion/remarks are provided at the end. To get the remarks, type objName.remarks().#Example for you:1: pip install getRemarks //this will install getRemarks package on your machine.2: import getRemarks as gr  //where gr can be anything depending upon you. This will btw import getRemarks package which was installed in step 1.3: gro= gr.Grade(x,y) //where gro is object and can be any thing. x,y are two int which denotes marks scored and total marks respectively.Remember to seperate two numbers via comma. Say Grade(100,400)4: gro.getGrade() //this function will calculate grade, will find grade according to  #How to use Section point 4.5: gro.remarks() //this will find the conclusion of the grade scored and will provide necessary feedback##Note: I didn't create this to divide students. This is just a project to get hands dirty with. All students are same and I too am a student.
Package: get-repo
get-repoA small cli utility for cloning git repositories in an orderly manner.get-repoclones git repositories into$HOME/source/{host}/{owner}/{repository-name}InstallationOS X & Linux & Windows:pipinstallget-repoUsage exampleget-repohttps://github.com/florian42/get-repo.git
get-repogit@github.com:florian42/get-repo.gitClones the git repository get-repo into~/source/github.com/florian42/get-repoDevelopment setupInstall Python 3.xInstallPoetrypoetryinstall
poetryrunpre-commitinstall
poetryrunpre-commitrun--all-filesRelease History0.1.3Use gitpython instead of subprocessDependency Updates0.1.2Initial ReleaseMetaFlorian Aumeier –hey@flo.fishDistributed under the MIT license. SeeLICENSEfor more information.https://github.com/florian42/get-repoContributingFork it (https://github.com/florian42/get-repo/fork)Create your feature branch (git checkout -b feature/fooBar)Commit your changes (git commit -am 'Add some fooBar')Push to the branch (git push origin feature/fooBar)Create a new Pull Request
Package: getresponse-python
getresponse-pythongetresponse-pythonis an API wrapper for GetResponse written in Python.Installingpip install getresponse-pythonUsagefrom getresponse.client import GetResponse
from getresponse.excs import UniquePropertyError

getresponse = GetResponse('YOUR_API_KEY_HERE')For GetResponse Enterprise platform:from getresponse.client import GetResponseEnterprise

getresponse = GetResponseEnterprise('YOUR_API_KEY_HERE', 'YOUR_DOMAIN_NAME', 'YOUR_API_ENDPOINT')Get account info:account = getresponse.accounts()

print('Account:', account.id, account.name)Get all campaigns:campaigns = getresponse.get_campaigns({'sort': {'name', 'desc'}})

for campaign in campaigns:
    print('Campaign:' campaign.id, campaign.name)Get a campaign:campaign = getresponse.get_campaign('CAMPAIGN_ID_HERE')

print('Campaign:', campaign.id, campaign.name)Create a campaign:campaign = {
   "name": 'UNIQUE_ID_HERE',
}

try:
   campaign = getresponse.create_campaign(campaign)
   print('Campaign:', campaign.id, campaign.name)
except UniquePropertyError:
   print("Cannot create: campaign's name already exists.")Get all contacts:# Example:
contacts = getresponse.get_contacts({'sort[createdOn]': 'ASC', 'query[name]': 'juan'})
for contact in contacts:
    print('Contact:', contact.id, contact.name)Get a contact:contact = getresponse.get_contact('CONTACT_ID_HERE')
if contact:
    print('Contact:', contact.id, contact.name)Create a contact:values = {
    "email": "CONTACT_EMAIL_HERE",
    "campaign": {
        'campaignId': 'CAMPAIGN_ID_HERE',
    },
}

try:
    contact = getresponse.create_contact(values)
    print('Contact in queue to be created.')
except UniquePropertyError:
    print("Cannot created: contact's email already exists.")Delete a contact:contact = getresponse.delete_contact('CONTACT_ID_HERE')Update a contact:body = {
    "name": "Test Name",
    "customFieldValues": [
        {"customFieldId": "pLQSI0", "value": ["comment 1234"]},
        {"customFieldId": "pLQSu3", "value": ["+573108889999"]},
    ],
}
contact = getresponse.update_contact(self, contact_id, body)Get all custom fields:custom_fields = getresponse.get_custom_fields({'sort': {'name', 'desc'}})
for custom_field in custom_fields:
    print('Custom Field:', custom_field.id, custom_field.name)Get a custom field:custom_field = getresponse.get_custom_field('CUSTOM_FIELD_ID_HERE')
if custom_field:
    print('Custom Field:', custom_field.id, custom_field.name)RequirementsrequestsContributingWe are always grateful for any kind of contribution including but not limited to bug reports, code enhancements, bug fixes, and even functionality suggestions.You can report any bug you find or suggest new functionality with a newissue.If you want to add yourself some functionality to the wrapper:Fork it (https://github.com/GearPlug/getresponse-python)Create your feature branch (git checkout -b my-new-feature)Commit your changes (git commit -am 'Adds my new feature')Push to the branch (git push origin my-new-feature)Create a new Pull Request
Package: get-retries
get_retriesAdding retries toRequests.get()withexponential backoff.Retry unsuccessfulGETrequests after waiting for a specific time interval. With each unsuccessful request, the time interval increases exponentially (it doubles). The undertaking is declared ultimately unsuccessful when the time interval gets bigger than amaximum backoffvalue.Installpipinstallget_retriesUsageimportget_retries# max_backoff: maximum interval to wait in secondsresponse=get_retries.get('https://wikipedia.com',max_backoff=32)ifresponse:print(response.status_code)For more information check out thecode.LicenseMIT.
Package: get-rolling-window
get-rolling-windowGets an array ofsize-period rolling windows from an numpy 1-D arrayInstall$pipinstallget-rolling-windowUsageimportnumpyasnpfromget_rolling_windowimportrolling_windowarray=np.arange(1,8)rolling_window(array,3,2)# array([[1, 2, 3],#        [3, 4, 5],#        [5, 6, 7]])rolling_window(array, size, shift, stride) -> np.ndarray|-------- size:3 --------|
|- stride:1 -|           |
|            |           |
1            2           3 --------|---
                                shift:2
3            4           5 --------|---

5            6           7arraynp.ndarrayThe 1-D numpy array. If the given array has more than one dimensions, it will be treated as a 1-D array.sizeintThe size of the window.shift?int=NoneTheshiftargument determines the number of input elements by which the window moves on each iteration. Defaults tosize.stride?int=1Determines the stride of the input elements. Defaults to1.Returnsnp.ndarrayLicenseMIT