Saravanan666/pypi-org huggingface dataset:
Package: ionicons-python
🌿ionicons_python🍃DescriptionThis package containing the icons taken fromioniconswebsite for using those easily in Python. You will not only get the basic icons from this package, but also get the social icons too, for example Linkedin, GitHub, Twitter, etc.🍃InstallationStable releaseTo installionicons_python, run this command in your terminal:$ pip install ionicons_pythonThis is the preferred method to installionicons_python, as it will always install the most recent stable release.If you don't havepipinstalled, thisPython installation guidecan guideyou through the process.pip:https://pip.pypa.ioPython installation guide:http://docs.python-guide.org/en/latest/starting/installation/🍃UsageAfter the installation is complete, use it with any of your favourite framework likeFlet, Streamlitetc. Here I am giving an example of usingFlet.fromionicons_python.ionicons_iconsimport*importfletasftdefmain(page:ft.Page):page.add(ft.Image(linkedin_icon,width=24,height=24))ft.app(target=main)Don't use this icons withIconbuttonorIconofFlet.  Those only take flet inbuilt icons.forStreamlit, below is an example:importstreamlitasstfromionicons_python.ionicons_iconsimport*st.image(python_icon,width=30)in the version 0.1.5, you can get some colored icons too. Those icons are available in theextra_iconsmodule. The usage of it inFletandStreamlitare shown below respectively.Fletfromionicons_python.colored_iconsimport*importfletasftdefmain(page:ft.Page):page.add(ft.Image(google_color_icon,width=24,height=24))ft.app(target=main)Streamlitimportstreamlitasstfromionicons_python.colored_iconsimport*st.image(python_color_icon,width=30)if you want to know which colored icons are available, see theReleasessection. All the icons provided here is in.svgformat. So, if you change the size of the icon, it will still looks sharp.if you want to see all the ionicons icons available, visitthiswebsite.🍃Releases1.0.3fixed path error while using colored icons.1.0.2This library is now Stable. You can also see some new colored icons which are taken from icons8, flaticons, etc. The icons are listed below.chatgpt_icongmail_icongoogle_color_icongoogle_docs_icongoogle_sheets_icongoogle_drive_icongoogle_slides_iconstreamlit_iconpython_color_icon0.1.4bugs fixed and done improvements.0.1.3previously the icons are only working with the desktop app of theFlet, not in the website. Now this bug is fixed.0.1.2First release in PyPI in Pre-Alpha Stage.
Package: ionicsdk
Ionic Python SDKOverviewThis module provides Python developers with access to the core services of the Ionic Platform.  At a high level, the platform provides developers with straightforward methods toSecurely create and retrieve data protection keysUse these keys to encrypt or decrypt application dataEncrypt or decrypt arbitrary filesEnroll users and devices with the Ionic backend system.Quick StartOnce you have access to an Ionic account (sign up for free at ourdeveloper portal), the Python environment makes it very simple to access some central features of the platform.   The example below assumes you have already enrolled your system and have a default peristor.importionicsdk# top level module for all Ionic classesplaintext="Welcome to the Python SDK"# create some text to encryptagent=ionicsdk.Agent()# the "Agent" class provides access to several common services.cipher=ionicsdk.ChunkCipherV1(agent)# a "cipher" object provides "encrypt" and "decrypt" operations.# it uses the supplied "agent" to create and retrieve keys.ciphertext=cipher.encryptstr(plaintext)printciphertextdecrypted=cipher.decryptstr(ciphertext)printdecryptedAdditional InformationThe Ionic Python SDK distribution includes online documentation for the classes and methods.   You can review this documentation by browsing to the "index.html" file within the "docs" directory.  It is also available online at theMachina Python SDK DocumentationIn order to use the SDK, you will need to enroll in one or more "Ionic tenants".  If you don't already have an established tenant, you can create one for free atthe Ionic Machina Developer Portal, as well as find additional information, documentation, and community resources.
Package: ionized
ionizedBootstrapAmazon Ioninto existing projects usingion-python.Free software: Apache Software License 2.0Documentation:https://ionized.readthedocs.io.FeaturesAdd Amazon-Ion capabilities to a class using the@ionizedecoratorUsageInstallationThis package is available in Pypipypi.org/project/ionized$pipinstallionizedExampleSimply add a decorator before declaring yourclass.fromdataclassesimportdataclassfromionized.ionizedimportionize@ionize@dataclassclassMyData:name:strage:int=0instance=MyData('Bob',29)print(instance.ionize())CreditsThis package was created with Cookiecutter_ and theaudreyr/cookiecutter-pypackage_ project template.Cookiecutteraudreyr/cookiecutter-pypackage
Package: ionomy-python
Quick StartPlaygroundStart up a jupyter lab instance with all the tutorial notebooks... code:: bashdocker run -p 8888:8888 ionomy-playground:latestCopy and Paste the url with token from terminal output into your browser.Open the tutorial notebook of interest or create your own to experiment with!Install.. code:: bashpip install ionomy-pythonImports and Common ParamsThe primary classes for use are IonPanda and BitTA.There are lower level classes if needed: Ionomy, BitTrex, and BitPandaIonomy is a raw API wrapper, no extras.The same with BitTrex, which is a raw api wrapper.BitPanda is the bittrex equivalent of IonPanda, but without the TA methods... code:: pythonfrom Ionomy import IonPanda, BitTA

