Saravanan666/pypi-org huggingface dataset:
Package: ape-blockscout
Quick StartThe following blockchain explorers are supported in this plugin:Basefor Base networks.Ethereumfor Ethereum networks.Gnosisfor Gnosis networks.Optimismfor Optimism networks.Polygonfor Polygon POS networks.Dependenciespython3version 3.8 up to 3.11.InstallationviapipYou can install the latest release viapip:pipinstallape-blockscoutviasetuptoolsYou can clone the repository and usesetuptoolsfor the most up-to-date version:gitclonehttps://github.com/ApeWorX/ape-blockscout.gitcdape-blockscout
python3setup.pyinstallQuick UsageSet up the environmentSpecify API keys as environment variables. You could put them in your shell's config like~/.profileor use a tool likedirenvand store them locally in.envrc.You can also specify multiple comma-separated keys, a random key will be chosen for each request.
This could be useful if you hit API rate limits.You can obtain an API key by registering with Blockscout and visitingthis page.exportBASE_BLOCKSCOUT_API_KEY=SAMPLE_KEYexportETH_BLOCKSCOUT_API_KEY=SAMPLE_KEYexportGNOSIS_BLOCKSCOUT_API_KEY=SAMPLE_KEYexportOPTIMISM_BLOCKSCOUT_API_KEY=SAMPLE_KEYexportPOLYGON_BLOCKSCOUT_API_KEY=SAMPLE_KEYDevelopmentPlease see thecontributing guideto learn more how to contribute to this project.
Comments, questions, criticisms and pull requests are welcomed.
Package: ape-boba
Ape Boba Ecosystem PluginEcosystem Plugin for Boba support in ApeDependenciespython3version 3.7 or greater, python3-devInstallationviaapeYou can install this plugin usingape:apepluginsinstallbobaor via config file:# ape-config.yamlplugins:-name:bobaviapipYou can install the latest release viapip:pipinstallape-bobaviasetuptoolsYou can clone the repository and usesetuptoolsfor the most up-to-date version:gitclonehttps://github.com/koyo-finance/ape-boba.gitcdape-boba
python3setup.pyinstallQuick UsageInstalling this plugin adds support for the Boba ecosystem:apeconsole--networkboba:mainnetDevelopmentComments, questions, criticisms and pull requests are welcomed.LicenseThis project is licensed under theMIT.
Package: ape-bobabeam
Ape Bobabeam Ecosystem PluginEcosystem Plugin for Bobabeam support in ApeDependenciespython3version 3.7 or greater, python3-devInstallationviaapeYou can install this plugin usingape:apepluginsinstallbobabeamor via config file:# ape-config.yamlplugins:-name:bobabeamviapipYou can install the latest release viapip:pipinstallape-bobabeamviasetuptoolsYou can clone the repository and usesetuptoolsfor the most up-to-date version:gitclonehttps://github.com/koyo-finance/ape-bobabeam.gitcdape-bobabeam
python3setup.pyinstallQuick UsageInstalling this plugin adds support for the Bobabeam ecosystem:apeconsole--networkbobabeam:mainnetDevelopmentComments, questions, criticisms and pull requests are welcomed.LicenseThis project is licensed under theMIT.
Package: ape-bsc
Quick StartEcosystem Plugin for Binance Smart Chain support in Ape.Dependenciespython3version 3.8 up to 3.11.InstallationviaapeYou can install this plugin usingape:apepluginsinstallbscor via config file:# ape-config.yamlplugins:-name:bscviapipYou can install the latest release viapip:pipinstallape-bscviasetuptoolsYou can clone the repository and usesetuptoolsfor the most up-to-date version:gitclonehttps://github.com/ApeWorX/ape-bsc.gitcdape-bsc
python3setup.pyinstallQuick UsageInstalling this plugin adds support for the Binance Smart Chain ecosystem:apeconsole--networkbsc:mainnet
Package: ape-cairo
Quick StartApe compiler plugin aroundthe Cairo language.Dependenciespython3version 3.8 or greater, python3-devRustInstallationviapipYou can install the latest release viapip:pipinstallape-cairoviasetuptoolsYou can clone the repository and usesetuptoolsfor the most up-to-date version:gitclonehttps://github.com/ApeWorX/ape-cairo.gitcdape-cairo
python3setup.pyinstallQuick UsageFirst, you will need to tellape-cairohow to use the Cairo compiler.
There are two ways to do this:Configure your Cairo manifest path in yourape-config.yaml.Build or add Cairo compiler binaries to your $PATH.Both options require cloning the Cairo compiler source code:gitclonegit@github.com:starkware-libs/cairo.gitcdcairo
gitfetch--all
gitcheckout<tag># e.g. v1.0.0-alpha.6To do the first option, add the following to yourape-config.yamlfile:cairo:manifest:/Users/home/path/to/cairo/Cargo.tomlNow, when compiling, Ape will use the commandcargo run --bin <BIN> --manifest-path <CAIRO-MANIFEST>.
To do the second option instead, build the release binaries for your OS:cargobuild--releaseNOTE: This requires being in the same directory as Cairo.After the build completes, add the target path to your global $PATH variable.
(You may want to add this to your.zshrc/.bashrcfile):exportPATH=$PATH:$HOME/path/to/cairo/target/releaseVerify you havesierra-compilein your$PATHby doing:whichsierra-compileWARN: Note that when using Cairo-lang the python package, it will add conflicting binaries with the same name.
You will need to ensure you are using the correct binaries if you havecairo-langthe Python package installed.whichstarknet-compileAlternatively, the first approach avoids this problem.Using the CompilerIn a project directory where there are.cairofiles in yourcontracts/directory, run thecompilecommand:apecompileIt should createContractTypeobjects in your.build/folder containing the necessary Sierra code for contract declaration.DevelopmentThis project is in development and should be considered a beta.
Things might not be in their final state and breaking changes may occur.
Comments, questions, criticisms and pull requests are welcomed.
Package: ape-chainstack
Quick StartChainstack network provider plugins.This plugin allows using the Ape framework with Chainstack as a node provider in an easy and integrated way.Ape is an innovative smart contract development and testing framework.
It is inspired by Brownie, and it has essentially the same syntax.
Still, Ape focuses on a more modular approach, allowing us to build and use external plugins to add functionality.Table of contentsApe Chainstack PluginRequirementsDependenciesInstallationVirtual environmentInstall ape-chainstack viapipInstall ape-chainstack viasetuptoolsQuick UsageDevelopmentLicenseRequirementsLinux or macOSWindows Subsystem Linux (WSL) if operating on windows.Dependenciespython3version 3.8 or greaterpython3-devMacOS. Should already have thecorrect headers if Python is installed withbrewLinux. Install python3-dev with:sudoapt-getinstallpython3-devNote:Always check theApe docs to find the updated requirements.InstallationVerify the Python version installed:Python3--versionVirtual environmentIt is recommended to operate in a virtual environment; you will need toinstall Apein the virtual environment if you decide to use one.Create a virtual environment.python3-mvenv/path/to/new/environmentKeep in mind that you can place the virtual environment where you prefer.Then activate it.source/bin/activateInstall ape-chainstack viapipYou can install the latest release viapip:pipinstallape-chainstackInstall ape-chainstack viasetuptoolsYou can clone the repository and usesetuptoolsfor the most up-to-date version:gitclonehttps://github.com/ApeWorX/ape-chainstack.gitcdape-chainstack
python3setup.pyinstallVerify that the Chainstack plugin was installed correctly with this command:apepluginslistIt will show a list of all the plugins installed, and Chainstack will be there.InstalledPlugins:chainstack<currentversionnumber>Quick UsageFollow these steps to sign up on Chainstack, deploy a node, and find your endpoint credentials:Sign up with Chainstack.Deploy a node.View node access and credentials.Note:At this moment only the Ethereum network is supported.Create an environment variable with your Chainstack node URL in this formatCHAINSTACK_"NETWORK"_URL=ENDPOINT_URL; for example:exportCHAINSTACK_GOERLI_URL=https://nd-11X-26X-16X.p2pify.com/YOUR_API_KEYUse the commandape networks listto see the networks available:ethereum(default)├──mainnet
│├──geth(default)│└──chainstack
├──ropsten
│├──geth(default)│└──chainstack
├──kovan
│└──geth(default)├──rinkeby
│├──geth(default)│└──chainstack
├──goerli
│├──geth(default)│└──chainstack
└──local(default)├──geth└──test(default)Use the--networkcommand to access the console using your node; for example:apeconsole--networkethereum:goerli:chainstackCheck the Ape docs to seehow to select a network.Now you are ready to use Ape to develop and test your smart contract, checkout theApe Academyfor tutorials.DevelopmentThis project is in development and should be considered a beta.
Things might not be in their final state and breaking changes may occur.
Comments, questions, criticisms and pull requests are welcomed.
Package: apeek
apeekapeekis a package for creating audio waveform previews.The library installs a commandapeekfor generating waveform overviews with Unicode
block characters for display in a terminal.$apeek-l12-itest/media/hi.wav▁▃█▅▂▁▅██████▇▇▅▇▃▄▁▃▇██████████████▄▄▂▁▁▁▂▄██████████████████▆██▆▅▇▇█████▇███████████████████████████████████████████████████▆▄█████████████████████████████████▆▃▅████████████████████████████████▇████▆▃▂█████████████████████████████████████▄████▆▆▄▇█████████████████████████████████████████████▄▁█████████████████████████████████████████▇██▅██▅██▆▃▁max↑DUR:0.60seconds@22050Fs//Peak:-2.39dBFSat0.31secs
Package: ape-ens
Quick StartApe plugin for ENS argument conversion and contractsDependenciespython3version 3.8 up to 3.11.InstallationviapipYou can install the latest release viapip:pipinstallape-ensviasetuptoolsYou can clone the repository and usesetuptoolsfor the most up-to-date version:gitclonehttps://github.com/ApeWorX/ape-ens.gitcdape-ens
python3setup.pyinstallQuick UsageThe ENS plugin requires a mainnet connection to resolve ENS names because ENS contracts are only deployed to mainnet.
Thus, the first thing you should do is ensure you have configured a mainnet provider.
For example, if you useinfuraoralchemy, install the associated plugin:apepluginsinstallinfuraAfterwards, you should see it in the output of thelistcommand:$apepluginslist

