Saravanan666/pypi-org huggingface dataset:
Package: pyfurc
What is pyfurc?pyfurc is a python module that facilitates calculations for non-linear
mechanical systems exhibiting bifurcations with the generalized
path-following FORTRAN programAUTO-07pdirectly in python.Energy expressions, degrees of freedom and loads are defined
usingsympysymbolic math processing functionality, and equilibrium equations
are automatically derived symbolically.pyfurc then generates FORTRAN code for the bifurcation problem,
calls the AUTO-07p routines and reads the result into apandasDataFrame
for post-processing in python.The basic functionality looks like this:Solving a bifurcation problem can be this simple:importpyfurcaspfimportsympyasspimportmatplotlib.pyplotaspltphi=pf.Dof("\\varphi")P=pf.Load("P")cT=10/3.1415ell=0.5V=pf.Energy(1/2*cT*phi**2-P*ell*(1-sp.cos(phi)))bf=pf.BifurcationProblem(V,name="hinged_cantilever")bf.set_parameter("RL1",12.73)#set maximum loadsolver=pf.BifurcationProblemSolver(bf)solver.solve()# solve problemfordatinbf.solution.raw_data:plt.plot(dat["U(1)"],dat["PAR(1)"])To get started, check out the Quickstart section below or take a look at the
in-depth installation guides in theDocumentation.Part of the documentation is anin-depth tutorialwhere a simple example problem is solved in different ways.QuickstartPrerequisites:Running Linux distribution (only tested on Ubuntu so far)Python 3.8.2+pipFor installing pyfurc runpip3installpyfurcDocumentation and TutorialTheDocumentationis hosted on readthedocs.
Package: pyfuse3
Warning - no longer developed!pyfuse3 is no longer actively developed and just receiving community-contributed
maintenance to keep it alive for some time.The pyfuse3 Modulepyfuse3 is a set of Python 3 bindings forlibfuse 3. It provides an
asynchronous API compatible withTrioandasyncio, and enables you
to easily write a full-featured Linux filesystem in Python.pyfuse3 releases can be downloaded fromPyPi. The documentation
can beread onlineand is also included in thedoc/htmldirectory of the pyfuse3 tarball.Getting HelpPlease report any bugs on theissue tracker. For discussion and
questions, please use the generalFUSE mailing list. A searchablemailing list archiveis kindly provided byGmane.Development Statuspyfuse3 is in beta. Bugs are likely.pyfuse3 uses semantic versioning. This means backwards incompatible
changes in the API will be reflected in an increase of the major
version number.ContributingThe pyfuse3 source code is available onGitHub.
Package: pyfuseki
PyFusekipyfuseki- An easy way to mix together OWL and Jena Fuseki.一个用来连接并操作 Apache Jena Fuseki 的 Python 库，同时提供了同步和异步的两种操作方式。通过使用它，你可以很简单地将你的数据插入 Fuseki 中。Documentation:https://yubincloud.github.io/pyfuseki/Source Code:https://github.com/yubinCloud/pyfusekiRequirementsPython 3.6+PyFuseki 基于以下三个库来实现任务:Pydantic负责数据部分.httpx负责网络部分.rdflib负责对 RDF 的操作.Installation$pipinstallpyfusekiExample这里有个简单的例子来演示如何将你的数据插入到 Fuseki 中，先不用究于细节，之后我们会对每一部分进行讲解。首先，我们先按照本体来定义出里面的类，以方便实例化数据：frompyfuseki.rdfimportrdf_prefix,NameSpaceasns@rdf_prefix('http://expample.com/')classRdfPrefix():Person:nsDog:nsrp=RdfPrefix()接下来，我们按照本体中来定义出里面的关系（属性），以方便表示该关系：frompyfuseki.rdfimportrdf_propertyfromrdflibimportURIRefasuri@rdf_property('http://example.org/')classObjectProperty:own:uri@rdf_property('http://example.org/')classDataProperty:hasName:uri最后，我们实例化出一些数据，并将其相关陈述（三元组）插入到图中：frompyfusekiimportFusekiUpdatefromrdflibimportGraph,Literal,RDFg=Graph()# 实例化数据person=rp.Person['12345']# 假设 '12345' 是这个人的唯一身份证号dog=rp.Dog['56789']# 假设这只狗也有唯一的 ID 为 ‘56789’# 将陈述加入到图中g.add((person,RDF.type,rp.Person.to_uri()))# 声明 person 的类型是 Persong.add((dog,RDF.type,rp.Dog.to_uri()))g.add((person,dp.hasName,Literal('Ryan')))# 加入了一条三元组，表示 person1 有名字为 'Ryan'g.add((dog,dp.hasName,Literal('lucy')))g.add((person,op.own,dog))# 把图插入到 Fuseki 中fuseki=FusekiUpdate('http://localhost:3030','test_db')fuseki.insert_graph(g)
Package: pyfusekiutil
### Fuseki CLI Tool
A collection of scripts and utility functions to manage and update a Fuseki2 triple store.Requires a default.cfg and credentials to the google spreadsheet for this to work.The main update routine loads values from a google sheets spreadsheet. This file
needs the following columns for each vocabulary which should be loaded into the fuseki triple
store.The following input rows are possible. Their order is important:
1. Name of Vocabulary
2. Link to the file (http[s]:// orftp://)
3. Format of the file (accepts values: TTL, RDF, N3, NT, JSON)
4. Short Name (used for Skosmos config.)
5. Fuseki Graph Name (a valid URI)
6. Standard Language (optional, if given will add language tags to every label)
7. Ready? Fill in with __y__. All other lines will be ignored.
8. Base namespace of the vocabulary.The script will use the following columns for output on each vocabulary:9. Number of triples loaded into Fuseki if successful. If this field is empty the upload was not successful.
If this field is 0 then no triples were uploaded (most likely skosify removed all triples from graph).
10. Type of Error (If something went wrong.)
11. Error Message
12. Skosmos vocabularies.ttl entry. Do not use as is. Language tags are not correct.#### Usagepyfuseki default.cfg -allpyfuseki default.cfg -s skospyfuseki default.cfg -diff
Package: pyfuss
FUSS (Fast Uniform Style String) is a crossable and readable style string format.
Use <style>text</style> to declear style.
Use <item> to declear instanse.You can parse it to any type, like:(Minecraft) <blue><bold>A Minecraft Server</all>
(IM) <italic>hello</italic><emoji.happy>
(Terminal) <backspace><mark>foo-bar</mark><CRLF>To escape, please use backslash().
e.g. Shell Prompt\>
<escape>; \backslash
Package: py-Fussion
py-Fussion LibraryA stable userbot base library, based on Telethon.Installationpip install py-FussionUsage=> Create folders namedplugins,addons,assistantandresources.=> Add your plugins in thepluginsfolder and others accordingly.=> Create a.envfile withAPI_ID,API_HASH,SESSION,REDIS_URI&REDIS_PASSWORDas mandatory environment variables. Check.env.samplefor more details.=> Runpython -m pyFussionto start the bot.Creating pluginsTo work everywhere@ultroid_cmd(pattern="start",)asyncdef_(e):awaiteor(e,"Fussion Started")To work only in groups@ultroid_cmd(pattern="start",groups_only=True,)asyncdef_(e):awaiteor(e,"Fussion Started")Assistant Plugins 👇@asst_cmd("start")asyncdef_(e):awaite.reply("Fussion Started")Made with 💕 by@TeamFussion.Credits
Package: pyfuture
PyFuture一个用于提前使用 Python 新特性的工具代码转写层级rule: 转写规则，比如替换type关键字。
rule set: 转写规则集，比如PEP695相关的转写规则，包含若干转写规则。version related rule sets: 版本相关转写规则集，比如3.12版本相关的转写规则集，包括PEP695和PEP701两个，每个版本可能包含可选规则集。开发手册确保满足如下环境要求后，执行pdm install安装依赖。Python 3.12+PDM在打包的时候要添加no-isolation参数且当前环境已经安装好pdm install了，
因为打包时会运行build_hook，依赖于pyfuture本身。pdmbuild--no-isolation
Package: pyfuturedag
PyFutureDAGA simple, lightweight Python DAG implementation usingasynciofutures, in the style ofC++ folly FutureDAG.Installationpip install pyfuturedagDemo"""1  -  3/             \0                 4\             /2"""frompyfuturedagimportFutureDAG,Node# example of a functiondefprint_func(num):print("printing",num)# initialize dagdag=FutureDAG()# create nodes - Node(func, args)node_0=Node(print_func,"0")node_0_idx=dag.add(node_0)node_1=Node(print_func,"1")node_1_idx=dag.add(node_1)node_2=Node(print_func,"2")node_2_idx=dag.add(node_2)node_3=Node(print_func,"3")node_3_idx=dag.add(node_3)node_4=Node(print_func,"4")node_4_idx=dag.add(node_4)# specify dependencydag.dependency(node_0_idx,node_1_idx)dag.dependency(node_0_idx,node_2_idx)dag.dependency(node_1_idx,node_3_idx)dag.dependency(node_2_idx,node_4_idx)dag.dependency(node_3_idx,node_4_idx)# run dagdag.loop.run_until_complete(dag.go())TestSimply runpytestto run tests.
Package: pyfu-usb
pyfu-usb: Python USB Firmware UpdaterA small library for firmware updates over USB with devices that support theDFUandDfuSeprotocols. Specifically,pyfu-usbsupportslistingDFU capable devices anddownloading binary filesto them.Compared todfu-utildfu-utilis the popular host side tool for interacting with DFU/DfuSe devices.pyfu-usbhas only a small sliver the functionality contained indfu-util: Listing and downloading binary files. The reason you would usepyfu-usboverdfu-utilis if you have a Python project that needs firmware update capabilities and don't want an external (non-Python) dependency.Compared topydfu.pypydfu.pyis a tool in theOpenMVproject that solves the exact problem described above, but it is only for DfuSe devices (e.g. STM32) and also hard codes a number of parameters including device address and max transfer size. It also appears to only work with.dfufiles, which require an extra conversion step. Since binary files can be directly generated by many embedded toolchains using them is simpler, although less portable.The code in this package originates frompydfu.pyand theOpenMVlicense agreement has been copied into the repository. Along with refactoring the code and adding support for "classic" DFU devices, several modernizations were added:Colored logs and progress bar withrichUsinglogginginstead ofprintfor output messagesConsistent style withblackand linting withpylintDependenciesEven though this package may appear pure Python, by relying onpyusbwe rely onlibusbbeing installed. See thepyusbdocsfor more details on platform support.User GuideInstall withpip:pipinstallpyfu-usbList connected DFU devices:pyfu-usb--listDownload a file to a DfuSe capable device, specifying a start address in hex:pyfu-usb--download<filename>-a<start_address>Download a file to a DFU capable device:pyfu-usb--download<filename>Use the--deviceargument to specify thevid:pidof the device in hex if multiple are connected. See theexamplesdirectory for more detailed examples.Developer GuideTheMakefilecontains workflow helpers for the development environment.To setup the virtual environment:makesetupTo activate the virtual environment:source.venv/bin/activateTo run pre-commit hooks (style, linting):makepre_commitTo run unit tests:maketestTo build the wheel:makewheelTo view code coverage metrics:makecoverageTo delete generated files:makecleanContributingPlease see thedocumentationprior to contributing.LicenseLicensed under theMIT license.
Package: pyfuzzer
AboutUselibFuzzerto fuzz test Python 3.6+ C extension modules.Installationclang 8or later is required.$ apt install clang
$ pip install pyfuzzerExample UsageHello worldUse the default mutatorpyfuzzer.mutators.genericwhen testing the
modulehello_world.$ cd examples/hello_world
$ pyfuzzer run -l max_total_time=1 hello_world.c
<lots of libFuzzer output>Print the function calls that found new code paths. This information
is usually useful when writing unit tests.$ pyfuzzer print_corpus
corpus/25409981b15b978c9fb5a5a2f4dab0c4b04e295f:
    tell(b'') = 5
corpus/a8a4e6c9abfd3c6cba171579190702ddc1317df0:
    tell(b'\xfd#') = b'Hello!'
corpus/80f87702ef9fbe4baf17095c79ff928b9fa1ea14:
    tell(b'\x00') = True
corpus/be3d1b7df189727b2cecd6526aa8f24abbf6df10:
    tell(b'\x00\xfd\x00') = 0
corpus/defd8787d638f271cd83362eafe7fdeed9fa4a8f:
    tell(None) raises:
    Traceback (most recent call last):
      File "/home/erik/workspace/pyfuzzer/pyfuzzer/mutators/utils.py", line 35, in print_callable
        res = obj(*args)
    TypeError: expected bytes, NoneType foundSee thehello_worldfor all files.Hello world fatal errorSimilar to the previous example, but triggers a fatal error whentell()is called with a bytes object longer than 2 bytes as its
first argument.$ cd examples/hello_world_fatal_error
$ pyfuzzer run hello_world.c
...
Fatal Python error: deallocating None

Current thread 0x00007f7ca99c2780 (most recent call first):
...Print the function call that caused the crash. Just as expected, the
first argument is clearly longer than 2 bytes.$ pyfuzzer print_crashes
crash-1013ed88cd71fd14407b2bdbc17b95d7bc317c21:
    tell(b'\n\xbf+') = NoneSee thehello_world_fatal_errorfor all files.Custom mutatorUse the custom mutatorhello_world_mutatorwhen testing the modulehello_world.Testing with a custom mutator is often more efficient than using a
generic one.$ cd examples/hello_world_custom_mutator
$ pyfuzzer run -l max_total_time=1 -m hello_world_mutator.py hello_world.c
...See thehello_world_custom_mutatorfor all files.MutatorsA mutator module uses data fromlibFuzzerto test a module. A
mutator module must implement the functionsetup(module), wheremoduleis the module under test. It shall return a mutator
instance that implements the methodstest_one_input(self, data)andtest_one_input_print(self, data), wheredatais the data
generated bylibFuzzer(as a bytes object).test_one_input(self, data)performs the actual fuzz testing, whiletest_one_input_print(self, data)prints corpus and crashes.A minimal mutator fuzz testing a CRC-32 algorithm could look like
below. It simply callscrc_32()withdataas its only
argument.frompyfuzzer.mutators.genericimportprint_callableclassMutator:def__init__(self,module):self._module=moduledeftest_one_input(self,data):returnmodule.crc_32(data)deftest_one_input_print(self,data):print_callable(self._module.crc_32,[data])defsetup(module):returnMutator(module)IdeasAdd support to fuzz test pure Python modules by generating C code
using Cython.
Package: pyfuzzyset
Includes Fuzzy Set Algorithms, Intuitionistic Fuzzy Set Algorithms and Fuzzy Cluster Validity Indexes.. image::https://img.shields.io/badge/pypi-v4.0.1-blue.svg:target:https://pypi.python.org/pypi/akinator.py/.. image::https://img.shields.io/badge/python-%E2%89%A53.5.3-yellow.svg:target:https://www.python.org/downloads/"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""MIT LicenseCopyright (c) 2021 Ä°brahim AYAZPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.InstallingTo install the regular library without async support, just run the following command::python3 -m pip install -U pyfuzzysetRequirementsPython â‰¥3.7Change Log0.0.1 (31/01/2021)First release0.0.2 (01/02/2021)Second release0.0.3 (17/02/2021)Change directory0.0.9 (28/02/2021)IFCM, FCM code optimization and Objective Function Added (Bug Fixed)0.0.11 (28/02/2021)Bug Fixed0.0.12 (03/03/2021)Bug Fixed0.0.13 (03/03/2021)Bug Fixed
Package: pyfvm
pyfvmCreating finite volume equation systems with ease.pyfvm provides everything that is needed for setting up finite volume equation
systems. The user needs to specify the finite volume formulation in a
configuration file, and pyfvm will create the matrix/right-hand side or the
nonlinear system for it. This package is for everyone who wants to quickly
construct FVM systems.ExamplesLinear equation systemspyfvm works by specifying the residuals, so for solving Poisson's equation with
Dirichlet boundary conditions, simply doimportmeshpleximportmeshzooimportnumpyasnpfromscipy.sparseimportlinalgimportpyfvmfrompyfvm.form_languageimportBoundary,dS,dV,integrate,n_dot_gradclassPoisson:defapply(self,u):returnintegrate(lambdax:-n_dot_grad(u(x)),dS)-integrate(lambdax:1.0,dV)defdirichlet(self,u):return[(lambdax:u(x)-0.0,Boundary())]# Create mesh using meshzoovertices,cells=meshzoo.rectangle_tri(np.linspace(0.0,2.0,401),np.linspace(0.0,1.0,201))mesh=meshplex.Mesh(vertices,cells)matrix,rhs=pyfvm.discretize_linear(Poisson(),mesh)u=linalg.spsolve(matrix,rhs)mesh.write("out.vtk",point_data={"u":u})This example usesmeshzoofor creating a
simple mesh, but anything else that provides vertices and cells works as well.
For example, reading from a wide variety of mesh files is supported (viameshio):mesh=meshplex.read("pacman.e")Likewise,PyAMGis a much faster solver for
this problemimportpyamgml=pyamg.smoothed_aggregation_solver(matrix)u=ml.solve(rhs,tol=1e-10)More examples are contained in theexamples directory.Nonlinear equation systemsNonlinear systems are treated almost equally; only the discretization and
obviously the solver call is different. For Bratu's problem:importpyfvmfrompyfvm.form_languageimport*importmeshzooimportnumpyasnpfromsympyimportexpimportmeshplexclassBratu:defapply(self,u):returnintegrate(lambdax:-n_dot_grad(u(x)),dS)-integrate(lambdax:2.0*exp(u(x)),dV)defdirichlet(self,u):return[(u,Boundary())]vertices,cells=meshzoo.rectangle_tri(np.linspace(0.0,2.0,101),np.linspace(0.0,1.0,51))mesh=meshplex.Mesh(vertices,cells)f,jacobian=pyfvm.discretize(Bratu(),mesh)defjacobian_solver(u0,rhs):fromscipy.sparseimportlinalgjac=jacobian.get_linear_operator(u0)returnlinalg.spsolve(jac,rhs)u0=np.zeros(len(vertices))u=pyfvm.newton(f.eval,jacobian_solver,u0)mesh.write("out.vtk",point_data={"u":u})Note that the Jacobian is computed symbolically from theBratuclass.Instead ofpyfvm.newton, you can use any solver that accepts the residual
computationf.eval, e.g.,importscipy.optimizeu=scipy.optimize.newton_krylov(f.eval,u0)
Package: py-Fvnky
py-Ultroid LibraryCore library ofThe Ultroid, a python based telegram userbot.Installationpip3install-Upy-FvnkyDocumentationUsageCreate folders namedplugins,addons,assistantandresources.Add your plugins in thepluginsfolder and others accordingly.Create a.envfile with following mandatory Environment VariablesAPI_ID
API_HASH
SESSION
MONGO_URICheck.env.samplefor more details.Runpython3 -m Ayrato start the bot.Creating pluginsTo work everywhere@ultroid_cmd(pattern="start")asyncdef_(e):awaite.eor("Ayra Started!")To work only in groups@ultroid_cmd(pattern="start",groups_only=True,)asyncdef_(e):awaiteor(e,"Ayra Started.")Assistant Plugins 👇@asst_cmd("start")asyncdef_(e):awaite.reply("Ayra Started.")See more working plugins onthe offical repository!Made with 💕 bypetinggikontol.LicenseUltroid is licensed underGNU Affero General Public Licensev3 or later.CreditsLonamiforTelethon
Package: pyfvs
PyFVS - Python wrappers for Open-FVS.The Forest Vegetation Simulator (FVS) growth and yield model developed by the
USDA Forest Service.  FVS includes a suite of regional variants, individually
calibrated to predict the growth and mortality of tree species within a defined
geographic area.  Refer to the FVS website for documentation and supported
production software packages.http://www.fs.fed.us/fmsc/fvs/Open-FVS was established as an open source project to facilitate colaborative
development and code distribution. The Open-FVS SVN repository contains both
the official code base as well as development and feature branches. The official
code base is maintained by staff at the Forest Management Service Center (FMSC).https://sourceforge.net/projects/open-fvs/PyFVS is being developed to provide a Pythonic interface to the FVS model. PyFVS
originated as a branch of the Open-FVS code base. Currently PyFVS exists in two
forms, as a branch contained in the Open-FVS SVN repository as well as a fork
hosted on GitHub.  The SVN branch supports simple wrapper libraries generated
with F2PY. The GitHub fork is used for development and includes a number of
modifications to enhance the FVS API. There is also a Python package being
developed as a high level abstraction of the FVS libaray API. The GitHub fork is
periodically integrated with the SVN repository and generally tracks the trunk
branch in SVN.PyFVS is provided “as-is”. There is no official support. Please submit bug
reports, ideas, enhancement requests, etc. using GitHub issues.If you would like to contribute to the effort please fork the repository on
GitHub. Pull requests would gladly be considered.https://sourceforge.net/p/open-fvs/code/HEAD/tree/branches/PyFVS/https://github.com/tharen/PyFVShttps://github.com/tharen/PyFVS/issues
Package: pyfw
### 基础开发命令###### 启动命令```python manage.py runserver --host 0.0.0.0```###### 测试命令```python manage.py test```###### 覆盖报告```python manage.py test --coverage```---### 数据库迁移###### 初始化```python manage.py db init```###### 生成脚本```python manage.py db migrate -m "initial migration"```###### 更新数据库```python manage.py db upgrade```对第一个迁移来说， 其作用和调用db.create_all() 方法一样。但在后续的迁移中，upgrade 命令能把改动应用到数据库中，且不影响其中保存的数据。###### 代码性能分析```python manage.py profile  启动，浏览器请求```###### 服务器启动命令```gunicorn -b 0.0.0.0:8000  manage:app```UI框架DOC http://spin.webkom.co/docs/docs.html#### 打包```python3 setup.py sdist bdist_wheeltwine upload  dist/*```#### 使用pip生成依赖文件：```pip freeze >requirements.txt```安装或升级包后，最好更新这个文件。#### 根据依赖文件安装包：```pip install -r requirements.txt```### 移除所有包```pip freeze | xargs pip uninstall -y```
Package: pyfwimagebuilder
pyfwimagebuilder - Firmware Image BuilderThis utility is used to produce image files which can be used with the pymdfu tool:https://pypi.org/project/pymdfu/Overviewinstall using pip from pypi:https://pypi.org/project/pyfwimagebuilderUsagepyfwimagebuilder can be used as a command-line interface or a libraryBuilding an image from the command-linefor help, use:pyfwimagebuilder--helpExample usage:pyfwimagebuilderbuild-imyapp.hex-cmyconfig.toml-omyimage.imgAdditional command-line switches-v LEVEL for selecting logging verbosity ('debug', 'info', 'warning', 'error', 'critical')Changelog[1.0.0] - December 2023Public beta release[0.0.1] - October 2023Package planning
Package: pyfx-dev
PyFxPyFx is activly being developed. More information about how to use PyFx for guitar effects development will be available soon.Table of ContentsInstallationUsageLicenseInstallationpipinstallpyfx-devUsagepython-mpyfxpedal-builder--with-examplesLicensepyfxis distributed under the terms of theMITlicense.
Package: pyfxgit
pyfxgitThis is a package of helper classes and libraries.AuthordennislwmInstallation$ pip install pyfxgitExamplefrompyfxgit.ChartClsimportChartClsGetting DataNote: Variabledatais of type DataFrame that consists of columns ['Open', 'High', 'Low', 'Close', 'Dbs', 'DbsMa'].Add indicator chartschart=ChartCls(data,intSub=2)chart.BuildOscillator(1,data['Dbs'],intUpper=3,intLower=-3,strTitle="Dbs")chart.BuildOscillator(0,data['DbsMa'],intUpper=3.75,intLower=-3.75,strTitle="DbsMa")Build tagslstTag=chart.BuildOscillatorTag(data,'DbsMa',3.75)Add spans to main chartchart.MainAddSpan(data['Tag'],lstTag[lstTag>0],0.2,'red')chart.MainAddSpan(data['Tag'],lstTag[lstTag<0],0.2,'green')Build main chartchart.BuildMain(strTitle="SPY")Save chartchart.save("Dbs")
Package: pyfxr
pyfxrSound effects generation for Python, compatible with Pygame and Pyglet.Installationpyfxris on PyPI and pre-compiled for Mac, Windows and Linux. You can install
the library withpip install pyfxrDocumentationFull API documentationPygame Usage# Set mixer to 44kHz mono
pygame.mixer.pre_init(44100, channels=1)

# Generate a sound
tone = pygame.mixer.Sound(
    buffer=pyfxr.pluck(duration=1.0, pitch='A4')
)

# Play it
tone.play()Usage with Pyglet# Generate a random explosion sound
explosion = pyglet.media.StaticSource(pyfxr.explosion())

# Play it
explosion.play()Usage with sounddeviceimport sounddevice
import pyfxr

sounddevice.play(pyfxr.jump(), pyfxr.SAMPLE_RATE)GUIA Pygame GUI is in development, to explore the feature set and create music!To install the Pygame-based GUI along with the library, use:pip install pyfxr[gui]Then you can run the GUI by runningpyfxr.