Saravanan666/pypi-org huggingface dataset:
Package: pyfermions
pyfermionsA Python package for rigorous free fermionic (and bosonic) entanglement renormalization from wavelet theory.For details, please see the following three papers:Rigorous free-fermion entanglement renormalization from wavelet theory:@article{latticefermions,
  title={Rigorous free-fermion entanglement renormalization from wavelet theory}
  author={Jutho Haegeman and Brian Swingle and Michael Walter and Jordan Cotler and Glen Evenbly and Volkher B. Scholz},
  journal={Phys. Rev. X},
  year={2018},
  volume={8},
  pages={011003},
  doi={10.1103/PhysRevX.8.011003},
  eprint={1707.06243},
}Quantum circuit approximations and entanglement renormalization for the Dirac field in 1+1 dimensions:@article{diracfermions,
  title={Quantum circuit approximations and entanglement renormalization for the {D}irac field in 1+1 dimensions},
  author={Freek Witteveen and Volkher Scholz and Brian Swingle and Michael Walter},
  journal={Commun. Math. Phys.},
  year={2021},
  doi={10.1007/s00220-021-04274-w},
  eprint={1905.08821},
}Bosonic entanglement renormalization circuits from wavelet theory:@article{freebosons,
  title={Bosonic entanglement renormalization circuits from wavelet theory},
  author={Freek Witteveen and Michael Walter},
  journal={SciPost Phys.},
  year={2021},
  volume={10},
  issue={6},
  pages={143},
  doi={10.21468/SciPostPhys.10.6.143},
  eprint={2004.11952},
}InstallationTo install the latest released version from PyPI:pip install pyfermionsTo install the bleeding-edge development version (likely unstable):pip install git+git://github.com/qi-rub/pyfermionsGetting StartedNow download and explore some of theJupyter notebooks.
Themera1dnotebook is a good starting point.ContributingThe contributors are listedhere.git clone git://github.com/qi-rub/pyfermions
cd pyfermions
pip install -e .[dev]
Package: pyfernsehserien
pyfernsehserienPython package for scraping data from fernsehserien.de. It currently supports only searching and retrieving title information. I haven't implemented additional features since they aren't needed for my purposes. Feel free to contribute to or fork this project. Also, note that I didn't put much effort into testing, so don't expect much.InstallationYou can install pyfernsehserien via pip:pipinstallpyfernsehserienUsageHere's a basic example demonstrating how to use this package:frompyfernsehserienimportFernsehserien# Initialize Fernsehserien objectfs=Fernsehserien()# Search for movies/seriesresults=fs.search("Rick and Morty")["items"]# Get detailed information about the first resultinfo=fs.get(results[0]["slug"])print(info)The output will look something like this:{"id":24036,"slug":"/rick-and-morty","title":"Rick and Morty","type":"show","genres":["Comedy","Science-Fiction","Zeichentrick"],"original_language":"en","overview":"Im Mittelpunkt der Serie stehen der Teenager Morty und seine Familie. Morty wird von den üblichen Highschool-Problemen geplagt. Sein Großvater Rick ist ein genialer Wissenschaftler mit Alkoholproblem, der ihn immer wieder zu riskanten Abenteuern anstiftet, bei denen es auch schon mal zum Kontakt mit Aliens kommt. Vater Jeff sieht Rick als negativen Einfluss für seinen Sohn. Zur Familie zählen außerdem die dominante Mutter Beth und Mortys ältere Schwester Summer. (Text: MB)","release_year":{"year":2013,"end":null},"number_of_seasons":7,"number_of_episodes":71,"release_dates":[{"title":"Deutsche TV-Premiere","date":"2014-11-29","channel":"TNT Serie"},{"title":"Free-TV-Premiere","date":"2016-09-06","channel":"Rocket Beans TV"},{"title":"Original-TV-Premiere","date":"2013-12-02","channel":"adult swim"}],"origin_countries":["USA"],"credits":[{"name":"Kari Wahlgren","role":null,"image_url":"https://bilder.fernsehserien.de/gfx/person_1000/k/kari-wahlgren.jpg","profile_url":"/kari-wahlgren/filmografie"},...]}LicenseThis project is licensed under the terms ofGNU General Public License, Version 3.0.
Package: pyfetchh
pyfetchStylish and simple fetch for your terminal that is customizable and fast.DependenciesPython 3fontawesomeon your systemdistropackage on PyPi (only for linux systems)psutilpackage on PyPicoloramapackage on PyPiInstallationInstallation through the binaryGet the latest release throughhereCopy the binary to /usr/binMake it an executable by runningchmod +x /usr/bin/pyfetchInstallation from sourceClone the repoTypepip install distro colorama psutilto install the dependencies (for Windows, it's onlypip install colorama psutilbut for Gentoo itspip install distro colorama psutil --user. The binary may also be accessable atpip3,python3 -m pip,python -m pip,py3 -m pip, orpy -m pip.)Typemake installas rootEnjoy!Installation through the AUR packagegit clone https://aur.archlinux.org/packages/pyfetch-git.git
cd pyfetch-git
makepkg -siOr use an AUR helper likeyay:yay -S pyfetch-gitCreditsYellowsinkmugman
Package: pyfetion
PyFetion===================================This python module is used to send short message.<br />Now it only support sending messages by Fetion.<br />So you can only send to yourself or your friends in Fetion.<br />### Installation:$ pip install pyfetionor$ python setup.py install### Usage:```pythonSituations:1. send a message2. send a group message (more than people)Import:from pyfetion import sendMessageUsage:sendMessage(fetionAccount, fetionPassword,receiver_phone, message_content)For example:send message someone:sendMessage('13011111111', 'fetion password','13011111112', 'test message')send message to more than one people:sendMessage('13011111111', 'fetion password',['13011111112', '13011111113', '13011111114'],'test message')Description:Send Message According to Fetion Group:Usage:sendFetionGroupMessage(fetionAccount, fetionPassword,fetionGroupName, messageContent)Take Care:1. Make sure fetionAccount and fetionPassword Correct2. Make sure fetionGroupName exist3. Make sure fetionGroupName must be not Empty.For example:sendFetionGroupMessage('13011111111', 'fetionPassword','同学', '大家还好吗?有空聚一聚')```# HISTORY----------------------------------------#### 1.1.6 (2015-03-01)----------------------------------------#### Behavioural Changes* null#### Bugfixes* @TODO still sometimes freeze my account* fix SEARCH FRIEND INFO URL form datadata = {'queryKey': tel}#### 1.1.5 (2015-02-09)----------------------------------------#### Behavioural Changes* + sendGroupWeather* + sendWeather* + sendFetionAllGroupsMessage#### Bugfixes* @TODO still sometimes freeze my account#### 1.1.4 (2015-02-01)----------------------------------------#### Behavioural Changes* send fetion groups function:from pyfetion import sendFetionGroupsMessagehelp(sendFetionGroupsMessage)#### Bugfixes* @TODO still sometimes freeze my account#### 1.1.3 (2015-02-01)----------------------------------------#### Behavioural Changes* search phone number to check if it's your friend* add fetion friend function:from pyfetion import addFetionFriendhelp(addFetionFriend)#### Bugfixes* @TODO still sometimes freeze my account#### 1.1.2 (2015-01-31)----------------------------------------#### Behavioural Changes* remove do heart beat#### Bugfixes* null#### 1.1.1 (2015-01-31)----------------------------------------#### Behavioural Changes* null#### Bugfixes* 1. if username or password error, i.e. login failed, return bad request#### 1.1.0 (2015-01-31)----------------------------------------#### Behavioural Changes* 1. Code refactoring* 2. do heart beat: alllist.action....* 3. URL add time milisecond ?#### Bugfixes* null#### 1.0.0 (2015-01-26)----------------------------------------#### Behavioural Changes* 1. Code refactoring* 2. require `requests`* 3. add Class: Fetion* 4. add function:* 1. sendMessage(...)* 2. sendFetionGroupMessage(...)#### Bugfixes* null
Package: pyfeyn
PyFeyn is a package which makes drawing Feynman diagrams simple and programmatic.
Feynman diagrams are important constructs in perturbative field theory, so being able to draw them
in a programmatic fashion is important if attempting to enumerate a large number of diagram
configurations is important. The output quality of PyFeyn diagrams (into PDF or EPS formats)
is very high, and special effects can be obtained by using constructs from PyX, which PyFeyn
is based around.
Package: pyfeyn2
PyFeyn2Forked fromhttps://pyfeyn.hepforge.org/PyFeyn is a Python-language based system for drawing Feynman diagrams. It was inspired by the C++ FeynDiagram system, and aims to provide the same functionality and quality of output as that, with the added benefits of a modern interpreted language, an improved interface and output direct to both EPS and PDF. Behind the scenes, PyFeyn uses the excellent PyX system - you can use PyX constructs in PyFeyn diagrams if you want, too.Dependencieslibmagickwand-dev (to display pdfs in a jupyter-notebook, might require a policy change of the imagemagick config for PDFs, see Troubleshooting)ghostscriptlatexmk(graphviz)(feynmp-auto/feynmf)Installationpoertyinstall--withdocs--withdev
poetryshellDocumentationhttps://pyfeyn2.readthedocs.io/en/stable/https://apn-pucky.github.io/pyfeyn2/index.htmlSimilar Feynman diagram rendering project:https://github.com/ndeutschmann/qgraf-xml-drawerhttps://github.com/GkAntonius/feynmanhttps://github.com/JP-Ellis/tikz-feynmanhttps://pyfeyn.hepforge.org/https://feynml.hepforge.org/http://www.feyndiagram.com/Several of these are integrated into pyfeyn2.TroubleshootingImageMagick security policy 'PDF' blocking conversionGraphviz missing on macDevelopmentpackage/python structure:https://mathspp.com/blog/how-to-create-a-python-package-in-2022https://www.brainsorting.com/posts/publish-a-package-on-pypi-using-poetry/
Package: pyffect
PyffectGet inspiration fromhttps://github.com/MaT1g3R/optionand Scala type systemTry to supportmypytype annotation.You can use following types from this libraryOptionSomeNONEEitherLeftRightUnitOption Type UsagefrompyffectimportOption,NONE,SomedeffindDistanceFromSun(planetName:str)->Option[str]:planetAndDistance={"Mercury":"0.39 AU","Venus":"0.72 AU","Earth":"1.00 AU","Mars":"1.52 AU","Jupiter":"5.20 AU","Saturn":"9.54 AU","Uranus":"19.20 AU","Neptune":"30.06 AU",}ifplanetNameinplanetAndDistance:returnSome(planetAndDistance[planetName])else:returnNONE()distanceFromJupiterOrNone:Option[str]=findDistanceFromSun("Jupiter")assertdistanceFromJupiterOrNone.isDefinedassertdistanceFromJupiterOrNone.value=="5.20 AU"distanceFromUnknownPlanetOrNone:Option[str]=findDistanceFromSun("Unknown Planet")assertdistanceFromUnknownPlanetOrNone.isEmptyassertdistanceFromUnknownPlanetOrNone.getOrElse("Unknown Distance")=="Unknown Distance"Either Type UsagefrompyffectimportEither,Right,Leftdefdivide(numerator:int,denominator:int)->Either[str,float]:try:value=numerator/denominatorreturnRight(value)except:returnLeft('unable to perform the operation.')firstValue:Either[str,float]=divide(5,0)assertfirstValue.isLeftassertfirstValue.leftValue=='unable to perform the operation.'secondValue:Either[str,float]=divide(5,2)assertsecondValue.isRightassertsecondValue.rightValue==2.5
Package: pyfferaph
Installationconda create -n pyfferaph python=3.6
conda activate pyfferaphOn linux:pip install --upgrade pyfferaphOn Mac/Windows, you need first to install the dependencies.conda install -c conda-forge MDAnalysis
pip install --upgrade pyfferaph# filter_pyff# ============## filter_pyff script works on adjacency matrix files, such as as those outputted by Pyinteraph (add reference)# The script is designed to:#1) return and save to file a macro_iin.dat file starting from separete interaction matrices (salt bridges, hydrogen bonds, hydrophobic interactions)# Each interaction in each interaction matrix is retained only if above a certaint treshold value (-p option) if provided (default value 0.0).# The filtered matrices arte then combined to generate a macro_iin.dat file,# an edge between two nodes is drawn if that interaction is above treshold in at least one filterd interaction matrixthreshold=5.0
filter_pyff-dsb_graph.dat-dhb_graph.dat-dhc_graph.dat-p$threshold-oout_macro_iin.dat#2) Generate an intercation network G based on either separate interaction matrices or a macro IIN file. A topology file is required (option -g)# compute all shortest paths between a set of source and target residues defined in a json formatted input file (option -z).# A json-formatted file can be obtained with:filter_pyff-jtemplate.json# A score is assigned for each path of a given source-target pair.# Identify the best path (or equally best pahts) among all paths connecting source and target residues# Calculate the communication robustness index for each source-target pathway (a pathway is define as the set of all the shortest paths connecting source and taget)# Print to file all the above mentioned informations. The script saves one file for each source residue. Eache file contains all patht between that source and all the target resiudes.#starting from separete interaction matrices:filter_pyff-dsb_graph.dat-dhb_graph.dat-dhc_graph.dat-p$treshold-oout_macro_iin.dat-gtopol.gro-zz_file.json#starting from a macro_iin.dat filefilter_pyff-imacro_iin.dat-gtopol.gro-zz_file.json#3) Compute the selective betweeness for a given redidue (option -s) considering all shortest path between a given source and target file (option -t)filter_pyff-dsb_graph.dat-dhb_graph.dat-dhc_graph.dat-p$treshold-oout_macro_iin.dat-gtopol.gro-sRES1-tRES2RES3#orfilter_pyff-imacro_iin.dat-gtopol.gro-sRES1-tRES2RES3
Package: pyffle
pyffleShort blurb about what your product does.One to two paragraph statement about your product and what it does.InstallationOS X & Linux:pip3installpyffleWindows:pipinstallpyffleUsage exampleA few motivating and useful examples of how your product can be used. Spice this up with code blocks and potentially more screenshots.For more examples and usage, please refer to theWiki.Development setupDescribe how to install all development dependencies and how to run an automated test-suite of some kind. Potentially do this for multiple platforms.pipinstall--editablepyffleDocumentationRead the DocsMetaStephen R A King :stephen.ra.king@gmail.comDistributed under the MIT License. SeeLICENSEfor more information.https://github.com/Stephen-RA-King/pyffle
Package: pyFFM
_________  _.
.__    |__ |__ | \/ |
|__\__/|   |   |    |
|   /A python implementation of Factorization Machines / Field-aware Factorization Machines with a simple interface.(FFM fully functioning/tested, FM still not fully tested)Supports classification and regression.Project Structurepyffm
 ├── engine
 │   ├── model
 │   │   ├── __init__.py
 │   │   ├── base_model.py
 │   │   ├── ffm_model.py
 │   │   └── fm_model.py
 │   ├── __init__.py
 │   ├── base_engine.py
 │   ├── ffm_engine.py
 │   └── fm_engine.py
 ├── test
 │   ├── data
 │   │   ├── __init__.py
 │   │   ├── bigdata.te.txt
 │   │   ├── bigdata.tr.txt
 │   │   └── small_sample_train.csv
 │   ├── __init__.py
 │   ├── test_ctrengine.py
 │   ├── test_pyffm.py
 │   └── test_utils.py
 ├── __init__.py
 ├── pyffm.py
 └── util.py
LICENSE
README.md
setup.pyInstallation:pipinstallpyffmBasic example:importpandasaspdfrompyffmimportPyFFMtraining_params={'epochs':2,'reg_lambda':0.002}pyffm=PyFFM(model='ffm',training_params=training_params)frompyffm.test.dataimportsample_df# Small training data sample# Make sure your file has a label column, default name is 'click' but you can either rename it or pass in label=label_column_name# Balance the dataset so we get some non-zero predictions (very small training sample)balanced_df=sample_df[sample_df['click']==1].append(sample_df[sample_df['click']==0].sample(n=1000)).sample(frac=1)train_data=balanced_df.sample(frac=0.9)predict_data=balanced_df.drop(train_data.index)pyffm.train(train_data)preds=pyffm.predict(predict_data.drop(columns='click'))Sample data from:https://github.com/ycjuan/libffmand:https://www.kaggle.com/c/criteo-display-ad-challengeCreated using the algorithm described in the original paper:https://www.csie.ntu.edu.tw/~cjlin/libffm/
Package: pyffmpeg
pyffmpeg |FFmpeg wrapper for python. It uses the most up-to-date FFmpeg binary to provide both FFmpeg and FFprobe functionality. So you can kill two birds with one stone.The beautiful thing about this is that it comes with it's own FFmpeg executable. It is compressed, making it the smallest one you can find. Becuase it's cross-platform and python 3, it is the only option available for building cross-platform apps with ffmpeg in python.FFmpeg VersionUses current FFmpeg versionInstallationpip install pyffmpegUsageFFmpegfrompyffmpegimportFFmpeginp='path/to/music_folder/f.mp4'out='path/to/music_folder/f.mp3'ff=FFmpeg()output_file=ff.convert(inp,out)print(output_file)FFprobeProvides FFprobe functions and valuesfrompyffmpegimportFFprobeinput_file='path/to/music.mp3'fp=FFprobe(input_file)print(fp.duration)will print>00:04:32:32NB: The above digits are just for illustration purposes.WikiThe wiki can be locatedhereContributingPlease readContributingLegalThis library uses prebuilt binaries ofFFmpeglicensed under theLGPLv2.1and can be downloaded via the following links:Mac -hereLinux -hereWindows -here
Package: pyffmpeg-bin
pyffmpeg-binFFmpeg wrapper for python.Same as pyffmpeg but its unserialised.This unserialised version means the ffmpeg binary comes with it as a binary and needs
not be built at runtime.The beautiful thing about it is that it comes with its own FFmpeg executable. It is compressed, making it the smallest you can find. And becuase its cross-platform and python 3, it is the only option available for building cross-platform apps with ffmpeg in python.Installationpip install pyffmpegUsagefrompyffmpegimportFFmpeginp='path/to/music_folder/f.mp4'out='path/to/music_folder/f.mp3'ff=FFmpeg()output_file=ff.convert(inp,out)print(output_file)Advanced UsagefrompyffmpegimportFFmpegUse a global directory to store all converted filesff=FFmpeg('path/to/app_folder')ff.convert('path/to/music_folder/f.mp3','f.wav')Overwrite (Default is set to True)ff.overwrite=False# do not overwrite but exit immediatelyWikiThe wiki can be locatedhere
Package: pyffp
pyffpA simple two-dimensional parameterisation for Flux Footprint Prediction (FFP)Installationcondaenvcreate-fenvironment.yml
pipinstall--upgrade-e.Demohttps://nbviewer.org/github/jsta/pyffp/blob/main/docs/notebooks/pyffp_demo.ipynbTestingpython-mpytestCitation: Kljun, N., Calanca, P., Rotach, M. W., and Schmid, H. P.:
A simple two-dimensional parameterisation for Flux Footprint Prediction (FFP), Geosci. Model Dev., 8, 3695-3713, 2015.https://footprint.kljun.net/index.php
Package: pyFFS
pyFFSis a collection of efficient algorithms to compute Fourier Series and
related transforms.Installation$ pip install pyFFSDeveloper InstallRecommended setup using Anaconda, for optimized numerical libraries:# Create Anaconda environment
$ conda create --name pyffs python=3
$ conda activate pyffs

# Clone repository
$ git clone https://github.com/imagingofthings/pyFFS.git
$ cd pyFFS
$ # git checkout <commit>

# Install requirements with conda
$ conda install --file requirements.txt

# Optionally install CuPy for GPU support
$ conda install -c conda-forge cupy

# Install pyFFS
$ pip install -e .[dev]
$ pytest                        # Run test suite
$ python setup.py build_sphinx  # Generate documentationMore information about CuPy setup can be foundhere.New releaseFrom master branch of original repo:# Create tag and upload
$ git tag -a vX.X.X -m "Description."
$ git push origin vX.X.X

# Create package and upload to Pypi
$ python setup.py sdist
$ python -m twine upload  dist/pyFFS-X.X.X.tar.gzYou will need a username and password for uploading to PyPi.Finally,on GitHubset the new tag as the latest release by
pressing on it, at top right selecting “Edit tag”, and at the bottom pressing “Publish release”.RemarkspyFFS is developed and tested on x86_64 systems running Linux and macOS
Catalina.Citing this workIf you use this package in your own research, please citeour paper.@article{10.1137/21M1448641,
    author = {Bezzam, Eric and Kashani, Sepand and Hurley, Paul and Vetterli, Martin and Simeoni, Matthieu},
    title = {PyFFS: A Python Library for Fast Fourier Series Computation and Interpolation with GPU Acceleration},
    year = {2022},
    issue_date = {Aug 2022},
    publisher = {Society for Industrial and Applied Mathematics},
    address = {USA},
    volume = {44},
    number = {4},
    issn = {1064-8275},
    url = {https://doi.org/10.1137/21M1448641},
    doi = {10.1137/21M1448641},
    journal = {SIAM J. Sci. Comput.},
    month = {jan},
    pages = {C346–C366},
    numpages = {21},
    keywords = {GPU, chirp Z-transform, numerical library, 97N80, fast Fourier series, bandlimited interpolation, 65T40, 42B05, 97N50, Python}
}
Package: pyfft
THIS MODULE IS DEPRECATED.Its functionality has been moved toReikna.
The last version,0.3.8, will remain on PyPi for backward compatibility purposes.PyFFT is a module containing Apple’s FFT implementation ported for PyCuda and PyOpenCL.
Documentation can be found indoc, managed bySphinx(or, in rendered form, onproject’s page).Module will work even if only one of PyCuda and PyOpenCL is present; that’s why they are not
added to dependencies, and it is your responsibility to install the module you need.
Package: pyfftlog
pyfftlog- A python version of FFTLogThis is a python version of the logarithmic FFT codeFFTLogas presented in
Appendix B ofHamilton (2000)and published atcasa.colorado.edu/~ajsh/FFTLog.A simplef2py-wrapper (fftlog) can be found ongithub.com/prisae/fftlog.  Tests have shown thatfftlogis a bit
faster thanpyfftlog, butpyfftlogis easier to implement, as you only needNumPyandSciPy, without the need to compile anything.I hope thatFFTLogwill make it intoSciPyin the future, which will make
this project redundant. (If you have the bandwidth and are willing to chip in
have a look atSciPy PR #7310.)Be aware thatpyfftloghas not been tested extensively. It works fine for the
test from the original code, and my use case, which ispyfftlog.fftlwithmu=0.5(sine-transform),q=0(unbiased),k=1,kropt=1, andtdir=1(forward). Please let me know if you encounter any issues.Documentation:https://pyfftlog.readthedocs.ioSource Code:https://github.com/prisae/pyfftlogDescription of FFTLog from the FFTLog-WebsiteFFTLog is a set of fortran subroutines that compute the fast Fourier or Hankel
(= Fourier-Bessel) transform of a periodic sequence of logarithmically spaced
points.FFTLog can be regarded as a natural analogue to the standard Fast Fourier
Transform (FFT), in the sense that, just as the normal FFT gives the exact (to
machine precision) Fourier transform of a linearly spaced periodic sequence, so
also FFTLog gives the exact Fourier or Hankel transform, of arbitrary order m,
of a logarithmically spaced periodic sequence.FFTLog shares with the normal FFT the problems of ringing (response to sudden
steps) and aliasing (periodic folding of frequencies), but under appropriate
circumstances FFTLog may approximate the results of a continuous Fourier or
Hankel transform.The FFTLog algorithm was originally proposed byTalman (1978).For the full documentation, seecasa.colorado.edu/~ajsh/FFTLog.InstallationYou can install pyfftlog either viaconda:conda install -c conda-forge pyfftlogor viapip:pip install pyfftlogLicense, Citation, and CreditsReleased to the public domain under theCC0 1.0 License.All releases have a Zenodo-DOI, which can be found on10.5281/zenodo.3830364.Be kind and give credits by citingHamilton (2000). See thereferences-sectionin the manual for
full references.