InstalledPlugins:infura0.4.0...After your provider plugin of choice is installed, configure it to be your default mainnet provider in yourape-config.yamlfile:ethereum:mainnet:default_provider:infuraFinally, you can start the ape console using any network of your choice:apeconsole--network:rinkeby:infuraThen, convert anensdomain to anAddressType:In[1]:fromape.typesimportAddressTypeIn[2]:convert("vitalik.eth",AddressType)Out[2]:'0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045'Get the Ethereum Name Service (ENS) namehash using thenamehashfunction:fromape_ens.utilsimportnamehash# or# from ape_ens.utils.namehash import namehash>>namehash("eth").hex()"0x93cdeb708b7545dc668eb9280176169d1c33cfd8ed6f04690a0bcc88a93fc4ae">>namehash("foo.eth")HexBytes("0xde9b09fd7c5f901e23a3f19fecc54828e9c848539801e86591bd9801b019f84f")>>namehash("ape.rocks.eth").hex()"0x6294e43e29c5c1573554a68e6ff302fa867ab0d56b800f623c1abb77609d2b8d"The ENS plugin temporarily connects to mainnet, caches the address resolution, and then your original network uses the result.
Package: apeer-dev-kit
APEER Python SDK aka (ADK) is a Python library for reading inputs and writing outputs of APEER(https://www.apeer.com) modules.
The ADK will take care of reading inputs from previous modules in APEER and writing your outputs in the correct format for the next mod ule.
This project is hosted athttps://github.com/apeer-micro/apeer-python-sdkThe documentation can be found athttps://github.com/apeer-micro/apeer-python-sdk/blob/master/README.md
Package: apeer-to-wipp-converter
APEER to WIPP converterConvert APEER plugins to WIPPBothAPEERdeveloped by Zeiss andWIPPdeveloped by NIST provide image processing tools and pipelines based on modern containers.
While there are differences in the approaches and implementation, basic main components (Dockerfile with entrypoint + JSON description of the pipeline step) are similar enough that it is possible to convert one into the other.
Even though in the long term it is prefered that both systems adopt the same standard for these containers, in the short term it is useful to be able to at least convert between the standards.This repo contains the command line utility to convert the source code of APEER plugin into the source code of the WIPP plugin.
Conversion is fully automatic and changes as little of the original source code as possible:
- Creates a bash script that translates WIPP input parameters into APEER format in the runtime
- Creates a new Dockerfile with modified ENTRYPOINT command and COPY command for bash script described above
- Creates aplugin.jsonaccording to WIPP specificationInstallationpip install apeer_to_wipp_converterUsagea2w <path to module_specification.json in APEER module folder>After you converted plugin, you may build the Dockerfile and try it in WIPP. Instructions for local installation are availablehere <https://github.com/usnistgov/WIPP/blob/master/deployment/wipp-complete-single-node/README.md>.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-03-06)First release on PyPI.
Package: ape-fantom
Quick StartEcosystem Plugin for Fantom support in ApeDependenciespython3version 3.8 up to 3.11.InstallationviaapeYou can install this plugin usingape:apepluginsinstallfantomor via config file:# ape-config.yamlplugins:-name:fantomviapipYou can install the latest release viapip:pipinstallape-fantomviasetuptoolsYou can clone the repository and usesetuptoolsfor the most up-to-date version:gitclonehttps://github.com/ApeWorX/ape-fantom.gitcdape-fantom
python3setup.pyinstallQuick UsageInstalling this plugin adds support for the Fantom ecosystem:apeconsole--networkfantom:opera
Package: ape-filecoin
Quick StartApe plugin forFilecoin EVMDependenciespython3version 3.8 or greater, python3-devInstallationviapipYou can install the latest release viapip:pipinstallape-filecoinviasetuptoolsYou can clone the repository and usesetuptoolsfor the most up-to-date version:gitclonehttps://github.com/z80dev/ape-filecoin.gitcdape-filecoin
python3setup.pyinstallQuick UsageInstalling this plugin adds support for the Filecoin EVM ecosystemIn yourape-config.yaml:geth:filecoin:hyperspace-testnet:uri:https://filecoin-hyperspace.chainstacklabs.com/rpc/v1# rpc endpoint from chainlist.orgThen, in your terminal:apeconsole--networkfilecoin:hyperspace-testnetDevelopmentThis project is in development and should be considered a beta.
Things might not be in their final state and breaking changes may occur.
Comments, questions, criticisms and pull requests are welcomed.
Package: ape-flashbots
Ape FlashbotsTODO: DescriptionDependenciespython3version 3.7 or greater, python3-devInstallationviapipYou can install the latest release viapip:pipinstallape-flashbotsviasetuptoolsYou can clone the repository and usesetuptoolsfor the most up-to-date version:gitclonehttps://github.com/ApeWorX/ape-flashbots.gitcdape-flashbots
python3setup.pyinstallQuick UsageTODO: Describe library overview in codeDevelopmentThis project is in early development and should be considered an alpha.
Things might not work, breaking changes are likely.
Comments, questions, criticisms and pull requests are welcomed.LicenseThis project is licensed under theApache 2.0.
Package: ape-frame
Quick StartTODO: DescriptionDependenciespython3version 3.8 or greater, python3-devInstallationviapipYou can install the latest release viapip:pipinstallape-frameviasetuptoolsYou can clone the repository and usesetuptoolsfor the most up-to-date version:gitclonehttps://github.com/ApeWorX/ape-frame.gitcdape-frame
python3setup.pyinstallQuick UsageTODO: Describe library overview in codeDevelopmentThis project is in development and should be considered a beta.
Things might not be in their final state and breaking changes may occur.
Comments, questions, criticisms and pull requests are welcomed.
Package: ape-ganache
Quick StartGanache network provider plugin for Ape. Ganache is a tool for creating a local blockchain for fast Ethereum development.Dependenciespython3version 3.8 up to 3.11.Node.js, NPM, and Ganache. See Ganache'sInstallationdocumentation for steps.InstallationviapipYou can install the latest release viapip:pipinstallape-ganacheviasetuptoolsYou can clone the repository and usesetuptoolsfor the most up-to-date version:gitclonehttps://github.com/ApeWorX/ape-ganache.gitcdape-ganache
python3setup.pyinstallQuick UsageTo use the plugin, first install Ganache locally into your Ape project directory:cdyour-ape-project
npminstall--globalganacheAfter that, you can use the--network ethereum:local:ganachecommand line flag to use the ganache network (if it's not already configured as the default).This network provider takes additional Ganache-specific configuration options.
To use them, add these configs in your project'sape-config.yaml:ganache:server:port:8555To select a random port, use a value of "auto":ganache:server:port:autoThis is useful for multiprocessing and starting up multiple providers.Mainnet ForkTheape-ganacheplugin also includes a mainnet fork provider. It requires using another provider that has access to mainnet.Use it in most commands like this:apeconsole--network:mainnet-fork:ganacheSpecify the upstream archive-data provider in yourape-config.yaml:ganache:fork:ethereum:mainnet:upstream_provider:infuraOtherwise, it defaults to the default mainnet provider plugin.
You can also specify ablock_number.NOTE: Make sure you have the upstream provider plugin installed for ape.apepluginsaddinfuraUnlocking AccountsYou can unlock / impersonate accounts at genesis time using Ganache.
To do this, add the accounts to your config like this:ganache:wallet:unlocked_accounts:-0x04029baca527b69247dbe9243dfc9b5d12c7ba60
Package: ape-gnosis
Ape GnosisAdds Gnosis Chain support to Ape CLI.Dependenciespython3version 3.7 or greater, python3-devInstallationviaape installapeinstallplugingnosisviaape-config.yamlplugins:-name:gnosisviapipcdape-gnosis
python-mpipinstall.--userQuick UsageTODO: Describe library overview in codeDevelopmentThis project is in development and should be considered a beta.
Things might not be in their final state and breaking changes may occur.
Comments, questions, criticisms and pull requests are welcomed.LicenseThis project is licensed under theApache 2.0.
Package: ape-huff
ape-huffHuff compiler plugin for the eth-ape development frameworkDependenciesTo build binaries from source when a pre-built binary isn't available the build toolcargomust be installed. Refer to thecargodocumentationfor instruction on installing it.Installation$pipinstallape-huffUsageTo use theape-huffplugin simply include huff contracts (files with the.huffextension) in your project'scontracts/directory.Selecting a VersionBy defaultape-huffwill use the latest stable huff release to compile contracts. To customize the version used
update yourape-config.yamlto include the following:huff:version:0.3.1
Package: ape-infura
Quick StartUse theInfuraprovider plugin to interact with blockchains via APIs.
This plugin supports the following ecosystems:EthereumPolygonArbitrumOptimismLineaDependenciespython3version 3.8 up to 3.11.InstallationviapipYou can install the latest release viapip:pipinstallape-infuraviasetuptoolsYou can clone the repository and usesetuptoolsfor the most up-to-date version:gitclonehttps://github.com/ApeWorX/ape-infura.gitcdape-infura
python3setup.pyinstallQuick UsageFirst, make sure you have one of the following environment variables set (it doesn't matter which one):WEB3_INFURA_PROJECT_IDWEB3_INFURA_API_KEYEither in your current terminal session or in your root RC file (e.g..bashrc), add the following:exportWEB3_INFURA_PROJECT_ID=MY_API_TOKENTo use the Infura provider plugin in most commands, set it via the--networkoption:apeconsole--networkethereum:goerli:infuraTo connect to Infura from a Python script, use thenetworkstop-level manager:fromapeimportnetworkswithnetworks.parse_network_choice("ethereum:mainnet:infura")asprovider:# Also, access the websocket URI:print(provider.ws_uri)
Package: ape-kava
Quick StartEcosystem Plugin for Kava support in ApeDependenciespython3version 3.8 up to 3.11.InstallationviaapeYou can install this plugin usingape:apepluginsinstallkavaor via config file:# ape-config.yamlplugins:-name:kavaviapipYou can install the latest release viapip:pipinstallape-kavaviasetuptoolsYou can clone the repository and usesetuptoolsfor the most up-to-date version:gitclonehttps://github.com/ApeWorX/ape-kava.gitcdape-kava
python3setup.pyinstallQuick UsageInstalling this plugin adds support for the Kava ecosystem:apeconsole--networkkava:mainnetDevelopmentThis project is in development and should be considered a beta.
Things might not be in their final state and breaking changes may occur.
Comments, questions, criticisms and pull requests are welcomed.
Package: ape-keyring
QuickstartAvoid hard-coding secrets in your projects usingape-keyring.ape-keyringis built on top ofkeyringand is an account plugin and secret manager.
By default,keyringuses your OS's secure storage and prompts for authorization upon request.
Thus,keyringis useful for securely managing local developer environments.This guide demonstrates how to useape-keyringas an account plugin and secret manager.Dependenciespython3version 3.8 or greater, python3-devInstallationviapipYou can install the latest release viapip:pipinstallape-keyringviasetuptoolsYou can clone the repository and usesetuptoolsfor the most up-to-date version:gitclonehttps://github.com/ApeWorX/ape-keyring.gitcdape_keyring
python3setup.pyinstallQuick UsageAccountsUseape-keyringas an account plugin.
You can add existing accounts to keyring to use in your scripts, console, or tests:apekeyringimportkeyring_dev_0It then securely prompts you for your private key.NOTE: You can only add existing accounts to keyring and generate new ones.You can delete accounts by doing:apekeyringaccountsdelete<alias>This only deletes the account from keyring and not the blockchain.To remove all your keyring accounts, run the command:apekeyringaccountsdelete-allFinally, list your accounts by doing:apekeyringaccountslistSecretsUseape-keyringas a secrets managers, such as Infura project IDs, Etherscan API keys, your mother's maiden name.
To add secrets to keyring, do:apekeyringsetWEB3_API_KEYand then when it prompts you, input the value to your secret.Optionally, scope your secrets to the active project.ape keyring set DEPLOYMENT_SECRET --scope projectTo enable your secrets to become environment variables at runtime,
use theape-config.yamloptionset_env_vars:keyring:set_env_vars:true
Package: ape-ledger
Quick StartApe Ledger is a plugin for Ape Framework which integrates with Ledger devices
to load and create accounts, sign messages, and sign transactions.Dependenciespython3version 3.8 up to 3.11.InstallationviapipYou can install the latest release viapip:pipinstallape-ledgerviasetuptoolsYou can clone the repository and usesetuptoolsfor the most up-to-date version:gitclonehttps://github.com/ApeWorX/ape-ledger.gitcdape-ledger
python3setup.pyinstallQuick UsageYou must:have the Ledger USB device connectedhave the Ledger USB device unlocked (by entering the passcode)and have the Ethereum app open.Then, add accounts:apeledgeradd<alias>Ledger accounts have the following capabilities inape:Can sign transactionsCan sign messages using the default EIP-191 specificationCan sign messages using the EIP-712 specificationAdjust HD PathIf you need to adjust your HD path, use the--hd-pathflag when adding the account.apeledgeradd<alias>--hd-path"m/44'/60'/0'/0/{x}"{x}indicates the account node. Note that excluding{x}assumes the account node is at the end
of the path.The default HD path for the Ledger plugin ism/44'/60'/{x}'/0/0.
Seehttps://github.com/MyCryptoHQ/MyCrypto/issues/2070for more information.List accountsTo list just your Ledger accounts inape, do:apeledgerlistRemove accountsYou can also remove accounts:apeledgerdelete<alias>DevelopmentPlease see thecontributing guideto learn more how to contribute to this project.
Comments, questions, criticisms and pull requests are welcomed.