Saravanan666/pypi-org huggingface dataset:
Package: cryptrooper
CryptrooperA module that can endode and decode your text with your given key.FeaturesNo additinal installation required.Can work on any system with python >= 3.8Can encode and decode text of any language.Can encode and decode emoticons and symbols also.InstallationInstall cryptrooper with git-clonegitclonehttps://github.com/sprin-g-reen/cryptroopercdcryptrooperDocumentationInstall the cryptrooper in your working directory.Cryptois a class in the__init__.pyfile at the directorycryptrooper.Parameters:textThe text you want to encode or decode.keyThe key to encode or decode the text with.Functions:encodeThe function that encodes your text with your key.returns aDICTlike the below one:{"key":"Your Key","encoded":"The encoded text","decoded":"The decoded text","result":"The encoded text","error":None}The error is None if no error, else it contains the class of raised error.decodeThe function that decoded your encoded text with your key.returns aDICTlike the below one:{"key":"Your Key","encoded":"The encoded text","decoded":"The decoded text","result":"The decoded text","error":None}The error is None if no error, else it contains the class of raised error.Example of encoding:fromcryptrooperimportCrypto# `Crypto` is a class.text="The text you want to encode."key="The key."# passing the text and key to Cryptoins=Crypto(text,key)# getting the result which is of type `dict`result=ins.encode()print(result)# this prints:# {#     'key': 'The key.',#     'encoded': '168 208 202 64 223 202 241 200 \136 222 143 224 133 240 181 214 217 64 223 212 153 185 214 200 143 207 202 167',#     'decoded': 'The text you want to encode.',#     'result': '168 208 202 64 223 202 241 200 136 222 143 224 133 240 181 214 217 64 223 212 153 185 214 200 143 207 202 167',#     'error': None# }Example of decoding:fromcryptrooperimportCrypto# `Crypto` is a class.text="183 212 212 149 214 215 232 149 204 223 143 215 207 225 212 163"key="cloud"# passing the text and key to Cryptoins=Crypto(text,key)# getting the result which is of type `dict`result=ins.decode()print(result)# this prints:# {#     'key': 'cloud',#     'encode': '183 212 212 149 214 215 232 149 204 223 143 215 207 225 212 163',#     'decode': 'The sky is blue.',#     'result': 'The sky is blue.',#     'error': None# }Authors@Parvat-web-dev@RohithsreedharanContributingContributions are always welcome!
Contact@Parvat_Rfor Contributions.
Package: crypt-utilities
Cryptographic utility packageAn easy and simplified cryptographic utility package (fernet, RSA, hashes...) with some
common encryption stuff already programmed (very simple and with common secure parameters by default).
It uses the 'cryptography' moduleInstallationpip install crypt-utilitiesModulesSymmetricdef encrypt ...
def encrypt_file ...
def decrypt_file ...Hashesdef derive(data:bytes, salt:bytes, length:int=32, iterations=400000) -> bytes:...Asymmetricdef rsa_encrypt (...
def generate_rsa_key_pairs (...
def generate_private_key (...
def serialize_pem_public_key (...
def load_pem_private_key (...Usage Example# Encrypt with RSA (asymmetric)
# -- John
secret_msg = "Very secret msg to send"
public_key = load_pem_public_key(file_path="./public_key")
encrypted:bytes = rsa_encrypt(secret_msg.encode(), public_key)
...
# Decrypt with RSA (asymmetric)
# -- Michael
private_key_path = str(input(" -> Introduce your private key file path: "))
password = str(input(" -> Introduce the private key password (blank if None was used): "))
if password == "":
    password = None
try:
    private_key = load_pem_private_key(file_path=private_key_path, password=password)
except :
    print("[!] Wrong Password"); exit(1)
secret_msg_sent_by_john = rsa_decrypt(encrypted, private_key).decode()
Package: cryptux
cryptuxA simple wallet for cryptocurrencies that can:Create, import, export accountsSign transactionsUsageThe interactive toolcryptuxis meant to be simple:$ cryptux
usage: cryptux [-h] [-t {BITCOIN}]

optional arguments:
  -h, --help            show this help message and exit
  -t {BITCOIN}, --coin-type {BITCOIN}
                        coin type to generate account address forAt the moment of writing, only Bitcoin is supported. Ethereum account support is coming soon.Developer GuideBefore trying to runtools/cryptuxlocally, make sure it uses local libraries by running:pythonsetup.pydevelopIt’s highly recommended that you use the packagevirtualenvwrapper.To test the changes without publishing to PyPI, force pip to install from local dir:pipinstall-e/path/to/cryptuxPublishing to test PyPI can be done via this command:pythonsetup.pysdistupload-rtestpypiUseflake8to detectPEP8violations and format code nicely usingyapf-i, do check the projectYAPF.BitcoinThere are 3 ways to generate a Bitcoin address withcryptux:Generate from private key in HEXGenerate from private key in WIF formatGenerate private key offline and derive account addressA sample session would go like this:$ cryptux -t BITCOIN
Private key format (WIF/HEX/NEW): new
Network type (MAINNET/TESTNET): mainnet
Public key format (COMPRESSED/UNCOMPRESSED): compressed
================================================================
Remember to protect the Private Key!
================================
Private Key in HEX: 7161B2F99B4F0DB740C27A35B55FDDAE0FD90A8C23789291106667D29F1859F6
Private Key in WIF: L127LBiTmhFXoXsz1qymwNrbsmk1s71kBycoi5VH3i22tDekzYY1
================================================================
Network type: MAINNET
Public key format: COMPRESSED
Generated Bitcoin address: 193GxFgNCtpvsYPnWErEvXNETgGiJ7HG5F
================================================================
Package: cryptwentyone
Cryptwentyone[0.5.1]Cryptwentyone is a simple python package that provides simple cryptographic and hashing functions. They are written in
pure python and C, so you can take a look at the python code if you want to learn about the algorithms or use the
compiled C code if you want to use the functions in your own programs and have a good performance.The Package is under development and is not yet ready for use.Support me
bydonatingor by contributing(Fork the repo.
Add your code. Submit a pull request.) or just give this repository a star.Available FeaturesPython Implementation of MD5 hashing algorithmPython Implementation of SHA1 hashing algorithmPython Implementation of SHA2(SHA224, SHA256, SHA384, SHA512) hashing algorithmAny idea? Feel free toopen an issueor submit a pull
request.InstallationWell, this is a python package so the first thing you need is python.If you don't have python installed, please visitPython.organd install the latest version of
python.Then you can install cryptwentyone using pip module:# Use this command to download the latest version from pypi.org and install it automaticallypython-mpipinstallcryptwentyone-U# OR# Download the release file from GitHub: https://github.com/MPCodeWriter21/cryptwentyone/releases# And install it using this commandpipinstallcryptwentyone-x.x.x.tar.gzOr you can clonethe repositoryand run:pythonsetup.pyinstallAboutAuthor: CodeWriter21 (Mehrad Pooryoussof)GitHub:MPCodeWriter21Telegram Channel:@CodeWriter21Aparat Channel:CodeWriter21Licenseapache-2.0DonateIn order to support this project you can donate some crypto of your choice 8DDonate AddressesOr if you can't, givethis projecta star on GitHub :)
Package: cryptwood
cryptwood用于保护隐私数据的加密工具安装可以使用pip安装：python3-mpipinstallcryptwood概述通过这个工具，可以快速的序列化一个python对象并对其进行加密，然后存储在
与项目中的代码目录下。这时，就可以将存在于代码中的对象删除。在希望使用这个对象
的时候只需要解密并反序列化即可。通过这样的方式，可以避免敏感信息（或者是一切不希望别人看到的信息）不用直接出现在
代码中，也不用明文出现在项目文件中。被序列化并加密的对象可以是任何类型，包括自定义的类。如果使用自定义类的对象，
在解密时需要保证类存在。这个这个工具使用了AES256算法对数据进行对称加密。
加密过程中随机产生秘钥和初始向量。 这些文件将被存储在~/.cryptUserDataKey中。此工具会在项目目录下创建config.ini（如果此文件存在则会直接使用）文件。并再此文件中保存key和iv的存储位置。使用场景当你需要向同学，老师等人展示项目或交作业时（或者仅仅为了安全），使用此工具加密你的信息。
比如加密你的数据库username,passwd,host等信息。当你需要向客户展示项目时，使用此工具加密一个关键的对象，
使这个项目只能在你的电脑，或者只有你进行授权以后才能运行。函数cryptwood.dataCrypter.decrypt(object):加密object对象并在代码目录下生成加密过的序列化文件.cryptUserData，没有返回值。生成的key和iv文件存储在~/.cryptUserData文件夹下。文件名为调用此工具的代码
所在位置的上级目录+"key"或"iv"。cryptwood.dataCrypter.decrypt():
解密.cryptUserData并反序列化，返回一个对象。cryptwood.setPath(rowCustomPath):
用户可以设置key和iv的存储位置。注意的是:rowCustomPath必须是准确的路径，
也就是说'/'一类的特殊字符必须被转义，也就是写成'//'。或者使用r"..."将字符串修饰为row的。cryptwood.getCustomPath():
允许用户查询key和iv的存储位置。TODO提供使用ssh将key和iv保存在远程服务器的方法，以便于更高的安全性，以及作者
向用户提供实时的代码授权以保护作者权益。提供同时间加密多个类的方法提供将key和iv存储在数据库中的方法以便于更高的安全性，以及作者
向用户提供实时的代码授权以保护作者权益。
Package: crypy-coins
crypto-coinsA simple python lib for get info about crypto-moneys, using thehttps://coincap.io/API.functions :get_top_list():
return the more expensive crypto-moneys, in orderfromcryppy_coinsimportget_top_listprint(get_top_list())result :>>['bitcoin','ethereum','binance-coin','xrp','tether','cardano','dogecoin','polkadot','uniswap','litecoin','bitcoin-cash','chainlink','solana','usd-coin','theta','stellar','filecoin','wrapped-bitcoin','binance-usd','monero','terra-luna','neo','iota','eos','cosmos','aave','bitcoin-sv','crypto-com-coin','bittorrent','maker','tezos','multi-collateral-dai','algorand','huobi-token','compound','kusama','thorchain','elrond-egld','dash','nem','decred','zcash','matic-network','chiliz','hedera-hashgraph','enjin-coin','decentraland','zilliqa','synthetix-network-token','digibyte','basic-attention-token','siacoin','theta-fuel','yearn-finance','uma','sushiswap','waves','blockstack','horizen','qtum','ontology','icon','celo','harmony','0x','bancor','swissborg','reserve-rights','xinfin-network','ankr','omg','kucoin-shares','fantom','dent','iostoken','ren','verge','bitmax-token','vethor-token','livepeer','loopring','lisk','kyber-network','nervos-network','origin-protocol','storj','ocean-protocol','nxm','maidsafecoin','augur','golem-network-tokens','electroneum','iotex','wink-tronbet','nkn','ardor','trustswap','fetch','singularitynet','aragon']theindex 0is the more expensive crypto-money, and theindex 1the second, etc.get_money_by_rank(rank=1):
return the money who has the rank number (ex : bitcoin = 1)fromcryppy_coinsimportget_money_by_rankprint(get_money_by_rank(3))result :>>binance-coinget_rank_by_money(money='bitcoin):
return the rank of a moneyfromcryppy_coinsimportget_rank_by_moneyprint(get_rank_by_money('stellar'))result :>>16get_money_info(money_name='bitcoin'):
return the info of a moneyfromcryppy_coinsimportget_rank_by_moneyprint(get_money_info(money_name='qtum'))result :>>{'data':{'id':'qtum','rank':'61','symbol':'QTUM','name':'Qtum','supply':'98315664.7260568000000000','maxSupply':'107822406.0000000000000000','marketCapUsd':'1310840549.9845289385242708','volumeUsd24Hr':'207679800.6994329166665946','priceUsd':'13.3329775436804244','changePercent24Hr':'8.2445673627018140','vwap24Hr':'12.6877319745330286','explorer':'https://qtum.info/'},'timestamp':1619433969660}get_history(money='bitcoin', interval='d1'):
return the history of the money, with interval (m1, m5, m15, m30 / h1, h2, h6, h12 / d1 ; m = month, h = hour, d = day)fromcryppy_coinsimportget_historyprint(get_history('solana','d1'))result :https://bin.readthedocs.fr/ominal.py(the output is very long)get_markets(money='bitcoin'):
return last transactions of a moneyfromcryppy_coinsimportget_marketsprint(get_markets('bitcoin'))result : too long for bin too, try it your self !get_rates(money=None):
return rates of a money or off all the moneys (when money isNone)get_exchanges(money=None):
return exchanges of a money or off all the moneys (when money isNone)
Package: crypyto
crypyto [kri-pahy-toh] is a Python package that provides simple
usage of cryptography tools and ciphers on your programs.Check thecomplete docs!Getting StartedThese instructions will get you a copy of the project up and running on
your local machine for development and testing purposes.DependenciesPython >= 3.5Python packages (no need to worry if you use pip to install crypyto):unidecodeto normalize stringsPillowto handle imagesInstallingThe easiest way to install crypyto is by using pip:pip install crypytoYou can also clone this repository using gitgit clone https://github.com/yanorestes/crypyto.gitUsageCiphers crypyto supports:Polybius SquareAtbashCaesar CipherROT13Affine CipherRail Fence CipherKeyword CipherVigenère CipherTODO Ciphers:BEAUFORTPORTAGRONSFELDAUTOKEYBACONCHAOCIPHERADFGVXPLAYFAIRFOUR-SQUAREONE-TIME PADBIFIDHILL CIPHERENIGMASubstitution Alphabets crypyto supports:Morse CodePigpen CipherTemplar CipherBetamaze AlphabetTODO Substitution Alphabets:ASLBSLFlag semaphoreBinaryHexadecimalOctalL33TSP34KT9Base64BrailleTODO Features:Cipher identifierAuto decoderAuthorsYan Orestes-Initial work-yanorestesLicenseThis project is licensed under the MIT License - see theLICENSEfile
for details
Package: cryspy
CrysPyis a crystallographic python library for polarized neutron diffraction data analysis.
The package allows the data treatment both for powders and single-crystal samples. Nuclear and (commensurate) magnetic structures refinement can be also perfomed based on the unpolarized neutron diffraction and X-ray diffraction data.FeaturesCrysPy allows one to analyse the local magnetic anisotropy by the susceptibility approach  and the spin/magnetization densities reconstruction by maximume entropy procedure based on polarized neutron diffraction experiments;Core CIF dictionary of the  IUCr is used to cover the requirements of archiving and exchanging the data and derived magnetic and structural results;The library is written in Python. It can be used in Jupyter notebooks under the main platforms Windows, MacOSX and Linux or as a standalone application with a simple graphical user interface “CrysPy Editor”.For more information please visit the sitecryspy.fr.TryCrysPy in a Web Browserbefore installing it on your PC.Copyright and LicenseMIT LicenseCopyright (c) 2018-2020 Iurii Kibalinhttps://github.com/ikibalin/cryspyPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: crystal
CrystalA realtime plotting and project management library built using PlotlyWhat can it do?Crystal is an alternative to the amazingly useful visualization toolTensorboardwith some additional features that
make it useful not just for Machine Learning but, in any project that needs realtime data
visualizations. You can include realtime plots in your python (more languages to come) easily
with just two line of code.Some features provided by crystal include;Centralized database to store the results of all projects.Easy way to download results from the database if needed.Plots supported include scalar, histogram and images with more to come.To get started just install crystal using pip as follows:$pipinstallcrystalThe installation adds a path to crystal script toPATHvariable on linux which allows you to run
the crystal dashboard from any directory as follows:$crystalNote:If you install it on a virtual environment then you will only be able to run it only when
the environment is activated.Here's how you'd plot a sine wave using crystal:"""realtime_sinewave.py"""importtimeimportnumpyasnpfromcrystalimportCrystalcr=Crystal(project_name="Realtime_sine")x_range=np.arange(0,1000,0.1)foriinx_range:value=np.sin(2*np.pi*i)cr.scalar(value=value,step=i,name="sine_wave")print("step:{}\tvalue:{}".format(i,value))time.sleep(1)# one value a secondLet's have a closer look at some of the functions used in the above code:cr = Crystal(project_name=..)creates a new project in the database, if no project
name is provided then, the script name is used as the project name.cr.scalar(value=..)plots a scalar value and takes three parameters,valuestores the y-axis value which in this case is the sin output,stepsaves
the x-axis value andnameprovides a title for the plot.Each run in a project is assigned a unique run id that contains the time stamp.
You can see them in the terminal and also the dashboard (described below).All the data is stores under~/Crystal_data/crystal.db.Output:Run$crystaland select a project and run name. You will see a plot that looks something like
this:Crystal Dashboard in actionWhere can I learn more?Docs are still being worked on. Feel free to contribute in documenting the usage!Built WithPlotly- Graphing libraryFlask- Microframework used to build the dashboard backendMaterial Design for Bootstrap- Styling the dashboardContributingPlease readCONTRIBUTING.mdfor details on our code of conduct, and the process for submitting pull requests to us.VersioningWe useSemVerfor versioning. For the versions available, see thetags on this repository.AuthorsNaresh Nagabushan-Initial work-naresh1318See also the list ofcontributorswho participated in this project.LicenseThis project is licensed under the MIT License - see theLICENSE.mdfile for detailsAcknowledgmentsInspired byTensorboard
Package: crystalaudio
CrystalAudioCrystalAudio is a Python package that provides a simple way to play audio files on different operating systems without displaying any player windows. It utilizes system-specific methods to achieve smooth audio playback.InstallationYou can install CrystalAudio using pip:
pip install crystalaudioUsageCrystalAudio supports Windows, Linux, and MacOS. It automatically detects the operating system and plays the audio file using the appropriate method.NoteOn Windows, CrystalAudio uses the ctypes library to control audio playback.
On Linux, CrystalAudio relies on the aplay utility for audio playback.
On MacOS, CrystalAudio utilizes the afplay utility for audio playback.
Package: crystal-ball
If you have hundreds of csvs you need to quickly digest and understand,
you can use crystal-ball to help with the onboarding and data
exploration phase of your project. You will be able to immediately dive
into an expansive data set without getting lost.CrystalBall Featuresfind specific columns and tables you may be interested in, but may
have otherwise not known where to look.walk through connections between different csvs,compare and establish foreign key and primary key relationships by
using simple boxplotsdynamically create a master table of useful information while
simultaneously recording your step-by-step process for future
reference.Installation and Usagepip install crystal-ball</programlisting>
You can start using CrystalBall right away by importing it and
initializing it with a relative directory containing the CSVs.import crystalball as cb

ball = cb.run("insert relative directory here")MethodsNote that all methods that involve searching via keynames are case
sensitive.cb.contains(keywords: list, all_colnames: list=None) → listCheck if keywords exist in all_colnames.cb.featureSearch(keywords: list, all_colnames: list=None) → listFind the columns that contain the keywords.cb.tableSearch(keywords: list, csvname_to_colnames_list=None, mode: str=UNION) → listFind the tables that contain the keywords.cb.openTable(rel_dir: str, indices: list=[0]) → DataFrameOpen the csv that is referenced by the given relative directory.cb.subTable(supertable: DataFrame, chosen_index: list, chosen_columns: list) → DataFrameCreate a subtable from a supertable.cb.mergeTables(tables: list) → DataFrameSequentially merge a list of tables that all share a common index.cb.analyzeRelationships(to_analyze: list, visualize: bool=True) → DataFrameAnalyze basic stats of one or more different Series.compareRelationship(to_analyze1: Series, to_analyze2: Series, visualize: bool=False) → DataFrameCompare and contrast the difference between two Series.cb.export(df_to_export: DataFrame, write_to: str, export_type: str=CSV) → NoneExports contents of dataframe to relative location specified by
write_to arg.
Package: crystalbleu
CrystalBLEUInstallInstall the requirements:pipinstallcrystalbleuUsagefromcollectionsimportCounter# Import CrystalBLEUfromcrystalbleuimportcorpus_bleu# Extract trivially shared n-gramsk=500frequencies=Counter(tokenized_corpus)trivially_shared_ngrams=dict(frequencies.most_common(k))# Calculate CrystalBLEUcrystalBLEU_score=corpus_bleu(references,candidates,ignoring=trivially_shared_ngrams)
Package: crystal-builder-step
Crystal Builder StepDescriptionA SEAMM plug-in for building crystals from prototypes. This plug-in
provides an interface to theAFLOW Encyclopedia of Crystallographic
Prototypes. Users can specify the prototype, elements to place in
the positions, as well as the lattice parameter, creating a crystal
for subsequent editing and building steps and for simulations using
the range of codes supported by SEAMM.Free software: BSD-3-ClauseDocumentation:https://molssi-seamm.github.io/crystal_builder_step/index.htmlFeatures590 crystal prototypes.Selection by common prototypes, such as FCC, BCC, and DiamondSelection by Strukturbericht designation.Searching by number of atomice sites in the prototype.Specification of elements for each site in a prototype.Specification of cell parameters to override the defaults.CreditsThis package was created withCookiecutterand themolssi-seamm/cookiecutter-seamm-pluginproject template.Developed by the Molecular Sciences Software Institute (MolSSI),
which receives funding from theNational Science Foundationunder
award OAC-1547580 and CHE-2136142.History2020.12.4 (4 December 2020)First working release on PyPI.2021.2.2 (2 February 2021)Internal ReleaseCompatible with the enhance version of MolSystem classes.2021.2.10 (10 February 2021)Updated the README file to give a better description.Updated the short description in setup.py to work with the new installer.Added keywords for better searchability.