Saravanan666/pypi-org huggingface dataset:
Package: pyflation
IntroductionPyflation is a Python package for calculating cosmological perturbations during
inflationary expansion of the universe.Pyflation was created by Ian Huston (http://www.ianhuston.net) while at
Queen Mary, University of London (http://www.qmul.ac.uk).Once installed the modules in the pyflation package can be used to run
simulations of different scalar field models of the early universe.The main classes are contained in the cosmomodels module and include
simulations of background fields and first order and second order perturbations.
The sourceterm package contains modules required for the computation of the
term required for the evolution of second order perturbations.
The analysis package contains routines to calculate the first order
First and Second order perturbations can be calculated for single field models
but only first order perturbations can be evolved for multi-field models.Alongside the Python package, the bin directory contains Python scripts which
can run first and second order simulations.
A helper script called “pyflation_qsubstart.py” sets up a full second order run (including
background, first order and source calculations)
to be used on queueing system which contains the “qsub” executable (e.g. a Rocks
cluster).Installation of the code is described in the INSTALL.txt file. The pyflation
package can be installed as a normal Python package to the site-packages
directory or each run of the code can be self-contained with code, results and
logs all contained in a run directory.The “pyflation_newrun.py” script creates a new run directory and populates it with the
code and sub-directories which are required.
In particular the file “provenence.log” in the “applogs” directory contains
information about the version of the code and system libraries at the time of
the creation of the run.More information about Pyflation is available at the websitehttp://pyflation.ianhuston.net. Online documentation is available athttp://pyflation.ianhuston.net/docs.For copyright and license information please see the LICENSE.txt file. For
installation information see the INSTALL.txt file. For usage information see
the USAGE.txt file.Relevant PublicationsPyflation has been used to generate results for peer-reviewed publications
includingIan Huston, Adam Christopherson, Calculating Non-adiabatic Pressure
Perturbations during Multi-field Inflation,
Physical Review D85, 063507 (2012),http://arXiv.org/abs/1111.6919Ian Huston, Karim A. Malik, Second Order Perturbations During Inflation
Beyond Slow-roll,
Journal of Cosmology and Astroparticle Physics 10(2011)029,http://arXiv.org/abs/1103.0912Ian Huston, Karim A. Malik, Numerical calculation of second order perturbations,
Journal of Cosmology and Astroparticle Physics 09(2009)019,http://arXiv.org/abs/0907.2917As a courtesy please cite one or more of these
papers in any publication which uses Pyflation.AcknowledgementsThis author of this software is supported by the Science & Technology Facilities
Council under grants ST/G002150/1 and ST/J001546/1.Thank you to Adam Christopherson, Karim Malik, David Mulryne and Jason Furtney
for their discussions and contributions.
Package: pyflct
pyflct is a Python wrapper around theFourier Local Correlation Tracking C library.Our built documentation is available here.InstallingLinux and Mac OSThe simplest way to install this library is through pip:$ pip install pyflctThis will install the pre-compiled binary wheels for these two platforms.WindowsWe only officially support Windows through Anaconda.
But we do have rough instructions in our documentation if you want to install it manually.Please find the instructions in our documentation.Getting HelpStop by our chat room#sunpy:matrix.orgif you have any questions.ContributingIf you would like to get involved, check out theDeveloper’s Guidesection of the SunPy docs.
Help is always welcome so let us know what you like to work on, or check out theissues pagefor the list of known outstanding items.
For more information on general contributing, please read ourcontributing guide.If you want help develop pyflct you will need to install it from GitHub.
The best way to do this is to create a new python virtual environment (of your choice) and then fork this repository.Then:$ git clone https://github.com/<username>/pyflct.git
$ cd pyflct
$ pip install -e .[dev]You will need to install your operating system’s FFTW3 development library.
You might need topip install extension_helpersif there is an error about it being missing.You can run:$ python setup.py build_ext --inplaceto build the C extension in place.Code of ConductWhen you are interacting with the SunPy community you are required to follow ourCode of Conduct.LicenseThis project is Copyright (c) The SunPy Developers and licensed under the terms of the LGPL-2.1 license.
This package is based upon theOpenastronomy packaging guidewhich is licensed under the BSD 3-clause licence.
Package: pyfld
pyfldPython package for detecting line segments from images.In order to extract line segments, Lee et al. (2014) devised a simple but reliable extractor inspired from Bay et al. (2005). Lee et al. (2014) described it as follows.Given an image, Canny edges are detected first and the system extracts line segments as follows: At an edge pixel the extractor connects a straight line with a neighboring one, and continues fitting lines and extending to the next edge pixel until it satisfies co-linearity with the current line segment. If the extension meets a high curvature, the extractor returns the current segment only if it is longer than 20 pixels, and repeats the same steps until all the edge pixels are consumed. Then with the segments, the system incrementally merges two segments with length weight if they are overlapped or closely located and the difference of orientations is sufficiently small.This package is designed to allow fine tuning of parameters based on this approach.InstrationThe currently recommended method of installation is via pip:pipinstallpyfldpyfld can also be installed by cloning the GitHub repository:gitclonehttps://github.com/tsukada-cs/pyfldcdpyfld
pipinstall.Dependenciesnumpy >= 1.17.3opencv-coontrib-python >= 2.4Sample UsageStandard use case:importnumpyasnpfromPILimportImagefrompyfldimportFastLineDetectorimg=Image.open("sample.png")img=np.asarray(img.convert("L"))length_threshold=10distance_threshold=1.41421356canny_th1=50canny_th2=50canny_aperture_size=3do_merge=Falsefld=FastLineDetector(length_threshold,distance_threshold,canny_th1,canny_th2,canny_aperture_size,do_merge)(x1,y1,x2,y2),_=fld.detect(img)If theimgis already binarized, setcanny_aperture_size=0. Then, the Canny method is not used, and line segment detection is performed directly on the input image.Example of line segment visualization:importmatplotlib.pyplotaspltfig,ax=plt.subplots()ax.imshow(img,cmap="gray")ax.plot([x1,x2],[y1,y2],c="r")plt.show()ReferenceJ. Han Lee, S. Lee, G. Zhang, J. Lim, W. Kyun Chung, I. Hong Suh. "Outdoor place recognition in urban environments using straight lines." In 2014 IEEE International Conference on Robotics and Automation (ICRA), pp.5550–5557. IEEE, 2014.[Link to PDF]H. Bay, V. Ferraris, and L. Van Gool, “Wide-Baseline Stereo Matching with Line Segments.” In Proc. of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), vol.1, no., pp.329-336, June 2005.[Link to PDF]
Package: pyfldigi
pyFldigiSummary / ContextpyFldigi is a small Python library that can control the Fldigi
application via XML-RPC.Fldigi is a digital modem application that is widely used in the amateur
radio community. It acts as a digital modem, intended to be coupled with
a standard SSB or FM transceiver radio.FeaturesFull implementation of the availableXML-RPC clientcommands]Get FLDIGI version, name, etc.Modem: Get and set the modem type, carrier frequency, bandwidth,
etc.Modem: Get and set various modem configuration options for
Olivia, WEFAX, and NAVTEXTransmit: Set RX/TX mode to Transmit, Receive, or Tune.Abort a transmit or tune.Squelch: Get or set the squelchRig control: Get or set various rig controls, such as frequency,
mode, etc.Logging: Get and set various log field contents. This is in the
context of ham contact logs, not debug logs.Text: Send text to FLdigi to be transmittedText: Get text from FLdigi that has been receivedTerminate the Program: Terminate the program gracefully by asking
it to close.Application monitoring and launching. It is possible to launch FLdigi
from a Python command, and monitor it. Also the program can be killed
if it refuses to shut down gracefully.Configuration: TBD. Reading and writing of the configuration
file(s). Requires a restart of FLdigi.Applications and Intended UsageRemote weather stations.Portable HF setups. Typically, HF digital setups are bulky and
require several interconnected pieces of hardware, usually via audio
cables. This library, along with some custom hardware, could allow a
walkie-talkie sized HF digital radio that’s completely integrated.Emcomm‘Headless’ operation on a Raspberry Pi, BeagleBone, or any number of
other Linux-based single-board computers.Putting a more ‘user-friendly’ GUI on top of FLdigi.Web enabled FLDIGI via HTML5 and some Javascript, that could be
accessed from anywhere. Python’s Flask / Django along with Bootstrap,
and a few REST calls, for example.Allow a phone or tablet to send and receive FLDIGI messages via a
custom app. There is an Android version of FLDIGI, but that might not
be the best approach for every problem. A more custom application
could be created to use only a particular mode and send pre-formatted
data, for example, with considerably less work than it would be to
fork the FLDIGI mobile application and update it.DocumentationAPI Documentationhttps://pythonhosted.org/pyfldigi/Useful FLDIGI documentationFLDIGI Wikipedia pageFLDIGI Users Manual - XML-RPC ControlFLDIGI Users Manual - Modems[FLDIGI Users Manual -
Configuration](http://www.w1hkj.com/FldigiHelp-3.21/html/conf
Package: pyfletcher
Fletcher runtime library for PythonFletcher is a framework for integrating FPGA accelerators with Apache Arrow that
generates easy-to-use and efficient hardware interfaces allowing hardware
addressing via table indices rather than byte addresses. Pyfletcher aims to make
the Fletcher runtime library available in Python, allowing any Python programmer
to easily interface with Fletcher enabled FPGA images. See therepositoryfor using Fletcher to
generate hardware.InstallingThe base pyfletcher library binary wheels can be easily installed on Linux:pip install pyfletcherIn order to use pyfletcher to interface with FPGA's, please install the correct
driver for your platform from therepository.
It is recommended to install the echo platform for debugging and testing.Building from sourceBefore installing pyfletcher, you should install Cython, numpy and pyarrow.pip install Cython numpy pyarrowInstall theFletcher C++ run-time libraryas follows:mkdir buildcmake .. -DFLETCHER_PYTHON=ON -DPYARROW_DIR=<pyarrow_install_dir>makesudo make installHere, <pyarrow_install_dir> should be the path to where pyarrow is installed
on your system. This can easily be found by running the following code in
Python:import pyarrow as pa
print(pa.get_library_dirs())You can now install pyfletcher.python setup.py install
Package: pyflexpay
pyflexpayA Python SDK for the FlexPay API used by Corporate Merchants to
connect to FlexPay to perform mobile money transactions.The FlexPay API provides access to two interfaces, the interface for sending
the request (Payment Service) and that for verifying the
transaction (Check transaction).Table of ContentsPayment ServiceCheck TransactionMerchant Payout ServiceQuickStartDocumentation/UsageContributingCreditsPayment ServiceThis service is used to send a payment request to FlexPayURL:https://ip:port/api/rest/v1/paymentServiceMethod: POSTFormat: JSONRequestResponseResultExampleCheck transactionThis service is used to check the status of a payment request previously sent to FlexPay.URL:http://ip:port/api/rest/v1/check/orderNumberMethod: GETRequestResponseExampleMerchant Payout ServiceThis service allows a merchant to send money to a user’s phone number, from the merchant mobile
money account.URL:https://ip:port/api/rest/v1/merchantPayOutServiceMethod: POSTFormat: JSONRequestResponseResultQuickStartInstallationpip install pyflexpayFrom Sourcegit clone https://github.com/TralahM/pyflexpay
cd pyflexpay

python setup.py bdist_wheel
pip install -e .DocumentationAPI ReferenceContributingCredits
Package: pyflichub-tcpclient
Asynchronous Python TCP Client for FlicHubGet events from the FlicHub when a Flic Button is clicked.To be able to use this client you need to enable the Flic Hub SDK described onthispage.Create a new module and name it to whatever you want and paste the code found intcpserver.jsin the editor and press play.This will open a TCP Server on port8124(configurable by changingPORT)DisclaimerThis python library was not made by Flic. It is not official, not developed, and not supported by Flic.
Package: pyflies
pyFliespyFliesis a Domain-Specific Language
(DSL) for designing experiments in psychology. It is meant to be highly readable
and simple to learn. A code for various run-time platforms can be generated from
the experiment description.See theofficial documentationfor more.Click on the image bellow to see a short (~3 min) overview video.CitingIf you are using PyFlies in your research or you are referring to PyFlies in your papers please citethis
paper:Dejanović, I.; Dejanović, M.; Vidaković, J.; Nikolić, S. PyFlies: A Domain-Specific Language for Designing Experiments in Psychology. Appl. Sci. 2021, 11, 7823.https://doi.org/10.3390/app11177823@Article{app11177823,AUTHOR={Dejanović, Igor and Dejanović, Mirjana and Vidaković, Jovana and Nikolić, Siniša},TITLE={PyFlies: A Domain-Specific Language for Designing Experiments in Psychology},JOURNAL={Applied Sciences},VOLUME={11},YEAR={2021},NUMBER={17},ARTICLE-NUMBER={7823},URL={https://www.mdpi.com/2076-3417/11/17/7823},ISSN={2076-3417},DOI={10.3390/app11177823}}
Package: pyflies-ls
pyflies-LSpyflies-LS is a language server that provides smartness forpyflieslanguage.It is expected to use this package in conbination with some IDE extension for pyflies.An example for this would bevscode-pyfliesextension for Visual Studio Code.Featurespyflies Language Server contains all logic for providing features like:Code completionCode validation and error reportingQuick fix for typosFind all referncesGo to definitionThe server usespyglsto expose all functionalities overLanguage Server Protocol.
Package: pyflies-psychopy
pyflies-psychopyGenerator forPsychoPyexperiments frompyFliesmodels.When this project is installed you will have a textX registered generator that
can generate PsychoPy experiment from pyFlies models (.pffiles). You can
verify that generator is available by:textx list-generatorsand you can generate PsychoPy experiment by:textx generate <your pyflies model.pf> --target psychopy --overwriteFor the details seerunning generators
sectionof pyFlies
documentation.ConfigurationPsychoPy can be configured inuserPrefs.cfg
file. Its locationvaries by
machine.You can usePreferencesdialog in the PsychoPy GUI for the configuration.Parameters in thetargetconfiguration blockSeepfpsychopy.default_settings.resolution: Point- Screen/window resolution, default is(1024, 768)fullScreen: boolean- should the experiment run in full screen, default isfalsebackground: string- background color, default isblackframeTolerance- tolerance in frame duration in seconds, default is0.001CreditsInitial project layout generated withtextx startproject.
Package: pyFlightAnalysis
A PX4 flight log (ulog) visual analysis tool, inspired byFlightPlot.pyFlightAnalysis GUIpyFlightAnalysisis written in Python, and depends onpyqtgraph(which is based onPyQt),pyOpenGL,pyulog, and a number of other widely used scientific packages includingnumpy,matplotlib, etc.For other log analysis tools seedev.px4.ioInstallationYou can either clone the repository and run the tool directly from source, or you can installpyFlightAnalysis(from source or using the PyPi Python package manager) and then run it. In either case you will first need to install PyQt (as shown below).Install PyQtForPython 3.x, PyQt5 can be installed directly from pip:pipinstallPyQt5ForPython 2.x, PyQt can’t directly be installed using pip. Instead you will need toinstall it manually(if using Anaconda, install using the command:conda install pyqt).Run from SourceAfter installing PyQt, enter the following commands to install other dependencies:pipinstallpyqtgraphpyOpenGLpyulogmatplotlibnumpyOnce you have installed these packages you can clone the source files:# In folder where you want put the source codegitclonehttps://github.com/Marxlp/pyFlightAnalysis.gitThen run theanalysis.pysource files:cdpyFlightAnalysis/srcpythonanalysis.pyInstall and RunYou can installpyFlightAnalysisfrom either source or PyPi (after first installing PyQt as described above):# Install from pypipipinstallpyFlightAnalysisOr# Install from sourcegitclonehttps://github.com/Marxlp/pyFlightAnalysis.gitpythonsetup.pyinstallAfter installingpyFlightAnalysisyou can run it as shown:analysisFeaturesDynamic filter for displaying data3D visulization for attitude and position of droneEasily replay with pyqtgraph’s ROI (Region Of Interest)UsageVideo Tutorial:Brief usage tutorial of pyFlightAnalysisLiteracy Tutorial:Open log file (currently only support .ulg format) by clicked.Choose data by using filterand double click to add it.Change color or toggle visibility.Scroll the middle wheel of mouse to zoom, press down and drag to move the curve.Clickto show 3D viewer ( currently may not be robust).Pressto play ( you’d better open the 3D viewer to show the animation).IssuesIf you have installed PyQt4 and pyqtgraph but get the error below:ImportError:cannotimportnameQtOpenGLtry>>>sudoapt-getinstallpython-qt4-glLicenseMIT
Package: pyflink-deepbi
JDBC streaming source connector for Apache FlinkThis connector for Apache Flink provides a streaming JDBC source.
The connector implements a source function for Flink that queries the database on a regular interval and pushes all the results to the output stream.Features:Accept custom JDBC connection parameters and custom SQL SELECT query to be executedExtendable row parsersImplemented in Java, but with additional Python binding for the source functionCompatibility MatrixThe main branch will always have the most recent supported versions of Flink.Connector VersionFlink VersionStatus0.1.11.15Active0.11.15DeprecatedUsage (PyFlink)A JDBC streaming source reads a JDBC compliant database by using provided query. To create a source you can use following code (in PyFlink):frompyflink.commonimportDurationfrompyflink_deepbi.jdbcimportJDBCSourceBuilder,Parserssource_fn=(JDBCSourceBuilder().with_query("SELECT * FROM users;")# Query to run against the database.with_url("jdbc:sqlite:sample.db")# Database connection string.with_parser(Parsers.json_string())# Parser that converts database records to stream event.with_discovery_interval(Duration.of_hours(1))# How frequently query the database (in milliseconds)?.build_source_function()# Builds the source function)stream=env.add_source(source_fn,"JDBC Query",source_fn.output_type)Above implementation uses source function to read the database. However, we also have the Source API based implementation.
The problem is that it only works if you run the application with:flink run --python script.pyand the JARs are in the
Flink classpath. There is a bug when starting application withpython script.py, that the Flink cannot see the classes from
provided JARS (as the Source API exposes custom classes outside the function). For this reason the code above is recommended as
you can run the same code on cluster and locally from script.DeploymentTo build a fat jar change directory toflink-javaand run:mvn package.DevelopmentSupported Python versions are Python 3.7, Python 3.8, Python 3.9 and Python 3.10.
Create and activate a virtual environment with the Python version of your choice.To install Python dependencies change directory toflink-pythonand run:pipinstall-rrequirements.txt
pipinstall-e.# to install module as editable for the unit testTo test across Python versions runtox. For running only unit test on current interpreter run:pytest tests/.
Package: pyflinks
pyflinksis a Python module for communicating with theFlinks.io API.Table of ContentsMain requirementsInstallationBasic usageAuthorsLicenseMain requirementsPython3.11+,Requests2.0+.InstallationTo install pyflinks, please usepip(orpipenv) as follows:$pipinstall--prepyflinksBasic usageThe first step to interact with the Flinks v3 API interface is to initialize aflinks.Clientinstance. You’ll need a Flinks customer ID (and optionally a private API instance URL) to perform
this initialization:>>>frompyflinksimportClient>>>client=Client('<CUSTOMER_ID>','https://sandbox.flinks.io/v3/')Then you can easily interact with the implemented entities and the underlying API endpoints. Here
are some examples:>>>client.banking_services.authorize(login_id='<LOGIN_ID>',most_recent_cached=True)>>>client.banking_services.get_accounts_summary('<REQUEST_ID>')Authorsimpak Finance <tech@impakfinance.com>.LicenseMIT. SeeLICENSEfor more details.
Package: pyflip
PyFlip is a simple and modern library for Linear and Integer Programming in Python 3, offering an API to advanced solvers.
A major focus is features which speed up the model development process, e.g. prototyping, debugging, profiling, and integrating with metaheuristic algorithms.
This project has been written from scratch in 2018, having been inspired by PuLP, CyLP, rust-lp-modeler, and JuMP.See full documentation on the project homepage:https://github.com/aphi/PyFlip
Package: pyflipdot
Simple python driver for controlling Hanover flipdot displays.Free software: MIT licenseDocumentation:https://briggysmalls.github.io/pyflipdot/FeaturesSimple API for writing data in numpy arraysIncludes broadcast test sequence commands for quick testingControl multiple signs using a single serial connectionCreditsThis package was built after careful study of John Whittington’sblog postand his node.js drivernode-flipdot.If you like the package structure (tox/pipenv/invoke/yapf etc.) then consider using mycookiecutter template😎.
Package: pyflit
PyFlitPyflit is a Python Package with many helpful features forFLASKdevelopers. It helps you to add components, pages, send Python variables to JavaScript and many other features like, you can add same navbar for every pages while writing it only once. And if you would like to change the code you need to change the code only for once.LinksSource -GitHubMy WebSite -Jerit BaijuContact Me -WhatsAppInstallationPyFlit is available on PyPi:python3-mpipinstallpyflitpip3installpyflitPyFlit officially supports Python 3.8+.Cloning the Repositorygitclonehttps://github.com/Jerit-Baiju/PyFlit.gitFeaturesAdd components in pagesRender single line HTMLAdding CSSAdding JSSend Python variables to JavaScriptEasy to UseInstall and UseUsagefromflaskimportFlaskfrompyflitimportPageapp=Flask(__name__)@app.route('/')defindex():# INITIALIZING PAGEindex=Page('index')# ADD PAGE TITLEindex.title('Jerit Baiju')# ADD CSSindex.add_css('index')# ADD COMPONENTindex.add_component('navbar')# ADD PAGEindex.add_page('index')index.add_component('footer')# EXPORTINGreturnindex.export()app.run()LicenseMIT.
For more information seeLICENSE