# Common Params
MARKET = 'btc-hive'
CURRENCY = 'hive'
BASE = 'btc'
TIME = 'day'InstantiateYou must provide your Ionomy or BitTrex API key/secret, respectively.IMPORTANT: I opted for the package user to manually load and update ohlcv dataThis allows for control of the number of API calls, since there are limits (See Exchanges Websites)... code:: pythonionpd = IonPanda(IONOMY_KEY, IONOMY_SECRET)
bta = BitTA(BITTREX_KEY, BITTREX_SECRET)

# IMPORTANT - call this method to load/update ohlcv data
bta.update(CURRENCY, BASE, TIME)Common MethodsThe "tutorials" provides examples of each method and their return values.The "modules" provides the detailed code documentation.Here, I will show one method from each classe being used by the highest order classes... code:: python# returns a regular dictionary from the raw json
# I saw no benefit from having a single row dataframe returned
market_summary = ionpd.market_summary(MARKET)

# returns a pandas dataframe
order_book_df = ionpd.order_book(MARKET)

# returns a regular dictionary from the raw json
market_summary = bta.market_summary(MARKET)

# returns a pandas dataframe
order_book_df = bta.order_book(MARKET)

# TA methods are returned as DataFrames or Series
rsi_series = rsi_series = bta.rsi(length=1, drift=1, offset=0)The most common TA methods are implemented and available
Due to python limitations, such as floating point arthimetic, etc,
results will/may differ from the standard talib package
and other TA implementations on the same data.
This difference should be within a very small margin of error from a c++ implementation.
Package: ionopy
ionopyPackage for processing and analysis of GNSS dataGetting StartedPrerequisitesThings needed before installation of the packagepip install numpy
pip install pandas
pip install unlzw
pip install tablesInstallationpip install ionopyDocumentationTutorial for analysis module can be foundhereTutorial for ionex module can be foundhereAuthorsAll are welcome to contribute to the project
See also the list ofcontributorswho participated in this project.LicenseThis project is licensed under the GPL-3 License - see theLICENSE.mdfile for details
Package: ionos-dns
ionos-dns-pythonThis contains tools to use the IONOS DNS management API in oder to perform letsencrypt DNS challengesGithub repository:https://github.com/FredStober/ionos-dns-python/Documentationhttps://FredStober.github.io/ionos-dns-python/Getting started with your projectFirst, create a repository on GitHub with the same name as this project, and then run the following commands:gitinit-bmain
gitadd.
gitcommit-m"init commit"gitremoteaddorigingit@github.com:FredStober/ionos-dns-python.git
gitpush-uoriginmainFinally, install the environment and the pre-commit hooks withmakeinstallYou are now ready to start development on your project! The CI/CD
pipeline will be triggered when you open a pull request, merge to main,
or when you create a new release.To finalize the set-up for publishing to PyPi or Artifactory, seehere.
For activating the automatic documentation with MkDocs, seehere.
To enable the code coverage reports, seehere.Releasing a new versionCreate an API Token onPypi.Add the API Token to your projects secrets with the namePYPI_TOKENby visitingthis page.Create anew releaseon Github.
Create a new tag in the form*.*.*.For more details, seehere.Repository initiated withfpgmaas/cookiecutter-poetry.
Package: ioos-pkg-skeleton
ioos_pkg_skeletonQuick descriptionDocumentation and codeURLs for the docs and code.InstallationForcondausers you cancondainstall--channelconda-forgeioos_pkg_skeletonor, if you are apipuserspipinstallioos_pkg_skeletonExamplefromioos_pkg_skeletonimportioos_pkg_skeletonioos_pkg_skeleton.meaning_of_life_url()Get in touchReport bugs, suggest features or view the source code onGitHub.License and copyrightioos_pkg_skeleton is licensed under BSD 3-Clause "New" or "Revised" License (BSD-3-Clause).Development occurs on GitHub athttps://github.com/ioos/ioos_pkg_skeleton.
Package: iopipe-cli
Installer for IOpipeApplies the IOpipe layers to functions in your AWS account. Uses
credentials as configured for the AWS CLI.Runtimes supportedNode.js 10Java 8Python 2.7Python 3.6Installation & configurationOn your system CLI:pip3 install iopipe-cliThis tool assumes the AWS cli tool is configured correctly. Install and
configure the AWS CLI as such:pip3 install awscli --upgrade --userRun the awscli configuration wizard:aws configureRefer to theAWS CLI User
Guidefor advanced configuration options and support for the aws cli tool.Installing IOpipe for functions withiopipeThe easiest way to update a function is to update it with the AWS Lambda
API:iopipe lambda install --function <name or arn> --token <IOPIPE_TOKEN>The token may also be passed by the CLI’s environment variable,IOPIPE_TOKEN.If your Lambda has been deployed by Cloudformation, this method will
cause stack drift.TroubleshootingMacOS X: cannot findiopipeafter installationMake sure your python script bin directory is included in your path.Thedocumentation for the AWS
clicovers this topic and describes a solution.Error: Invalid value for “–token” / “-t”: token invalid.Your token may be malformed or corrupted. Try copying-and-pasting again,
or using quotations on the cli.Some users also report that they have the incorrectjwtlibrary
installed on their system. This project uses the popularpyjwtmodule installable from PyPi.Error:Unknown parameter in input: "Layers", must be one of: FunctionName, Role, Handler, Description, Timeout, MemorySize, VpcConfig, Environment, Runtime, DeadLetterConfig, KMSKeyArn, TracingConfig, RevisionIdIf you encounter this error, please update your boto3 dependency to the
latest version.
Package: iop-python
Hydra-Python-APIBuilding a python Api for hydra-ledger blockchain using Maturin and Rust wasmInstallationPrerequisiteRustMaturinPython > 3.8Enter the base directory of the project and activate the virtual environment with the following command and install the required python packages.sourceenv/bin/activate
pipinstall-rrequirements.txtTo compile the code, you can run the following command. This command builds a python wheel for the rust code.maturindevelopUsagehydra.pycontains a module that interacts with the hydra testnet. To use the module, you can import theHydraWalletclass from api/hydra.py.fromhydraimportHydraWallet,HydraChainA example method that verifies a signed statement can be found in the modulechain=HydraChain()signed_statement={"signature":"00987890098776556667788976676787655""claim":{"subject":"did:morpheus:ezbeWGSY2dqcUBqT8K7R14xr","content":{}...},}result=chain.verify_signed_statement(signed_statement)print(result)>>>TrueWALLET APPLICATIONTo spin up the wallet application run the command below in the base directorypython3app.py
Package: ioprobe
ioprobeIoprobe offers observability of process’s I/O througput.
This Package requires/proc/[pid]/io, so doesn’t work in OSX and Windows.Usage$ioprobe-husage:ioprobe[-h][--json]pidI/Oprobeforprocess.positionalarguments:pidtargetprocess's pid.

