Saravanan666/pypi-org huggingface dataset:
Package: crypto-markets
crypto-marketsPython bindings for thecrypto-marketslibrary.QuickstartInstall,pip3installcrypto-marketsfromcrypto_marketsimportMarketType,fetch_marketsmarkets=fetch_markets("binance",MarketType['inverse_swap'])assertlen(markets)>0market=markets[0]assertmarket['exchange']=='binance'assertmarket['market_type']=='inverse_swap'How to buildOn Mac OS X,condainstall--filerequirements-dev.txt

rm-rfbuildcrypto-markets-ffi/target
python3setup.pybdist_wheel# Need to create a ~/.pypirc file firsttwineupload--repositorytestpypidist/*
python3-mpipinstall--index-urlhttps://test.pypi.org/simple/--no-depscrypto-markets

twineuploaddist/*For Linux,dockerrun-it--rm-v$(pwd):/projectsoulmachine/rust:manylinux2014bash

/opt/python/cp36-cp36m/bin/pip3install-rrequirements-dev.txt
rm-rfbuildcrypto-markets-ffi/target
/opt/python/cp36-cp36m/bin/python3setup.pybdist_wheel
auditwheelrepairdist/*linux*.whl--platmanylinux2014_x86_64
/opt/python/cp36-cp36m/bin/twineupload--repositorytestpypiwheelhouse/*Testpython3setup.pydevelop
pytest-s
Package: crypto-market-wrapper
Welcome to the crypto_market_wrapper package! This package allows users to retrieve various types of data about cryptocurrency listed on the Binance exchange.With this package, users can access:Recent Trades ListAggregate Trades ListCandlestick DataUIKlines dataCurrent Average Price24hr Ticker Price Change StatisticsSymbol Order Book TickerInstallpip install crypto-market-wrapperImportfrom crypto_market_wrapper import cryptoSymbolsThe function provides a DataFrame of valid cryptocurrency symbols.Returns:
    DataFrame: Symbolsusagecrypto.GET_SYMBOLS()Recent Trades ListThe function provides a DataFrame containing a list of recent trades.Args:
    SYMBOL (str, optinal): Defaults to "BTCUSDT"

Returns:
    DataFrame: Recent Trades Listusagecrypto.GET_RECENT_TRADES_LIST()Aggregate Trades ListThe function provides a DataFrame containing an aggregate list of tradesArgs:
    SYMBOL (str, optinal): Defaults to "BTCUSDT".

Returns:
    DataFrame: Aggregate Trades Listusagecrypto.GET_AGGREGATE_TRADES_LIST()Candlestick DataThe function provides a DataFrame containing candlestick data.Args:
    SYMBOL (str, optinal): Defaults to "BTCUSDT".
    INTERVAL (str, optinal): Defaults to "1h".('1s','1m','3m','5m','15m','30m','1h','2h','4h','6h','8h','12h','1d','3d','1w','1M')
    LIMIT (int, optional): A valid symbol is required(1000). Defaults to 500.

Returns:
    DataFrame: Candlestick Datausagecrypto.GET_CANDLESTICK_DATA()UIKlines dataThe function provides a DataFrame containing candlestick data.Args:
    SYMBOL (str, optional): Defaults to "BTCUSDT".
    INTERVAL (str, optional): Defaults to "1h".('1s','1m','3m','5m','15m','30m','1h','2h','4h','6h','8h','12h','1d','3d','1w','1M')
    LIMIT (int, optional):  A valid limit is required(1000). Defaults to 500.

Returns:
    DataFrame: UIKlinesusagecrypto.GET_UIKLINES()Current Average PriceThe function provides a dictionary containing the current average priceArgs:
    SYMBOL (str, optinal): Defaults to "BTCUSDT".

Returns:
    Dict: Current Average Priceusagecrypto.GET_CURRENT_AVERAGE_PRICE()24hr Ticker Price Change StatisticsThe function provides a DataFrame containing 24-hour ticker price change statistics.Args:
    SYMBOLS (list, optional): A valid symbol is required. Defaults to ["BTCUSDT"].

Returns:
    DataFrame: 24hr Ticker Price Change Statisticsusagecrypto.GET_TICKER_PRICE_CHANGE_24H()Symbol Order Book TickerThe function provides a DataFrame containing order book ticker data.Args:
    SYMBOLS (list, optional): Defaults to ["BTCUSDT"].

Returns:
    DataFrame: Order Book Tickerusagecrypto.GET_SYMBOL_ORDER_BOOK_TICKER()
Package: crypto-math-utils
The Extended Euclidean Algorithm is an extension of the Euclidean Algorithm for finding the greatest common divisor (GCD) of two integers. In addition to finding the GCD, the Extended Euclidean Algorithm also computes the coefficients of BÃ©zout’s identity, which are integers x and y such that:GCD(a,b)=ax+byThis algorithm is particularly useful in various areas, including number theory and cryptography.Change Log0.0.1 (12/12/2023)First Release
Package: cryptomite
cryptomitecryptomiteis a modular, extensible high-level Python library
for randomness extractions, created by Quantinuum's Quantum Cryptography team.
At a high level, the library offers state-of-the-art randomness extractors that are easy to use, optimized and numerically precise
providing a trade-off of features that suits numerous practical use cases today.The performance critical parts of the library (e.g. NTT) are implemented in C++, but the rest of the
library (e.g. parameter estimation) is implemented in Python for accessibility and ease of installation.The package is available for Python 3.8 and higher on Mac, Windows and Linux. To install, type:pipinstallcryptomiteExample Usagefromcryptomite.trevisanimportTrevisanfromrandomimportrandintn,m,max_eps=1000,200,0.01ext=Trevisan(n,m,max_eps)input_bits=[randint(0,1)for_inrange(n)]seed_bits=[randint(0,1)for_inrange(ext.ext.get_seed_length())]output_bits=ext.extract(input_bits,seed_bits)DocumentationTo build the docs, runcddocs
pipinstall-rrequirements.txt
makeclean
makehtmlTestingInstallpytest, then runpytest test.To run the C++ tests, runcmake.
make
test/runTest
Package: crypto-msg-parser
crypto-msg-parserPython bindings for thecrypto-msg-parserlibrary.Installpip3installcrypto-msg-parserQuickstartfromcrypto_msg_parserimportMarketType,parse_tradejson_arr=parse_trade("binance",MarketType['inverse_swap'],'{"stream":"btcusd_perp@aggTrade","data":{"e":"aggTrade","E":1616201883458,"a":41045788,"s":"BTCUSD_PERP","p":"58570.1","q":"58","f":91864326,"l":91864327,"T":1616201883304,"m":true}}')assertlen(json_arr)==1trade=json_arr[0]asserttrade['exchange']=='binance'asserttrade['market_type']=='inverse_swap'asserttrade['msg_type']=='trade'asserttrade['price']==58570.1asserttrade['quantity_base']==5800.0/58570.1asserttrade['quantity_quote']==5800.0asserttrade['quantity_contract']==58.0asserttrade['side']=='sell'Another example, parsing the output ofcrypto-crawler:fromcrypto_crawlerimportMarketType,crawl_tradefromcrypto_msg_parserimportMarketType,parse_tradecrawl_trade("binance",MarketType.Spot,["BTCUSDT","ETHUSDT"],lambdamsg:print(parse_trade(msg.exchange,msg.market_type,msg.json)))
Package: cryptonator
Cryptonator Python APIA simple wrapper for theCryptonatorexchange rate API.InstallYou can either install Cryptonator by usingpip, or simply copy thecryptonator.pyfile in you project root directory.$pipinstallcryptonator# add --user if you wantUsageimportcryptonator"""Get an exchange rate between two currencies."""cryptonator.get_exchange_rate('usd','eur')# 0.95147479"""A Cryptonator API object can speed-up things if you need multiple calls."""api=cryptonator.Cryptonator()"""Get an exchange rate between a single curreny and many targets."""api.get_exchange_rates('usd',['eur','btc','xrp'])# {'btc': 0.00136076, 'eur': 0.95147479, 'xrp': 144.71780029}TestingTests can be found intest_cryptonator.py.
You can launch them with:$pythontest_cryptonator.py
Package: cryptonator-API
cryptonatorAPIСreate Invoiceapi=Api(merchant_id='4b8cc73b06e8205f4d212a7a8c0bb6497',secret='b89a02b2801231fc8d60f65fe724448',language='ru')amount=Decimal('0.00015')invoice_id=api.create_invoice(item_name='test_tovar',invoice_amount=amount,invoice_currency='bitcoin')#returns invoice_idCheck Invoicestatus=api.check_invoice(invoice_id)print(status)#{'order_id': '2636351', 'amount': '0.00015000', 'currency': 'bitcoin', 'status': 'unpaid'}https://github.com/Whom-m0rty/cryptonatorAPI/blob/master/example.py
Package: cryptonets-python-sdk
CryptoNets Python SDKProject descriptionThis package provides an interface to CryptoNets™ 1:N fully homomorphically encrypted (FHE) face recognition, Ultrapass™
ID and human age estimation.Getting StartedSign up on the waitlist onhttps://private.idto obtain your apiKey.RequirementsPython >= 3.6NoticesLicensing Restriction: This SDK is not licensed for use in regulated gaming. To license CryptoNets in this market,
please contact CentralAMS.InstallationInstallation of the CryptoNets Python SDK and its dependencies is provided bypip.
If pip is not installed, see thepip user guideto install
pip.To ensure smooth installation, it’s recommended to use:pip: 9.0.2or greaterThe safest way to install the SDK is to use pip in a virtualenv:python -m pip install cryptonets_python_sdkIf you have the cryptonets_python_sdk package installed and want to upgrade to the latest version, you can run:python -m pip install --upgrade cryptonets_python_sdkThis will install the cryptonets_python_sdk package as well as all dependencies.
See theinstallationsection of
the SDK homepage Guide for more information.UsageYou will receive the Server URL and apiKey when you subscribe.Import Face factorfrom cryptonets_python_sdk.factor import FaceFactorfrom cryptonets_python_sdk.settings.loggingLevel import LoggingLevelInitialize and use factorserver_url = URL of the server

api_key = APIKEY issued on successful signup

server = FaceFactor(url=server_url, api_key=api_key,
        logging_level=LoggingLevel.full)LicensePrivate Identity LicenseCopyright (c) 2020-present, Private Identity All rights reserved.More Resources:Getting StartedInstallationUsageSDK-Docs
Package: cryptonight
# A sample Python projectA sample project that exists as an aid to the [Python Packaging User
Guide][packaging guide]’s [Tutorial on Packaging and Distributing
Projects][distribution tutorial].This project does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.[The source for this project is available here][src].Most of the configuration for a Python project is done in thesetup.pyfile,
an example of which is included in this project. You should edit this file
accordingly to adapt this sample project to your needs.This is the README file for the project.The file should use UTF-8 encoding and can be written using
[reStructuredText][rst] or [markdown][md use] with the appropriate [key set][md
use]. It will be used to generate the project webpage on PyPI and will be
displayed as the project homepage on common code-hosting services, and should be
written for that purpose.Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not a
good idea, although a simple “What’s New” section for the most recent version
may be appropriate.[packaging guide]:https://packaging.python.org[distribution tutorial]:https://packaging.python.org/en/latest/distributing.html[src]:https://github.com/pypa/sampleproject[rst]:http://docutils.sourceforge.net/rst.html[md]:https://tools.ietf.org/html/rfc7764#section-3.5“CommonMark variant”
[md use]:https://packaging.python.org/specifications/core-metadata/#description-content-type-optional
Package: cryptonium
cryptoniumoffers an easy interface to encrypt/decrypt strings and files.In a nutshellInstallationThe easiest way is to usepoetryto manage your dependencies and addcryptoniumto them.[tool.poetry.dependencies]cryptonium="^0.3.0"UsageA class called SymmetricCrypto for encrypting and decrypting strings and files is available.LinksDocumentationChangelog
Package: crypton-tool
Crypton ToolCrypton Tool é baseado no pacotecryptography.ioe tem por objetivo disponibilizar métodos para cryptar arquivos e conteúdos, além de disponibilizar comandos CLI.Documentação:https://msbar.github.io/crypton-toolSource code:https://github.com/msbar/crypton-toolInstalação:pip install crypton-toolExemplos:Criptando um arquivo ou arquivos em uma pasta.fromcrypton_tool.cryptonimportCryptonCrypton.generate_key(to_file='seu/caminho')token=Crypton.read_token_file("seu/caminho/token.crypton")Criptando um arquivo ou arquivos em uma pasta.crypt.encrypt_file('caminho/para/arquivo_ou_pasta')Decriptando um arquivo ou arquivos em uma pasta.crypt.decrypt_file('caminho/para/arquivo_ou_pasta')
Package: cryptools
cryptoolsPython crypto tools designed for ease of use and stability instead of guaranteed performance or cryptographic security.InstallationpipinstallcryptoolsUsageHashfromcryptoolsimport*sha1('adb')# 'fa1143dea12bffbbc1aa99d5da2ec811d63b5127'PRNGfromcryptoolsimport*# Using Mersenne Twister 19937 and default seed 5489rand()# 0xD091BB5Crand()# 0x22AE9EF6seed(251)rand()# 0xA33A7D59rand()# 0x8631FB6BCipherfromcryptoolsimport*aes_ecb_encrypt('adb','cryptoolstestkey')# '4547e8e48086047f0e704728f86f1273'aes_ecb_decrypt(b'EG\xe8\xe4\x80\x86\x04\x7f\x0epG(\xf8o\x12s','cryptoolstestkey')# b'adb'
Package: cryptoolz
AboutFree software: GNU General Public License v3Documentation:https://cryptoolz.readthedocs.io.WhatThis is a CLI app with crypto related tools and a high level slightly-circom-circuit-inspired crypto module. This is a heavy WIP, many more algorithms can be added, code can/must also be polished.ToolDescriptionkeys(offered)Generates a keypair for a chosen network.Encrypts the secret with a chosen algorithm combination.The public key is shown during generation!Can print a QR code or a basic PEM block!primes(offered)Utility command for getting prime numbers of a certainform.crypto(planned)crypto will offer options for the above,but generalized to plaintext encryption.Modules offeredcryptois a “circuit”-like (slightly circom inspired) wrapper for pyca cryptography with pydantic data validation and sensible defaults:Composited: PBDKF2-AESGCMKey Derivation Functions: PBDKF2Authenticated Encryption: AESGCMMessage Digests (Hash): BLAKE2bDisclaimerThe use of this library is at your own risk. The developer and contributors of cryptoolz are not liable for any types of damages caused through the use of anything which is part of this project.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History1.3.2 (2023-02-06)Fix data files incryptoolz/resourcesnot being included.1.3.0 (2023-02-06)primecommand.Fix all instances of that write-to-file bug.Some style formatting.1.2.1 (2023-02-03)Bugfix on main command because of a file objectDon’t print “No digest created!”, we might not plan digest, need to analyze utility first.1.2.0 (2023-02-02)Users couldn’t use 1 passphrase to decrypt entire text file if so encrypted.QR format now also prints public key to QR. See Usage.1.1.0 (2023-02-02)Fix ugly abstractions in tools.keys and replace with something better.1.0.2 (2023-02-01)Minor config fixups.1.0.1 (2023-01-30)First release on PyPI.
Package: cryptoolzf
AboutFree software: GNU General Public License v3Documentation:https://cryptoolzf.readthedocs.io.WhatThis is a CLI app with crypto related tools and a high level slightly-circom-circuit-inspired crypto module. This is a heavy WIP, many more algorithms can be added, code can/must also be polished.ToolDescriptionkeys(offered)Generates a keypair for a chosen network.Encrypts the secret with a chosen algorithm combination.The public key is shown during generation!Can print a QR code or a basic PEM block!primes(offered)Utility command for getting prime numbers of a certainform.crypto(planned)crypto will offer options for the above,but generalized to plaintext encryption.Modules offeredcryptois a “circuit”-like (slightly circom inspired) wrapper for pyca cryptography with pydantic data validation and sensible defaults:Composited: PBDKF2-AESGCMKey Derivation Functions: PBDKF2Authenticated Encryption: AESGCMMessage Digests (Hash): BLAKE2bDisclaimerThe use of this library is at your own risk. The developer and contributors of cryptoolzf are not liable for any types of damages caused through the use of anything which is part of this project.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History2.1.0 (2023-12-07)Actually fix by adding reqs insetup.cfginstall_requires.2.0.0 (2023-12-07)Fork by mtuganFixrequirements.txtnot being included.1.3.2 (2023-02-06)Fix data files incryptoolzf/resourcesnot being included.1.3.0 (2023-02-06)primecommand.Fix all instances of that write-to-file bug.Some style formatting.1.2.1 (2023-02-03)Bugfix on main command because of a file objectDon’t print “No digest created!”, we might not plan digest, need to analyze utility first.1.2.0 (2023-02-02)Users couldn’t use 1 passphrase to decrypt entire text file if so encrypted.QR format now also prints public key to QR. See Usage.1.1.0 (2023-02-02)Fix ugly abstractions in tools.keys and replace with something better.1.0.2 (2023-02-01)Minor config fixups.1.0.1 (2023-01-30)First release on PyPI.
Package: cryptoowl
# cryptoowl-common
A library, that stores commonly used code for different modules in the CryptoOwl application.
Never store username-password in this repository.## Useful links for python packaging:
[Link-1](https://medium.com/@joel.barmettler/how-to-upload-your-python-package-to-pypi-65edc5fe9c56)
[Link-2](https://www.section.io/engineering-education/setting-up-cicd-for-python-packages-using-github-actions/)
Package: cryptop
cryptop is a lightweight command line based cryptocurrency portfolio.
Built on Python 3 and ncurses with simplicity in mind, cryptop updates in realtime.Installationcryptop requires Python 3 to run, and has only been tested in Python 3.6 so far.The easiest way to install cryptop is through pipsudopipinstallcryptopYou may need to force pip3 depending on your python installsudopip3installcryptopcryptop can be installed manually, download the repo and runsudopythonsetup.pyinstallpip and setup.py can be run with a –user flag if you would prefer not to sudo. Both require setuptools which is included in most python installs and many distros by defaultUsageStart from a terminal.cryptopFollow the on screen instructions to add/remove cryptocurrencies from your portfolio.CustomisationCryptop creates two config files in a .cryptop folder in your home directory..crypto/config.ini contains theme configuration (text/background colors) and
options to change the output currency (default USD), update frequency, number of decimal places to display and maximum width for float values..cryptop/wallet.json contains the coins and amounts you hold, you shouldn’t need to edit it manuallyCreditsUses thecryptocompare.com API.TipjarHelp me reach my goal of becoming a blockchain developer.BTC: 15wNW29q7XAEbC8yus49CWvt91JkhcdkoWDisclaimerI am not liable for the accuracy of this program’s output nor actions
performed based upon it.
Package: crypto-pair
crypto-pairPython bindings for thecrypto-pairlibrary.QuickstartInstall,pip3installcrypto-pairfromcrypto_pairimportnormalize_pairassertnormalize_pair('BTCUSDT','binance')=='BTC/USDT'How to buildOn Mac OS X,condainstall--filerequirements-dev.txt

rm-rfbuildcrypto-pair-ffi/target
python3setup.pybdist_wheel# Need to create a ~/.pypirc file firsttwineupload--repositorytestpypidist/*
python3-mpipinstall--index-urlhttps://test.pypi.org/simple/--no-depscrypto-pair

twineuploaddist/*For Linux,dockerrun-it--rm-v$(pwd):/projectsoulmachine/rust:manylinux2014bash

/opt/python/cp36-cp36m/bin/pip3install-rrequirements-dev.txt
rm-rfbuildcrypto-pair-ffi/target
/opt/python/cp36-cp36m/bin/python3setup.pybdist_wheel
auditwheelrepairdist/*linux*.whl--platmanylinux2014_x86_64
/opt/python/cp36-cp36m/bin/twineupload--repositorytestpypiwheelhouse/*Testpython3setup.pydevelop
pytest-s
Package: crypto-pkg
crypto_pkgPackage containing symmetric and asymmetric key ciphers and attacksInstallationpip install crypto-pkgCloned repoIf Installation is done via the GitHub cloned repositorymake setupCiphersAsymmetric Key (PKE)Textbook RSADGVHSymmetric keyAESModified vulnerable version of AES - AES without shift rowsGeffe stream cipherAttacksThe following attacks are on know plain text attacks.Double encryption attack on AESKey recovery on the modified version of AESDivide and conquer attack on Geffe stream cipherCorrelation power analysis on AESUsage examples are provided in the attacks source code filesattacks/block_ciphers/double_encryption.pyattacks/block_ciphers/modified_aes.pyattacks/stream_ciphers/geffe_cipher.pyattacks/power_analysis/correlation_power_analysis.pyFrom CLIcrypto attacks modifiedAES --helpcrypto attacks geffe --helpcrypto attacks AES-double-encryption --helpcrypto attacks correlation-power-analysis --help
Package: crypto_plus
Crypto Plus1. 概览一个易用的加解密、签名、证书工具。
目前已发布到pypi。2. 使用2.1 安装pipinstallcrypto_plus2.2 使用fromcrypto_plusimportCryptoPlus# 目前支持RSA、DSA、ECDSArsa=CryptoPlus.generate_rsa()# dsa = CryptoPlus.generate_dsa()# ecdsa = CryptoPlus.generate_ecdsa()# 加解密plaintext=b'plaintext bytes'ciphertext=rsa.encrypt(plaintext)assertrsa.decrypt(ciphertext)==ciphertext# 签名、验签message=b'message bytes'signature=rsa.sign(message)rsa.verify(message,signature)# 导出自签名证书rsa.dump_cert(subject_name="subject",issuer_name="issuer")# 导入导出文件rsa.dump()rsa_from_file=CryptoPlus.load()3. 开发阅读开发手册.
Package: crypto-pnl
Crypto Trading Realized PnL Calculation (in EUR)Jurisdictions require calculation of the PnL and CGT based off that as per transation basis.This program performs gains calculations for Binance using Trade History and Transaction History.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.