Saravanan666/pypi-org huggingface dataset:
Package: pyFiller
pyFillerA tool that literally takes up space!When you need to fill some filesystem space with patterned or random data, pyFiller fulfills your space-filling needsRunpyfiller --helpfor usage detailsCommon examplesFill the specified (existing) folder with random data, up to the limit of the filesystem:pyfiller --totalsize fill Y:\Create 200MiB files with random data, to a maximum of 750.5MiB, with colorful output:pyfiller --filesize 200MiB --totalsize 750.5MiB --colorful Y:\Create one 42MiB file with patterned data with colorful output:pyfiller --filesize 42MiB --totalsize 42MiB --pattern 0xA5FF00 --colorful Y:\
  pyfiller --filesize 42MiB --totalsize 42MiB --pattern "J=8675309 " --colorful Y:\Updating this packageClone this repoOn a branch, make the required editsEnsure you update the version number inpyfiller/__config__.py(pre-release? usercnotation, e.g.,1.0.42rc99)Build and install the distributable wheelrm-rfpyfiller-*distbuild*.egg-info
pythonsetup.pybdist_wheelsdist
ls-aldist
pipuninstall-ypyfiller
pipinstalldist/*.whlTest the toolsThe main tool ispyfillerRun:pyfiller--helpTest the uploaded artifactspipuninstall-ypyfiller
pipinstallpyfiller
Package: pyfilon
filonImplementation of Filon quadrature in Rust (asfilon) and Python (aspyfilon)The Filon quadrature is a quadrature for highly oscillatory
integrals, such as $\int_a^b f(x) sin(mx)$ or $\int_a^b f(x) cos(mx)$.This package implements the Filon quadrature algorithm in Rust as well as
Python viaPyO3andmaturin.Supports:
In Rust: quadrature for discretised functions with $sin(mx)$ and $cos(mx)$
In Python: quadrature for discretised and non-discretised functions with $sin(mx)$, $cos(mx)$ and $exp(imx)$.This code portsJohn Burkardt's implementation of Filon quadrature,
based on Chase and Fosdick's algorithm in the ACM,available on Netlib as TOMS 353.
Package: pyfilters
由python实现的一系列高效的过滤器算法实现基于redis和memory低时间复杂度UseagefrompyfiltersimportMemoryBloomFilterbf=MemoryBloomFilter(10000,0.00001)foriinrange(1000):bf.add(i)foriinrange(1000):assertiinbfassert1001notinbfAdvanced usage计数形布隆过滤器，可以删除数据frompyfiltersimportCountMemoryBloomFiltercbf=CountMemoryBloomFilter(10000,0.00001)foriinrange(1000):cbf.add(i)foriinrange(1000):assertiincbfcbf.remove(1)assert1notincbfredis分块布隆过滤器，避免单key过大fromredisimportRedisfrompyfiltersimportChunkedRedisBloomFilterbf=ChunkedRedisBloomFilter(Redis(),"test_bloomfilter",10000,0.00001)foriinrange(1000):bf.add(i)foriinrange(1000):assertiinbfassert1001notinbf分块计数形redis布隆过滤器,可以删除数据fromredisimportRedisfrompyfiltersimportCountRedisBloomFilterrcbf=CountRedisBloomFilter(Redis(),"test_countbloomfilter",10000,0.00001)foriinrange(1000):rcbf.add(i)foriinrange(1000):assertiinrcbfrcbf.remove(1)assert1notinrcbf
Package: pyfinance-tunisia
Python library about financial informations extraction tunisian companies in the stock marketFunctionality of pyfinance_tunisiaIncome statement indicators : EBIT ,EBITDA ,Gearing ,Return on equity ,Net profit...

Balance sheet indicators : Net debt ,Need in funds ,Revenue ,Equity...

Long term stock market indicator : P/E ,Dividend Yield ,P/B	,Pay out...	

The company's shareholders : The shareholder name and the percentage % .

Dividend : Dividend per share ,Distribution date ,Total amount...

the financial news of all Tunisian companies can be useful for your analysisUsage-Make sure you have Python installed in your system.-Run Following command in the CMD.pip install pyfinance_tunisia .Examplefrom pyfinance_tunisia import list_stocks,company,news

#Fist you need to see all tunisian companies in stock market
Tunisian_stocks=list_stocks()

#Choose one company that we are intersting in .
# We take example of ADWYA company.

# With income_statement_indicators funtion  you can find the Return on equity ROE ratio,gearing ratio,EBIT and EBITDA and others for the last 4years
company('ADWYA').income_statement_indicators()

# With balance_sheet_indicators function you can find the most important ratios in the balancesheet for the last 4 years.
company('ADWYA').balance_sheet_indicators()

# stock_market_indicators function can help to find many stock market indicators like P/E ratio , Divended yield and P/B for the last 4 years.
company('ADWYA').stock_market_indicators()

# shareholders function is helpful to find list of shareholders in company that you are choosing .
company('ADWYA').shareholders()

#the financial news of all Tunisian companies can be useful for your analysis
news.company('ADWYA')
Package: pyfind
pyfindA simple python import that will allow you to traverse local directories and sub-folders returning lists of files in folders.pyfind is under semi-active development as I am a student but this projectshouldbe maintained into the foreseeable future.Commands currently available:import pyfind as pfMethodDocumentationfind(location, extension, keepExtension)Searches the current working directory (unless otherwise specified) for any files with the matching extension property and return them in array format.Still Under DevelopmentDocumentationfindsub(location, extension, keepExtension)Searches the chosen directory and all contained sub folders for any files with the matching extension property and return them in array format.These will be added whenever I get round to itTo-do listfind() methodfindsub() methodrecursive rewrite of methodscustomisation of the output and saving this custom output format to a settings file (e.g. splitting using a csv, outputting as a new-line string instead of a list, etc.)saving search results to an output logallowing the instantiation of classes that can deal with:scheduled searches (based on time)searches that run when a method is calledsaving these settings and schedules and loading them from files
Package: pyfinder
IntroductionPyFinder allows you either to find files in the file-system or some text
inside files.
It provides a library (thepyfinder.pyfile) and a script calledpyfinder,
that can be executed from the command line.Supported Python versionsPyFinder requires Python version 3.3 or above.Installation instructionsPyFinder is only released as a source distribution. Installing bypipis the simplest and preferred way on all systems:$ pip install pyfinderOtherwise download the source tarball fromhttp://pypi.python.org/pypi/pyfinder,
uncompress it, enter thepyfinder-x.ydirectory and then run theinstallcommand:$ python setup.py installHow to use PyFinderTo use thepyfindermodule just import it and call its functions. Here is some
examples:>>> import os
>>> import email
>>> import pyfinder
>>> for file in pyfinder.file_finder('message.py', os.path.dirname(email.__file__)):
...     print(os.path.basename(file))
...
...
message.py
>>> for match in pyfinder.file_inspector(pyfinder.__file__, 'def file_*'):
...     print(match, end='')
...
...
def file_finder(pattern: str, top_dir: str=os.curdir, recursive: bool=False):
def file_inspector(file_name: str, pattern: str):For more information about the module usage look at its documentation (pyfinder.__doc__).
There is also apyfinderscript that allows you to easily find files and text inside files
from the command line. For information about the script usage look at the output ofpyfinder-h.
Package: pyfindfiles
PyFindFilesFind files (text or binary) containing text or patterns efficiently with Python, cross-platform.
Default is to only search files smaller than 10 MBytes.
Uses pipelining and asyncio to speed up operations.InstallNormally install bypipinstallpyfindfilesfor latest development codegitclonehttps://github.com/scivision/pyfindfiles

pipinstall-epyfindfilesUsagefindtextlooks for strings inside text or binary files, and reports filename text is found in.-v: filename, line number, and text found-t: search for files newer than date, or between dates if two dates given.findtextPattern"*.ext"rootPattern
: text to search for"*.ext"
: file extension(s) to search forroot
: top-level directory to search underfindvidfindvid rootlooks under top-level directoryrootfor video files (by common file extensions)
Package: pyfindsubdomains
# PyFindSubDomains> A Pythonic wrapper over the findsubdomains service## About[FindSubDomains](https://findsubdomains.com/)'s service is pretty self explainatory. This is the unofficial python wrapper.## Author[Daniel Abeles](https://twitter.com/Daniel_Abeles).## InstallFirst, follow the installation guide of MassDNS.Then, get it from PyPI:```pip install pyfindsubdomains```Or, build it from source:```bashgit clone https://github.com/Den1al/pyfindsubdomainscd pyfindsubdomainspython setup.py buildpython setup.py install```## Usage```pythonfrom findsubdomains import FindSubDomainsfsd = FindSubDomains(domain='example.com')for result in fsd.get():print(result)""">>> {'domain': 'example.com' ..."""```## TODO* Add more functionalities provided by the `findsubdomains` service.## Credits[FindSubDomains](https://findsubdomains.com/)
Package: pyfindtext
pyfindtextFind a string of text in any file located in a directory.Searches through multiple files that are in a directory and returns the file
, line number, and a print out of the row where the text was found.In the case of multiple hits, a list of lists is returned.InstallationWorks on Python 3.7+pip install pyfindtextUsageimport pyfindtext

result = pyfindtext.find(directory=/path/to/dir, text=search_string)
for x in result:
    print(x)
Package: pyfindtool
PyFindThis module provides a simple tool to search a directory tree for files
matching some criteria, in a way similar to GNU find.It works both from command line and as a module.A sample:from pyfind import Search
	
	# Finds all files greater than 1 MiB, created in the last 25 minutes,
	# whose name ends in '.py' or '.pyc'
	for found in Search('.', '-size +1m -a -cmin -25 -a ( -name *.py -or -name *.pyc )').find():
		print (found)Also, it provides some extension switches: -Xdate and -Xhour, to test date
and times in a more user-friendly way (and better than -xnewerXY).The code is given to the Public Domain.
Package: pyfindvs
pyfindvsPython client library for locating Visual Studio 2017.UsageThe basic functions arefindall,findwithallandfindwithany.Callingfindallwill return a (potentially cached) list of currently installed copies of
Visual Studio 2017. Each list item is aVisualStudioInstanceobject with attributes forname,version,version_info(numeric parts ofversionas a tuple),pathandpackages(a set of the installed components).Callingfindwithallorfindwithanywill only return instances of Visual Studio where
all/any of the specified package names are installed.For example:>>> pyfindvs.findall()
[<VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>,
 <VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools>]

>>> pyfindvs.findwithall('Microsoft.VisualStudio.Component.VC.Tools.x86.x64',
                         'Microsoft.VisualStudio.Component.Windows10SDK.10586')
[<VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools>]

>>> pyfindvs.findwithany('Microsoft.VisualStudio.Component.VC.Tools.x86.x64',
                         'Microsoft.VisualStudio.Component.Windows10SDK.10586')
[<VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>,
 <VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools>]
Package: pyfineflow
pyfineflowfineflow的python节点后端usageinstallpipinstallpyfineflowmake a democreate dir and files like this：pyfineflow-demo/main.pyapp.pymath_nodes.py# app.pyfrompyfineflow.coreimportFinefine=Fine('pyserver','python后端')# math_nodes.pyimporttimefromdatetimeimportdatetimefrompathlibimportPathfrompyfineflow.coreimportget_ctxfromappimportfine@fine.node(category='数学运算',name="相加")defadd(num1:int,num2:int)->int:num=num2+num1returnnum@fine.node(category='数学运算',name="相减")defsub(num1:int,num2:int=2)->int:num=num1-num2returnnum# main.pyfromappimportfinedefinit():importmath_nodes_=math_nodesinit()fine.init_server(port=8081)run it:pythonmain.py
Package: pyfinex
pyfinexPython wrapper for Bitfinex API.DependenciesRequests library is required.UsageInclude the pyfinex module and use it as a toolbox. For trading, a key and a secret key must be provided.importpyfinexAPI_KEY='insert key'API_SECRET='insert secret'resp=pyfinex.v1.positions.active(key=API_KEY,secret_key=API_SECRET)resp=pyfinex.v1.public.ticker(symbol='btcusd')Function names are organized for better codingFunction names are referred in part to the api doc's html, which you can seeBitfinex API web page.Required params to build the request's url are coded in the function's args, other query params are to be added acording to api docBEWARE: some inputs varies from v1 to v2. Example: v1>> 'BTCUSD' v2>> 'tBTCUSD'All documented API calls are implemented!ExamplesGet the latest BTCUSD priceresp=pyfinex.v1.public.ticker(symbol='btcusd')View your active ordersresp=pyfinex.v1.positions.active(API_KEY,API_SECRET)Get the BTCUSD order bookresp=pyfinex.v1.public.order_book(symbol='btcusd')Get the last BTCUSD 1m candleresp=pyfinex.v2.public.candles(Symbol='tBTCUSD',TimeFrame='1m',Section='last')Note: in v2 the parameters are capital case.Submit a new orderFor example, if you'd like to buy 0.001 BTC as 0.01 BTC/USD, you need to specify the parameters acording to the api doc. You may parse the response to get the order id for future use.resp = pyfinex.v1.orders.new(symbol="BTCUSD", amount=0.001, price=0.01, side='buy', type='market')In case there is a new call you can do it yourself!:pyfinex.api.request(authenticate=True,key=API_KEY,secret_key=API_SECRET,version=1,endpoint='new/api/call/here',method='POST',body_params={},query_params={})TestReplace your keys in .env.example file, and rename it to .envInclude your unit tests as functions in a test_vX_*.py filedeftest_ticker():resp=pyfinex.v1.public.ticker(symbol='btcusd')resp['mid']Run the tests using pytestKnown IssuesNoTODOTest every endpointContributingCreate an issue and discuss.Create a feature branch containing only your fix or feature.Add tests, please!!Create a pull request.Thanks!Referenceshttps://github.com/scottjbarr/bitfinexhttps://github.com/jimako1989/bitfinexpyBitfinex official API wrapper for RubyBitfinex v1 API docBitfinex v2 API docLicenceThe MIT License (MIT)Copyright (c) 2018 faberquisqueSeeLICENSE.md
Package: pyfingerd
finger is both a protocol and a utility to get the information and status
from a user on a distant machine. It was standardized inRFC 742in 1977, then inRFC 1288in 1991, and has been abandoned since.While describing the protocol ina blog post of mine, I wanted
to implement this protocol for fun, but didn’t want to present the
real information about the users on my server, so I made this to present
some fictional information in order to be able to tell a story through
finger.You can find more information onthe pyfingerd homepage.What is left to doFor further versions:add a live action interface (where a port/socket is opened and updates
are read and applied through it).make external commands or actions from a scenario, to make it more
believable! although this might need a switch from outside the scenario
to be sure this behaviour is wanted (e.g. a CLI/env option).add a Win32 native interface.
Package: pyfingerprint
Python library for ZFM fingerprint sensorsThe PyFingerprint library allows to use ZhianTec ZFM-20, ZFM-60, ZFM-70 and ZFM-100 fingerprint sensors on the Raspberry Pi or other Linux machines. Some other models like R302, R303, R305, R306, R307, R551 and FPM10A also work.Note:The library is inspired by the C++ library from Adafruit Industries:https://github.com/adafruit/Adafruit-Fingerprint-Sensor-LibraryHow to use the libraryEnroll a new finger~$ python /usr/share/doc/python-fingerprint/examples/example_enroll.pySearch an enrolled finger~$ python /usr/share/doc/python-fingerprint/examples/example_search.pyDelete an enrolled finger~$ python /usr/share/doc/python-fingerprint/examples/example_delete.pyDownload image of a scanned finger~$ python /usr/share/doc/python-fingerprint/examples/example_downloadimage.pyGenerate a 32-bit random number on the ZFM hardware PRNG~$ python /usr/share/doc/python-fingerprint/examples/example_generaterandom.pyFurther informationSee my blog post for more information:https://sicherheitskritisch.de/2015/03/fingerprint-sensor-fuer-den-raspberry-pi-und-debian-linux-en/
Package: pyfinidash
PyfinidashPyfinidash is a simple-to-use wrapper over the AWS Infinidash API. Infinidash allows users to quickly rescale applications across availability zones, programmatically. This rescaling is managed with identifier tokens generated from a key provided by an authenticated AWS user in any single given availability zone. The real magic is the cross-availability zone authentication engine which has been added that brings together the ability for applications to be auto-scaled within a single availability zone, and the ability to replicate across availability zones. The replication/rescaling process is enhanced by the ability to programmatically execute a fully recursive replication/rescaling of the application throughout all availability zones across the globe.Pyfinidash is designed to take this entire process and make it user friendly.SetupTo install Pyfinidash, make sure you have Python 3.x installed. Simply run this command to get started:pip3 install pyfinidashUsing PyfinidashGenerating an Infinidash ConfigurationPyfinidash reads theaws-infinidash.jsonfile at the root of your project. In case you don't know how to format one, that's just fine. Until theaws-cliis updated with a full auto-generation of the configuration file, Pyfinidash can do it for you. From the command line run the following:pyfinidash initThat's it! A brand new config file will be written to your project.Using Pyfinidash in a Rescaling ScriptPyfinidash makes it easy to both encrypt and publish hashes for handing cross-availability-zone authentication, as well as scaling containerized applications across availability zones without needing much of the normal setup required for availability zone replication.Here's the demo built into the CLI:client=InfinidashClient()client.encrypt(key).publish()print(client.encrypted_key)application=client.application("Hello")print(application.get_app_arn())print("")application.scale_to(10)rescaled_instances=application.get_rescaled_instances()forinstanceinrescaled_instances:print(instance.get_app_arn())You can see, with just a few lines of code, we get rescaling to 10 instances with minimal code, and we can quickly and easily capture the arns for each of the deployed application container instances. The wonderful bit of news is, each rescaled instance is, itself, a full application container instance which can be rescaled again.This recursive rescaling technology is what makes Infinidash the perfect tool to quickly bring your application containers up and get them running in web scale!Happy hacking!
Package: pyfinlab
PyFinanceLabPyFinanceLab is a library which brings together various financial applications into one package for financial research and portfolio management. Navigate to the jupyter folder of the pyfinlab repository to see usage examples.PyFinanceLab is in alpha development.FeaturesData API WrapperThe data API wrapper makes it easy to switch betweenyfinance(free to use) andtia(Bloomberg Professional Servicessubscription) Python libraries for pulling financial data.Portfolio OptimizationCompute an efficient frontier of portfolios based on any one of 7 risk models and 3 return models from thePyPortfolioOptlibrary.Multifactor Scoring ModelAnalyze and rank stocks according to factors assumed to have excess returns and violate the efficient market hypothesis.Optimizer BacktestBacktest optimized portfolios and compute performance charts, efficient frontier plots, and performance statistics.Excel Report GenerationShow your optimizer results and backtest in a nicely formatted Excel file for further analysis.Stock-to-Flow ModelingGenerate and hypothesis test stock-to-flow models for 16 cryptocurrencies with data updated daily.InstallationIt is recommended you use Anaconda for this installation process.Anaconda Individual Editionis appropriate for most users. Make sure you have installedMicrosoft C++ Build Toolsinstalled on your computer. If you encounter any errors with, "Microsoft Visual C++ 14.0 is required", try followingthese instructionsto download and install Microsoft Visual C++ 14.0. If you get an error installing any of the packages below, try to install the problematic package separately.Setting Up Anaconda Environment for PyFinLabOpen Anaconda Prompt and create a new environment called pyfinlab.conda create -n pyfinlab python=3.8 gitActivate the new pyfinlab environment.conda activate pyfinlabInstall the following conda packages using conda-forge channel.conda install -c conda-forge blpapi jupyterlab xlsxwriter tqdmInstall the following conda packages using anaconda channel.conda install -c anaconda xlsxwriter statsmodelsInstall the following GitHub repositories one at a time.pip install git+https://github.com/PaulMest/tia.git#egg=tiapip install git+https://github.com/nathanramoscfa/ffn.gitInstall the following packages using pip.pip install --upgrade-strategy only-if-needed yfinance tqdm openpyxl patsy openpyxl bt PyPortfolioOptInstalling PyFinLabUnless you know what you are doing, it is recommended to install pyfinlab either using pip or cloning from Github, but not both in order to prevent conflicts arising from having pyfinlab installed in two locations on your computer. The developer version is the most up-to-date.Developer Version (Most Up-to-Date)Clone the GitHub repository to a project directory of your choosing.git clone git+https://github.com/nathanramoscfa/pyfinlab.gitPyPI (pip)Install pyfinlab to your environment's site-packages folder with the following command.pip install pyfinlabRoadmapFuture development will include:Documentation and TestingDocumentation and testing will be published as this Python library is further developed.
Package: pyfinmod
Financial modelling with Python and PandasImplemented functions:Basic calculationsNet present ValueInternal rate of returnsFlat loan paymentsFuture valueContinuously compounded interest rateEnterprise valueFree Cash FlowsWeighted average cost of capital and DCFBased on this bookFinancial Modeling by Simon BenningaChangelogv0.2.2:Fixed broken API linkFixed minor bugsv0.2.1:Fixed failed testsIntegrate code coverageCleaned-up code, relative paths, broken linksv0.2:Switched to financialmodelingprep.com API for financialsPyPI releasereadthedocs releaseFeatures in the next releasesOptimal portfolio calculationCaching of API resultsDocumentationThe latest docs are availablehere.InstallationEasiest way to install is to use pippip install pyfinmodContributingAll contributions in the form of pull-requests and issue reports are welcome.SupportThis package is originally created by Alexey Smirnov. All credits to him for his awesome work.Send him am emailmsc.smirnov.am+pyfinmod@gmail.comShoot him a message inLinkedinBuy him a coffee here