optional arguments:
  -h, --help  show this help message and exit
  --json      change command'soutputtoJSON.Sample$sudoioprobe[pid]daterchar/swchar/ssyscr/ssyscw/sread_bytes/swrite_bytes/scancelled_write_bytes/s2015-02-2800:11:3600000002015-02-2800:11:370000000$sudoioprobe--json[pid]{'write_bytes':0,'cancelled_write_bytes':0,'read_bytes':0,'date':'2015-02-28 00:12:15','syscr':0,'wchar':0,'rchar':0,'syscw':0}{'write_bytes':0,'cancelled_write_bytes':0,'read_bytes':0,'date':'2015-02-28 00:12:16','syscr':0,'wchar':0,'rchar':0,'syscw':0}CreditsDistributeBuildoutmodern-package-templateNews0.1Create date: 2017-09-12arrange package directory
Package: ioproc
The ioProc workflow managerioprocis a light-weight workflow manager for Python ensuring robust, scalable and reproducible data pipelines. The tool is developed at the German Aerospace Center (DLR) for and in the scientific context of energy systems analysis, however, it is widely applicable in other scientific fields.how-to installSetup a new Python environment and install ioProc usingpip install ioprochow-to configureConfigure your pipeline in theuser.yaml. Theworkflowis defined by a list of actions. These must
contain the fieldsproject,callanddata(with sub fieldsread_from_dmgr, andwrite_to_dmgr). The user
may specify additional fields for each action under the optional keyargs.You may get inspiration from the default actions ingeneral.py.You may also have a look into thesnippetssection where several basicioprocfunctionalities are described:Set up your first workflowDefine your first actionMake use of checkpointsDefine an action making use of the ioproc datamangerAdd additional yaml files to your workflowDefine global parametersStarting ioproc workflow via command line with additional input parametersdefault actions provided by ioProcreadExcelThis function is used to parse Excel files and storing it in the Data manager.@action('general')defparse_excel(dmgr,config,params):'''Parses given `excelFile` for specified `excelSheets` as dataframe object and stores it in the datamanager by thekey specified in `write_to_dmgr`.`excelHeader` can be set to `True` or `False`.The action may be specified in the user.yaml as follows:- action:project: generalcall: parse_exceldata:read_from_dmgr: nullwrite_to_dmgr: parsedDataargs:excelFile: spreadsheet.xlsxexcelSheet: sheet1excelHeader: True'''args=params['args']file=get_field(args,'excelFile')excel_sheet=get_excel_sheet(args)header=get_header(get_field(args,'excelHeader'))parsed_excel=pd.read_excel(io=file,sheet_name=excel_sheet,header=header)withdmgr.overwrite:dmgr[params['data']['write_to_dmgr']]=parsed_excelcheckpointCheckpoints save the current state and content of the data manger to disk in HDF5 format. The workflow can be resumed at any time from previously created checkpoints.@action('general')defcheckpoint(dmgr,config,params):'''creates a checkpoint file in the current working directory with nameCache_TAG while TAG is supplied by the action config.:param tag: the tag for this checkpoint, this can never be "start"'''assertparams['tag']!='start','checkpoints can not be named start'dmgr.toCache(params['tag'])mainlogger.info('set checkpoint "{}"'.format(params['tag']))printDataThis action prints all data stored in the data manager to the console. It can therefore be used for conveniently debugging a workflow.@action('general')defprintData(dmgr,config,params):'''simple debugging printing function. Prints all data in the data manager.Does not have any parameters.'''fork,vindmgr.items():mainlogger.info(k+' =\n'+str(v))
Package: iops
py-IO-PSPublic repository of developmental Python code related to research on the input-output product space (IO-PS)
[Described in Bam, W., & De Bruyne, K. (2019). Improving Industrial Policy Intervention: The Case of Steel in South Africa. The Journal of Development Studies, 55(11), 2460–2475. https://doi.org/10.1080/00220388.2018.1528354]PackageInstallationThe package is available from the Python Package Index:https://pypi.org/project/iops/pip install iops
pip install ecomplexityUsageCEPII-BACI trade data is a required input (.csv). The BACI data is available at:http://www.cepii.fr/CEPII/fr/bdd_modele/presentation.asp?id=37Full IO-PS analysis requires a value chain input (.csv). Three columns are required: 'Tier', 'Category' and 'HS Trade Code'.importpandasaspdfromiopsimportmaintradedata_df=pd.read_csv('BACI_HSXX_YXXXX_V202001.csv')valuechain_df=pd.read_csv('X_Value_Chain.csv')main.iops(tradedata_df,valuechain_df)Value Chain OutputResults are generated at tier, category and product level. Results are written to an Excel spreadsheet and headless CSV for each.Tier_Results.csv
Tier_Results.xlsx
Product_Category_Results.csv
Product_Category_Results.xlsx
Product_Results.csv
Product_Results.xlsxFunctiondefiops(tradedata,valuechain=None,countrycode=710,tradedigit=6,statanorm=False):""" IO-PS calculation function that writes the results to .xls and .csvArguments:tradedata: pandas dataframe containing raw CEPII-BACI trade data.valuechain: .csv of the value chain the IO-PS will map.columns - 'Tier', 'Category', 'HS Trade Code'default - Nonecountrycode: integer indicating which country the IO-PS will map.default - 710tradedigit: Integer of 6 or 4 to indicate the raw trade digit summation level.default - 6statanorm: Boolean indicator of literature based or CID-Harvard STATA normalization.default - False"""Future ConsiderationsUser error warningsInvestigate use of ecomplexity package forkAdditional IO-PS metricsECI and distance alignmentReferencesIO-PSBam, W., & De Bruyne, K. (2017). Location policy and downstream mineral processing: A research agenda. Extractive Industries and Society, 4(3), 443–447.https://doi.org/10.1016/j.exis.2017.06.009Marais, M., & Bam, W. (2019). Developmental potential of the aerospace industry: the case of South Africa. In 2019 IEEE International Conference on Engineering, Technology and Innovation (ICE/ITMC) (pp. 1–9). IEEE.https://doi.org/10.1109/ICE.2019.8792812Economic Complexity and Product ComplexityThis packages uses a modified copy of the Growth Lab at Harvard's Center for International Development py-ecomplexity package. The ecomplexity package is used to calculate economic complexity indices:https://github.com/cid-harvard/py-ecomplexity
Package: iOrder
A tool to characterize the local structure of liquid water by geometric order parameters.Getting startedInstallation:$pipinstalliorderor$gitclonehttps://github.com/ipudu/order$cdorder$pythonsetup.pyinstallRunning:#calculatebarparmeterforcenteratomofO$orderfoo.xyz-tbar-c'O'-f100-b100Feature SupportOrderis ready to calculate several geometric order parameters:Orientational Tetrahedral OrderTranslational Tetrahedral OrderAsphericity of the Voronoi CellIonic Conductivityand moreDocumentationThe documentation of Order is available athttp://order.readthedocs.io/.ContributingContributions to this library are always welcome and highly appreciated.LicenseMIT - See theLICENSEfor more information.
Package: iorient
Package DescriptionIOrient is an IPython extension for running queries against anOrientDBgraph database within IPython using OrientDB’s SQL
dialect andGremlin.InstallationThe package may be installed as follows:pip install iorientAfter installation, the extension may be loaded within an IPython session
with%load_ext iorientUsage ExamplesSet user name, password, server host, and database name:%orient user:passwd@localhost/dbnameSame as above, but also specify the port:%orient user:passwd@localhost:2424/dbnameMultiple connections to different databases may be opened. Once a connection has
been established, it can be used by specifying its user, server, and database name:%%orient user@server/dbname
SELECT * FROM VOne can also execute Gremlin queries using the-goption:%orient -g g.V[0]Several special commands similar to those provided by the OrientDB console are
also available:%orient create database foobar memory graph
%orient drop database foobar
%orient disconnect
%orient current database
%orient current server
%orient list classes
%orient list databasesOnce at least one connection has been opened, specifying a query without a
connection string will use the last used connection:%orient SELECT * FROM VTo display query results in JSON format results using Python’spprintmodule
rather than return them, use the-joption:%orient -j SELECT * FROM VOne can also print the results in tabular format with a maximum field width:%orient -t 100 SELECT * FROM VResults of a query can also be viewed in a similar manner with the%oviewcommand:r = %orient SELECT * FROM V
%oview -j r
%oview -t 100 rDevelopmentThe latest release of the package may be obtained fromGitHub.AuthorSee the includedAUTHORS.rstfile for more information.LicenseThis software is licensed under theBSD License.
See the includedLICENSE.rstfile for more information.
Package: iorodeo-potentiostat
iorodeo-potentiostatPython interface to IO Rodeo’s Potentiostat Shield for the teensy 3.2 development
board.ExamplefrompotentiostatimportPotentiostatdev=Potentiostat('/dev/ttyACM0')dev.set_curr_range('100uA')dev.set_sample_period(10)name='cyclic'param={'quietValue':0.0,'quietTime':1000,'amplitude':2.0,'offset':0.0,'period':1000,'numCycles':5,'shift':0.0,}dev.set_param(name,param)t,volt,curr=dev.run_test(name,display='pbar')Install$pipinstalliorodeo-potentiostatLinksDocumentationhttps://iorodeo.github.io/iorodeo-potentiostat-docs-build/Downloadhttps://github.com/iorodeo/potentiostat
Package: ior-research
Repository for the python clientPrerequisiteDockerPython 3Server Setup (Quick Start)cd ~
mkdir controlnet-docker
cd controlnet-docker
wget https://mayank31313.github.io/docker/socket_server/docker-compose.yml

docker-compose upClient (Quick Start)For this example no external configuration is needed, all the settings are predefined. The below example will only give a use case on the controlnet platform.git clone https://github.com/mayank31313/ior-python
cd ior-python/examples
python3 LatencyCheck.py ../config/from.json ../config/to.jsonInstallationRun the following command, use either command as per the needpython3 setup.py install
pip3 install git+https://github.com/mayank31313/ior-python.gitUsageconfig = {
    "server": "localhost",
    "httpPort": 5001,
    "socketServer": "localhost",
    "tcpPort": 8000,
    #"useSSL": True    # Optional
}Create Instance of IOT Clientfrom ior_research.IOTClient import IOTClientWrapper
iot = IOTClientWrpper(token=token, config = config) #Creating object for IOT ClientSetting up Receive Function to do some Operation when a response is received.iot.set_on_receive(lambda x: print(x))Last but not the least start the IOTClientiot.start()
iot.join() #Since IOTClient inherites Thread Class you can also use .join() function depending on your use caseQuick Demo