Saravanan666/pypi-org huggingface dataset:
Package: ivolat
Installationpip install ivolatExamplesimport ivolat

# stock price
s = 10000
# option strike price
k = 10500
# risk-free interest rate
r = 0.001
# drift rate (dividend)
q = 0.1
# time remaining until expiration (in years)
t = 20.0 / 365.0
# annual volatility of stock price
sigma = 0.2
# call option price
p = 40


# call opition price
ivolat.prem_call(s, k, r, q, t, sigma)

# call opition implied volatility
ivolat.ivolat_call(s, k, r, q, t, p)

# Greeks
# call delta
ivolat.delta_call(s, k, r, q, t, sigma)

# Second-order Greeks
# gamma
ivolat.gamma(s, k, r, q, t, sigma)

# vanna
ivolat.vanna(s, k, r, q, t, sigma)

# vomma (volga)
ivolat.vomma(s, k, r, q, t, sigma)
Package: ivona_api
Python library that helps you connect to Amazon’sIVONASpeech Cloud from within your Python
project. All you need to use it are theaccess
keys.It currently only implementsCreateSpeechandListVoicesendpoints, as they should cover the vast majority of use cases. Lexicons
endpoints may be added in the future.If you’re looking for out-of-the-box solution, you should probably useivona-speak- it’s a
script that uses this library and lets you use its functionality
directly from your shell.Installation>From PyPI:$ pip install ivona_apiAPIThere’s no proper documentation as of now, but the code is commented andshouldbe pretty straightforward to use.That said - feel free to open aGitHub
issuesif
anything is unclear.TestsPackage was tested with the help ofpy.testandtoxon Python
2.7, 3.4, 3.5 and 3.6 (seetox.ini).Code coverage is available atCoveralls.To run tests yourself you need to set environment variables with secret
and access keys before runningtoxinside the repository:$exportIVONA_ACCESS_KEY='...'$exportIVONA_SECRET_KEY='...'$pipinstalltox$toxContributionsPackage source code is available atGitHub.Feel free to use, ask, fork, star, report bugs, fix them, suggest
enhancements, add functionality and point out any mistakes. Thanks!AuthorsDeveloped and maintained byPythonity, a
group of Python enthusiasts who love open source, have a neatblogand are availablefor
hire.Written byPaweł Adamczak.Released underMIT
License.
Package: ivona_speak
Python script that lets you easily convert passed text to synthesized
audio files, with help of Amazon’sIVONA.
All you need is a pair ofkeysand this script. Yes, that’sliterallyeverything you need to never
speak again. If that’s your thing of course.If you want to use IVONA Speech Cloud directly inside your Python
project then you should have a look atpython-ivona-api,
which this script uses in the background.Installation>From PyPI (recommended):$ pip install ivona_speakWithgit clone:$ git clone https://github.com/Pythonity/ivona-speak
$ pip install -r ivona-speak/requirements.txt
$ cd ivona-speak/binUsage$ ivona-speak --help

  Easily convert passed text to synthesized audio files, with help of
  Amazon's IVONA. All you need is a pair of auth keys.

  See https://github.com/Pythonity/ivona-speak for more info.

Options:
  --help  Show this message and exit.

Commands:
  synthesize*  Synthesize passed text and save it as an...
  list-voices  List available Ivona voicesExamplesYou can provide keys either explicitly:$ ivona-speak --access-key 'YOUR_ACTUAL_ACCESS_KEY' --secret-key 'YOUR_ACTUAL_SECRET_KEY' list-voicesor export them as environment variables:$ export IVONA_ACCESS_KEY='...'
$ export IVONA_SECRET_KEY='...'
$ ivona-speak list-voicesThe default subcommand issynthesize, so these do the same:$ ivona-speak synthesize -o hello_world.mp3 'Hello world!'
$ ivona-speak -o hello_world.mp3 'Hello world!'I want someone to say ‘Hello world!’, and say it quick:$ ivona-speak synthesize -o hello_world.mp3 'Hello world!'She sounds so nice. I want someone special to respond her:$ ivona-speak synthesize -o response.mp3 -n Joey 'How you doin?'TestsPackage was tested with the help ofpy.testandtoxon Python
2.7, 3.4, 3.5 and 3.6 (seetox.ini).Code coverage is available atCoveralls.To run tests yourself you need to set environment variables with secret
and access keys before runningtoxinside the repository:$pipinstalltox$exportIVONA_ACCESS_KEY='..'$exportIVONA_SECRET_KEY='..'$toxContributionsPackage source code is available atGitHub.Feel free to use, ask, fork, star, report bugs, fix them, suggest
enhancements, add functionality and point out any mistakes. Thanks!AuthorsDeveloped and maintained byPythonity, a
group of Python enthusiasts who love open source, have a neatblogand are availablefor
hire.Written byPaweł Adamczak.Released underMIT
License.
Package: ivon-opt
Improved Variational Online Newton (IVON)We provide code of the IVON optimizer to train deep neural networks, along with a usage guide and small-scale examples.Variational Learning is Effective for Large Deep NetworksY. Shen*, N. Daheim*, B. Cong, P. Nickl, G.M. Marconi, C. Bazan, R. Yokota, I. Gurevych, D. Cremers, M.E. Khan, T. MöllenhoffPaper:https://arxiv.org/abs/2402.17641Installation of IVONTo install the IVON optimizer run:pip install ivon-optDependenciesInstall PyTorch as describedhere:pip3 install torch --index-url https://download.pytorch.org/whl/cu118Usage guideTraining loopIn the code snippet below we demonstrate the difference in the implementation of the training loop of the IVON optimizer compared to standard optimizers like SGD or Adam.
The standard setting for weight sampling during training is to use one MC sample (train_samples=1).import torch+import ivontrain_loader = torch.utils.data.DataLoader(train_dataset) 
test_loader = torch.utils.data.DataLoader(test_dataset) 
model = MLP()-optimizer = torch.optim.Adam(model.parameters())+optimizer = ivon.IVON(model.parameters())for X, y in train_loader:+    for _ in range(train_samples):+       with optimizer.sampled_params(train=True)optimizer.zero_grad()logit = model(X)loss = torch.nn.CrossEntropyLoss(logit, y)loss.backward()optimizer.step()PredictionThere are two different ways of using the variational posterior of IVON for prediction:(1) Predicting at the mean of the variational posterior (fast)for X, y in test_loader:
    logit = model(X)
    _, prediction = logit.max(1)(2) Predicting with Bayesian model averaging obtained by drawing a total oftest_samplesweight samples from the variational posterior (slower, but better inference with multiple weight samples)for X, y in test_loader:
    sampled_probs = []
    for i in range(test_samples):
        with optimizer.sampled_params():
            sampled_logit = model(X)
            sampled_probs.append(F.softmax(sampled_logit, dim=1))
    prob = torch.mean(torch.stack(sampled_probs), dim=0)
    _, prediction = prob.max(1)ExamplesWe include three Google Colab notebooks to demonstrate the usage of the IVON optimizers on small-scale problems.2-D Logistic RegressionSGD finds the mode of the weight posterior, while IVON converges to a region that is more robust to perturbation.1-D RegressionIVON captures uncertainty in regions with little data. AdamW fails at this task.MNIST image classificationWe compare IVON to an SGD baseline.How to cite@article{shen2024variational,
      title={Variational Learning is Effective for Large Deep Networks}, 
      author={Yuesong Shen and Nico Daheim and Bai Cong and Peter Nickl and Gian Maria Marconi and Clement Bazan and Rio Yokota and Iryna Gurevych and Daniel Cremers and Mohammad Emtiyaz Khan and Thomas Möllenhoff},
      journal={arXiv:2402.17641},
      year={2024},
      url={https://arxiv.org/abs/2402.17641}
}
Package: ivoox-client
Ivoox clientQuickstartivoox-client is available on PyPI and can be installed withpip.$pipinstallivoox_clientAfter installing ivoox-client you can use it like any other Python module.Here is a simple example:importasynciofromivoox_clientimportclientif__name__=="__main__":loop=asyncio.get_event_loop()response=loop.run_until_complete(client.get_audios())Change LogVersion History0.0.1Add initial version project.
Package: ivoy
iVoyiVoy MensajeríaPython3.6+ Client LibraryInstallTo setup your environment:pipinstallivoyTestsmaketestCreate ClientfromivoyimportClientclient=Client(auth_user=your_auht_user,auth_password=your_auth_password,ivoy_user=ivoy_system_user,ivoy_password=ivoy_system_password)
Package: ivozzo-pyboilerplate
ivozzo-pyBoilerplateA Personal Python BoilerplateEver been tired of rewriting the same code for every project?Well, I do. Or at least, I'm bored of copy pasting the same configuration for some basic functionalities I often use, so I wrote my own boilerplate.
Any suggestion (or PR) is obviously welcome!UsageLogger classIf you need a logger class using logging with file writing and console appending use this class.fromboilerplate.loggerimportLogger# with FileHandler and StreamHandlerlogger=Logger(path="insert path here",filename="insert filename here",level="ERROR / WARN / INFO / DEBUG")# with StreamHandler onlylogger=Logger(level="ERROR / WARN / INFO / DEBUG")logger.info("message")2021-02-1008:44:44,086|[MainThread]|[INFO]|messageMongoDatabase classIf you need a Mongo client with some basic functionalities extends this class.fromboilerplate.mongodatabaseimportMongoDatabaseclassMyMongoClient(MongoDatabase):def__init__(self,host,user,password,database):self.database=super().__init__(host=host,user=user,password=password,database=database)def[extensions]
Package: ivrc2country
International Vehicle Registration Codes to ISO3166 3-letter Country code converterStandalone license plate country code converter.
Based on a International Vehicle Registration Code, i.e., 'D' for Germany, it will return 'DEU'
as 3-letter ISO3166-1 alpha-3 code.You may want to useISO166 Python libto get
the Country's name or numeric code.Installation$ pip install ivrc2countryUsage>>> import ivrc2country
>>> ivrc2country.ivrcodes.get('D')
IVRCode(ivrc='D', iso3166='DEU')

>>> ivrc2country.ivrc_by_iso3166.get('DEU')
IVRCode(ivrc='D', iso3166='DEU')Get political name of the issuing country>>> import ivrc2country
>>> import iso3166
>>> r = ivrc2country.ivrcodes.get('D')
>>> iso3166.countries_by_alpha3.get(r.iso3166)
Country(name='Germany', alpha2='DE', alpha3='DEU', numeric='276', apolitical_name='Germany')KeywordsLänderkennzeichen nach ISO3166-1 Ländercode KonverterAutokennzeichen Landlicense plate country converterdistinguishing signs used on vehicles in international traffic
Package: ivsort
a simple script to sort Hebrew words with vowels and accents according
to their lexical order (which differs from the unicode point order or
even the locale’s collation string)From the docstring:Module for properly sorting Hebrew words with niqqud – according to
consonants first and vowels later. If run from the command line, takes a
file with a list of words as input or reads lines from stdin.disclaimer: there is no universal method for the ordering of Hebrew
vowels. The order used by this module is:Sheva, Hataf Segol, Hataf Patah, Hataf Qamets,
Hiriq, Tsere, Segol, Patah, Qamets, Holem, Holem Vav, Qibbuts, ShureqThis order may seem foreign to those accustomed to Latin-based
languages, but it was recommended to me by the Academy for the Hebrew
Language in Israel, and it is very similar to orders use by Unicode and
standard Israeli keyboard layouts. It is also more “scientific” in the
sense that it follows a phonological pattern (horizontal to vertical
vowels), rather than a traditional, Latin-based pattern (aeiou).This does differ from the one convention common in Israeli works, in
that it treats Sin as a separate letter from Shin. This is not
especially common in Israel, but it is the convention in all of the
widely used Biblical lexicons and other Western Biblical scholarship. I
do this both because it would be pedagogical malpractice to give my
students glossaries that differ in this regard from the works they will
be using later, and because it is more accurate from the perspective of
historical linguistics.I would probably revise this approach if this sort engine were targeted
at modern Hebrew.UsageAt the command line:$ cat wordlist.txt | ivsort
...
$ ivsort wordlist.txtSo it can read from a file or from STDIN, so as to be useful for text
editors that can use shell commands as filters (like all of them that
matter). It is basically howsortworks.As a Python3 module:from ivsort import ivsort
sorted_list = ivsort(unsorted_iterable)You probably aren’t going to want to muck around with the other
functions this script provides.
Package: ivt
ivtivtstands for Inverse-Rendering Toolkit. It is a simple framework for conducting inverse rendering experiments. Since there are a lot differentiable renderers in development, mastering them all and migrating between them can be a headache.ivtprovides a simple scene representation based onpytorchthat can be rendered byconnectorsthat connect to different differentiable renderers and get the graident of the scene parameters. Migrating between renderers is just a matter of changing the connector.Installationivtdepends onpytorch. Since it is widely used and some projects might have specific requirements to it, we leave its installation to the user.After installingpytorch, you can installivtviapip install ivt
Package: ivtff
ivtff-pyA simple Python tool to work with Rene Zandbergen's IVTFF file format, inspired byhis IVTT softwareMotivationCurrently, no open-source tool exists for working with IVTFF files (while Zandbergen does provide the source code for his tool, it is not officially released under any open-source license). Additionally, Zandbergen's tool is written in C. To make IVTFF files easier to use by more programmers, this simple Python tool is provided.Obtaining IVTFF filesThe most up to date IVTFF transliteration files can be found onRene Zandbergen's website. I personally use theZL_ivtff_2btransliteration. You can download this transliteration using the following command:curlhttps://www.voynich.nu/data/ZL_ivtff_2b.txt-oZL_ivtff_2b.txt
Package: ivviewer
Модуль для просмотра ВАХНастраиваемый PyQt-виджет для отображения Вольт-Амперных Характеристик (ВАХ). Виджет умеет выводить несколько ВАХ на график и при необходимости обновлять их.УстановкаУстановка возможна только на Python версии >=3.6 и <=3.8.python-mpipinstallivviewerПроверка установкиpython-mivviewer# при успешной установке создаст окно с графикомПример использованияimportsysfromPyQt5.QtGuiimportQColorfromPyQt5.QtWidgetsimportQApplicationimportivviewerapp=QApplication(sys.argv)window=ivviewer.Viewer()window.plot.set_x_axis_title("Название оси X")window.plot.set_y_axis_title("Название оси Y")window.plot.set_scale(6.0,15.0)x_test=[-2.5,0,2.5]y_test=[-0.005,0,0.005]test_curve=window.plot.add_curve()test_curve.set_curve(ivviewer.Curve(x_test,y_test))test_curve.set_curve_params(QColor("red"))x_ref=[-2.5,0,2.5]y_ref=[-0.003,0,0.0033]reference_curve=window.plot.add_curve()reference_curve.set_curve(ivviewer.Curve(x_ref,y_ref))reference_curve.set_curve_params(QColor("green"))window.resize(600,600)window.show()app.exec()
Package: ivwrapper
ivwrapper 1.4.1Asynchroniczny wrapper dla api ivall'a.InstalacjaMożesz zainstalować bibliotekę prosto z pypiInstalacja:pip install ivwrapperPrzykładowe użycieimportasyncioimportivwrapperiv=ivwrapper.Api()asyncdefmain():joke=awaitiv.get_joke()print(joke)if__name__=="__main__":loop=asyncio.get_event_loop()loop.run_until_complete(main())Endpoint'y# endpoint'yawaitget_joke()# Losuje randomowy żartawaitget_meme()# Losuje randomowy mem
Package: ivy-builder
Build custom Ivy training tasks with clear, hierarchical and robust user specifications.Ivy LibrariesThere are a host of derived libraries written in Ivy, in the areas of mechanics, 3D vision, robotics, gym environments,
neural memory, pre-trained models + implementations, and builder tools with trainers, data loaders and more. Click on
the icons below to learn more!Citation@article{lenton2021ivy,
  title={Ivy: Unified Machine Learning for Inter-Framework Portability},
  author={Lenton, Daniel and Pardo, Fabio and Falck, Fabian and James, Stephen and Clark, Ronald},
  journal={arXiv preprint arXiv:2102.02886},
  year={2021}
}
Package: ivy-cms-unused-cleaner
Ivy Used CMS ScannerAboutLarge AxonIvy projects usually have huge number amount of CMSs, and overtime, after countless times
of adding, updating and removing the CMSs, there will bezoombieCMSs in your code base.The idea of this tool is pretty simple:In each project:List out all *.data and co.meta filesGroup the *.data files with their corresponding co.meta fileSearch the CMS in [*.java, *.drl, *.xhtml, *.mod] files using >  - CMS's path (example: /fintech/soba/authentication/message/accessdenied)If no result found -> CMS is not being usedWARNING:If the CMS is not hard-coded, it will bedeleted.Installationpip install richpip install ivy_cms_unused_cleanerUsageCreate a Python scriptfromivy_cms_unused_cleanerimportcms_cleanerfromrich.promptimportPromptfromrich.consoleimportConsoleimportosconsole=Console()if__name__=='__main__':path=Prompt.ask("Please enter the absolute path to your project")console.print("Process [bold purple]"+path)# move to the project folderos.chdir(path)cleaner=cms_cleaner.cms_cleaner()cleaner.get_all_cms()cleaner.get_unused_cms()Run the scriptpython cms_scanner.pyExample output:
Package: ivy-cms-unused-scanner
Ivy Used CMS ScannerAboutLarge AxonIvy projects usually have huge number amount of CMSs, and overtime, after countless times
of adding, updating and removing the CMSs, there will bezoombieCMSs in your code base.The idea of this tool is pretty simple:In each project:List out all *.data and co.meta filesGroup the *.data files with their corresponding co.meta fileSearch the CMS in [*.java, *.drl, *.xhtml, *.mod] files using >  - CMS's path (example: /fintech/soba/authentication/message/accessdenied)If no result found -> CMS is not being usedWARNING:If the CMS is not hard-coded, it will bedeleted.Installationpip install richpip install ivy-cms-unused-scannerUsageCreate a Python scriptfromcms_scannerimportcms_scannerfromrich.promptimportPromptimportosif__name__=='__main__':path=Prompt.ask("Please enter the absolute path to your project")console.print("Process [bold purple]"+path)# move to the project folderos.chdir(path)cleaner=cms_cleaner()cleaner.get_all_cms()cleaner.get_unused_cms()Run the scriptpython cms_scanner.pyExample output:
Package: ivy-demo-utils
A set of utilities for creating visual demos for Ivy libraries.Supported Frameworks:Ivy LibrariesThere are a host of derived libraries written in Ivy, in the areas of mechanics, 3D vision, robotics, gym environments,
neural memory, pre-trained models + implementations, and builder tools with trainers, data loaders and more. Click on
the icons below to learn more!Citation@article{lenton2021ivy,
  title={Ivy: Unified Machine Learning for Inter-Framework Portability},
  author={Lenton, Daniel and Pardo, Fabio and Falck, Fabian and James, Stephen and Clark, Ronald},
  journal={arXiv preprint arXiv:2102.02886},
  year={2021}
}
Package: ivydepparse
Parsing an Ivy module descriptor (ivy.xml) for its dependencies from
a tool like CMake can be tough. This script takes a descriptor on the
standard input and prints its dependencies in an easily parsable format.Installation$ sudo pip install ivydepparseUsage$ ivydepparse < ivy.xmlExampleivy-example.xml:...
    <dependency org="com.ttgf" name="myGreatDep" rev="1.2.3" conf="debug;release"/>
    <dependency org="com.ttgf" name="myGreatDep" rev="1.2.3" conf="other"/>
    <dependency org="com.ttgf" name="myGreatDebugDep" rev="2.3.4" conf="debug"/>
...results in$ ivydepparse < ivy-example.xml
org=com.ttgf|name=myGreatDebugDep|rev=2.3.4|conf=debug;org=com.ttgf|name=myGreatDep|rev=1.2.3|conf=debug,release,otherDetailsThe output is a one-liner, a semicolon-separated list of dependencies.
Each dependency is a pipe-separated list of attributes asname=value.If any value contains one of our separators, they get escaped as
follows:;is replaced by,|is replaced by:=is replaced by:For each dependency, all attributes are guaranteed to be present and in
that order:org,name,rev,conf.Attributes can be empty. An empty attribute appears asname=.Dependencies having the same key (org/name/rev) will be output as one single dependency.The order insideconfin the output is not specified.The order of the dependencies in the output is not specified.Changelog1.0.1(2015-09-30):Dependencies with same key are now aggregated.1.0.0(2015-09-30):Initial version.
Package: ivy-models
Off-the-shelf models for a variety of domains.Ivy LibrariesThere are a host of derived libraries written in Ivy, in the areas of mechanics, 3D vision, robotics, gym environments,
neural memory, pre-trained models + implementations, and builder tools with trainers, data loaders and more. Click on
the icons below to learn more!Citation@article{lenton2021ivy,
  title={Ivy: Unified Machine Learning for Inter-Framework Portability},
  author={Lenton, Daniel and Pardo, Fabio and Falck, Fabian and James, Stephen and Clark, Ronald},
  journal={arXiv preprint arXiv:2102.02886},
  year={2021}
}
Package: ivyorm
Ivy ORM allows you to write data access instructions that are then converted to the database you are working with.By providing a schema file to the Datasource class, you are able to (hopefully) quickly write some code that allows you to query a databaseCurrent statusThis is a very 'alpha' build. I've only done the very basics such as create and drop tables, and CRUD operations.
There is also only one connector - Postgres!
Package: ivy-phylo
ivyis a lightweight library and an interactive visual programming
environment for phylogenetics.  It is built on a powerful foundation
of open-source software components, including numpy, scipy,
matplotlib, and IPython.ivyemphasizes interactive, exploratory visualization of
phylogenetic trees.  For example:#!/usr/bin/env ipython
from ivy.interactive import *

root = readtree("primates.newick")
fig = treefig(root)Documentation and other resourceshttp://www.reelab.net/ivyInstallationInstallvirtualenv.Install ivy:pip install ivy
Package: ivypy
Introductionivypy is a package to retrieve ivy league sports statistics via
scraping. It provides a few method for doing so.retrieveretrieve is a method which allows a user to get dat as a list of
dictionaries. retrieve has the following call pattern:retrieve(sport, endpoint, gender=”m”, year=”current”)where sport is the relevant sport, endpoint is the data you want, gender
is the gender for the sport and year is either “current” for the current
year or an integer for a previous year. For example to get the standings
for men’s basketball in 2013:>>> standings = retrieve("basketball", "standings", year=2013)
>>> for row in standings: print(row)
{'overall': u'27-5', 'ivy': u'13-1', 'team': 'Harvard'}
{'overall': u'19-14', 'ivy': u'9-5', 'team': 'Yale'}
{'overall': u'21-9', 'ivy': u'8-6', 'team': 'Princeton'}
{'overall': u'21-13', 'ivy': u'8-6', 'team': 'Columbia'}
{'overall': u'15-14', 'ivy': u'7-7', 'team': 'Brown'}
{'overall': u'12-16', 'ivy': u'5-9', 'team': 'Dartmouth'}
{'overall': u'8-20', 'ivy': u'5-9', 'team': 'Penn'}
{'overall': u'2-26', 'ivy': u'1-13', 'team': 'Cornell'}
Package: ivy-python
Ivy: a lightweight software busIvyis a lightweight software
bus for quick-prototyping protocols.  It allows applications to
broadcast information through text messages, with a subscription
mechanism based on regular expressions.This is the python implementation.  A lot of materials, including
libraries for many other languages are available from theIvy Home
Page.Supported versions of python are: 3.7+Note: ivy-python v3.3 was the latest version supporting Python 2.7.ContributorsThe following people have participated to the project, by reporting
bugs, proposing new features and/or proposing patches, proposing the
hosting svn & web servers (before we switched to gitlab), etc.By chronological  order:Frédéric CadierMarcellin BuissonYannick JestinOlivier FourdanOlivier SaalGwenael BothorelJiri BorovecNicolas CourtelFabien AndréBohdan MushkevychAntoine DrouinFelix RuessAurélien PardonDuminda RatnayakeMathieu CousyFabien-BAlexandre DuchevetThank you!