Saravanan666/pypi-org huggingface dataset:
Package: cryptcli
cryptcliDescriptionThe cryptcli is a python package that gives you access to cryptocurrency prices right in your terminal!API Used:coincapLibraries Used:typer,rich,plotext,inquirerInstallation$pipinstallcryptcliUsuageFor a list of commands, type:$crypt--helpTo see specifics of each command, type:$crypt[COMMAND]--helpCommands$crypt[COMMANDS][ARGS][COMMANDS]=info,list,hist,price,livehistFor example, type:$crypthistlitecoinThis command will prompt you to select the interval, use the up and down arrow keys hitting enter to make a selection.
After selecting a 1Y interval, you should see something like this:You can also compare two cryptocurrencies prices at the same time by typing:$crypthist[CRYPTO1][CRYPTO2]priceFor example, type:$cryptpricedogecoinThis command will display the current price of the supplied cryptocurrency argument.
For the example above, you should see this output:listFor example, type:$cryptlist
$cryptlist--num10This command will return a list of cryptos and their corresponding prices. The length of the list depends on the integer argument supplied.
The command above should yeild something like this:infoFor example, type:$cryptinfosolanaThis command returns a basic table of current values about a specific supplied cryptocurrency.
The example command above should show something similar to this:liveFor example, try typing:$cryptinfobitcoinThis command will chart our the live prices of a certain cryptocurrency.
Package: cryptdomainmgr
Crypto Domain ManagerAutomate all your cryptographic needs!GoalsZero downtimeAutomatic certificate renewalSpam protectionUpdated DNS recordsConfigure once and always stay up to date.Use casesRenew letsencrypt certicatesDerive all kinds of data from the signatureEnsure everything is secureExternal Service APIsDomain Certificate:letsencrypt.orgDNS Record Updates:inwx.deLinux ServicesDKIM signatures:rspamdReload systemd services:apache2postfixdovecotrspamdtraefik in DockerManaged DNS RecordsTLSA - forDNS based authentication of named entitiesDANEDKIM - domain keys for email signatures and spam detectionCAA - specify the CADMARC, SPF, ADSP - configure secure DNSNo downtime strategyUpdating keys, certifcates and other needs 3 steps to prevent gaps in availabillity:Prepare: Create certificates, keys etc. and publish corresponding records to DNS.Rollover: Apply new certificates and keys, because now negative cache TTL on DNS is reached.Cleanup: Delete all no more needed stuff from disk and DNS.Needed Plugins and Dependenciesdnsuptools: to interface with DNS API -- updating DNS entriesdehydrated: to get new certificate (included with cryptdomainmgr)rspamd: to create (and use) DKIM keysInstallationThese libraries are needed for pycurl used by dnsuptools for automatic ip retrieving:aptinstall-ylibcurl4-openssl-devlibssl-devThis comman is used by dehydrated to communicate with letsencrypt for certificate renewal:aptinstall-ycurlFor DKIM we need rspamd:aptinstall-ylsb-releasewget# optionalCODENAME=`lsb_release-c-s`wget-O-https://rspamd.com/apt-stable/gpg.key|apt-keyadd-echo"deb [arch=amd64] http://rspamd.com/apt-stable/$CODENAMEmain">/etc/apt/sources.list.d/rspamd.listecho"deb-src [arch=amd64] http://rspamd.com/apt-stable/$CODENAMEmain">>/etc/apt/sources.list.d/rspamd.list
aptupdate
aptinstall-yrspamdNow install the cryptdomainmgr. This pulls all need dependencies.python2-mpipinstallcryptdomainmgrFeel free to try python3, but inwx client doesn't support it.python3-mpipinstallcryptdomainmgrDocumentationWe need help here!For now please look at:German project description and tutorial:https://www.entroserv.de/offene-software/cryptdomainmgrSlides:https://github.com/TheTesla/cryptdomainmgr-talkLook at the configfiles exampleshints:Multiple Configfiles with priority allowedSpecify content of config file content as argumentNext goalsimprove documentationdocker support - partly done, ToDo: label handling needed, daemon mode without external shell stript neededwebsiteautomated tests - partly donensupdate for DNS updatesLong term goals:ARC key renewalWPIA integrationDNSSEC key renewalTXT record (may collide with SPF and other TXT based records)multi server support for one domain: TLSA delete by timeoutconstrain minimum renewal/phase time intervalvalidations - ensure signatures are used correctlyrun as servicePowerDNS supportContributionsIf you like the project feel free to give me a star.
Please let us know if you use this project.All kind of contributions are welcome.
Package: crypteia
crypteiaA crafty coder's content-addressing companion for cascading consistency checks with cryptographic cloak and charm in the cosmic chaos of cyberspace.usagefromcrypteiaimportMultibasing,Multihashing,ToBytes,composeget_hash=compose(ToBytes(),Multihash("sha3-224"),Multibase("base58btc"))data="Hello, World!"digest=get_hash(data)print(digest)# 'z5dbMfGzi9pjjDf5Uv7bVDqgPPMGAkrRDmEqSoVquB'
Package: cryptemis
CryptemisMinimalist symmetric AES image encryption module for paranoids.Installationpip3installcryptemisCommand Line Interpreter (CLI)exportPASS=my_super_password# Encrypt an image.cryptemismy_image.png$PASS# Decrypt an image.cryptemis-dmy_image.png$PASS# Keep filenames same after encryption/decryption.cryptemis-kfnmy_image.png$PASScryptemis-kfn-dmy_image.png$PASSModulefromcryptemisimportCryptemisKEEP_FILENAME=FalsePASSWORD='my_super_password'IMAGE_FILENAME='my_image.png'ENCRYPT=TrueDECRYPT=Falsecryptemis=Cryptemis()cryptemis.img_file_processor(KEEP_FILENAME,PASSWORD,IMAGE_FILENAME,ENCRYPT,DECRYPT)PyPIhttps://pypi.org/project/cryptemis/
Package: cryptenv
cryptenvA Python-based CLI to encrypt and decrypt variables in.envfiles.InstallationUsageExamplesEncrypt and decrypt a single variable in a.envfile:cryptenv.pyencrypt-f.env.myprojectPASSWORD
cryptenv.pydecrypt-f.env.myprojectAPI_TOKENEncrypt all variables in a.envfile:cryptenv.pyencrypt-f.env.myproject--allDecrypt all encrypted variables, if any, in a.envfile:cryptenv.pydecrypt-f.env.myproject
Package: crypterma
cryptermaASCII-chart version of how crypto-currency growsA console application that allows you to see a graph of the Bitcoin price change in any time interval. Also prints the current cost and comparison with yesterday's value.
Almost all currencies are supported.Required Python3.6 and upperinstallation:pip3installcryptermaexamples:crypterma-f2013-10-13-t2017-01-02-cRUB# from 13 October 2013 to 2 January 2017 in Russian Rublescrypterma-f2012-05-20-cUSD# from 20 May 2012 until today in United States Dollarscrypterma-t2015-08-14-cBYR# from beginning to 14 August 2015 in Belarusian Rublecrypterma-m3-d14-cEUR# for the last 3 months and 14 days in Euroscrypterma-d500-cAED# for the last 500 days in United Arab Emirates Dirhamscrypterma-m6-cUZS# for the last 6 months in Uzbekistan Somscrypterma# for the last 2 months in United States Dollarsfor better sensations, open the terminal in full screen mode
Package: cryptfile
General purpose Python encrypted file-like object that facilitates random access IO.  Uses AES encryption in CTR mode.  Can be used with modules such as tarfile, zipfile, lzma, pickle, json and others that accept a file-like object as an alternative to a path.  Supports binary IO modes only.Examplesimport cryptfile

with cryptfile.open('data.bin', 'wb+', aes_key=b'256 bit key', block_num=5000) as f:
    f.write(b'Hello, World!')
    f.seek(0)
    print(f.read())

Result:
b'Hello, World!'Documentationcryptfile.open(file, mode, aes_key=None, block_num=10000)Returns a CryptFile object for a specified file.filecan either be a string containing a valid path, or a file-like object.Supportedmodevalues are:wb, wb+, rb, rb+, ab, ab+.256 bit binaryaes_keyis used for en/decryption, or if none is provided for a new file, a random key is generated and is retrievable with the.aeskeyproperty.block_numsets the number of 16 byte AES blocks per cryptfile block for new files.  Each cryptfile block stores its own 8 byte nonce value, and is re-written in whole if any part of the block is altered.  Largerblock_numvalues optimize for more sequential IO, whereas smaller values optimize for smaller random IO that jumps around the file.  This argument is not needed for opening existing files.DependenciesPyCryptodome for AES encryptionInstallationpip install cryptfile
Package: crypthon
crypthonpython command line tool that helps sharing and storing securely python source code files          thanks to a simple and yet very strong and resilient string encryption. It also provides an obsfucation with decryption at runtime.
python command line tool that helps sharing and storing securely python source code files thanks to a simple and yet very strong and resilient string encryption. It also provides an obsfucation with decryption at runtime.crypthonV1.0: a python command line tool that helps sharing and storing securely python source code files
thanks to a simpleand yet very strong and resilient string encryption.
It also provides an obsfucation with decryption at runtime.Author:Gilda Bansimbausage: crypthon [option]Options and arguments. All default python interpreter options and arguments also work.-check: checks for a shared file integrity located in the same directory with its text file signature.> e.g.crypthon -check locked_file1.py-loc:   locks a file with the given key from which is randomly generated a one time pad security key.> e.g.crypthon -loc file.py passwordNOTE: file can be replaced by any of the following:- a list of python files.e.g:crypthon -loc file1.py file2.py password-.: for all python files in the current working directory.e.g.crypthon -loc . passowrd- * : for all python files in the current working directory and its subdirectories or subfolders.e.g.crypthon -loc * password- *** : for all python source files stored on the entire disc partition.e.g.crypthon -loc *** password-unloc: unlocks a locked file with the given password from which is randomly generated a one time pad security key.> e.g.crypthon -unloc file.py passwordNOTE: all of the above mentioned parameters still apply.-keygen: displays the generated one time pad security key from the given password for the given file.> e.g.crypthon -keygen file.py password-True:  locks or unlocks the python file without keeping a copy of the original plaintext file or encrypted source file.> e.g.crypthon -loc file.py password -Truecrypthon -loc file.py password -False-Share: creates a folder with prefix SHARE_ containing the locked file (s) and text file (s) containing its (their) signature (s).For more info oncrypthonor to report a bug or view the entire source code of crypthon
Package: cryptic-game
python3-libThe library that is used for microservices of the backend for the Cryptic game that are written in Python.PyPI package:https://pypi.org/project/cryptic-game/Installation:$pip3installcryptic-gameFeaturesEndpoint mappingAutomatic input validationDatabase control with SQLAlchemyAutomatic error capturing with Sentry and a loggerQuick StartCheckoutexample.pyfor a quick example on how this library is used.RequirementsRequired are all modules in therequirements.txt(which will automatically be installed by pip).Environment VariablesVariableFunctionalityMODEAvailable: debug and productionSERVER_HOSTHostname of the main serverSERVER_PORTMicroservice communication port of the main serverDATA_LOCATIONSQLite database file locationDBMSDatabase management system; Available: mysql and sqliteSQLITE_FILEName of the SQLite database file (only used if DBMS is sqlite)MYSQL_HOSTNAMEHostname of the MySQL serverMYSQL_PORTPort of the MySQL serverMYSQL_DATABASEName of the MySQL database to useMYSQL_USERNAMEMySQL username to useMYSQL_PASSWORDThe password of the MySQL userPATH_LOGFILEPath where your log-files will be stored toDSN"Data Source Name" of your Sentry instanceRELEASEThe release that will be reported to SentryTest it!Your microservice will be supported by thegame-server of cryptic.WikiVisit ourwikifor more information.
Package: cryptic-sdk
Cryptic SDKACryptic GameSDK Library for PythonInstallationpip install cryptic-sdkExamplefromcryptic_sdkimport*USERNAME='Username'PASSWORD='Password'myclient=Client('wss://ws.cryptic-game.net:443/')print(myclient.request({"action":"status"}))print(myclient.login(USERNAME,PASSWORD))devices=myclient.ms('device',['device','all'],{})print(devices)print(myclient.ms('device',['device','info'],{'device_uuid':devices['devices'][0]['uuid']}))print(myclient.logout())DocsIn Progess:Cryptic SDK Docs
Package: cryptide
CryptideThis Python package gonna help you in CTF of cryptographyInstallation$ pip install cryptideAll function are here :ASCIIget_ascii_readable_statget_unascii_statunascii_stoperascii_readable_stoperBytesbytes_representationICIndex of coincidencecompute_ictext="""Demain, dÃ¨s l'aube, Ã  l'heure oÃ¹ blanchit la campagne,Je partirai. Vois-tu, je sais que tu m'attends.J'irai par la forÃªt, j'irai par la montagne.Je ne puis demeurer loin de toi plus longtemps.Je marcherai les yeux fixÃ©s sur mes pensÃ©es,Sans rien voir au dehors, sans entendre aucun bruit,Seul, inconnu, le dos courbÃ©, les mains croisÃ©es,Triste, et le jour pour moi sera comme la nuit.Je ne regarderai ni l'or du soir qui tombe,Ni les voiles au loin descendant vers Harfleur,Et quand j'arriverai, je mettrai sur ta tombeUn bouquet de houx vert et de bruyÃ¨re en fleur.Victor Hugo - Les Contemplations"""compute_ic(text,beautifier=True)# 0.06934214326978624The option beautifier gonna asciifier your input data.
for exemple this text will be reformat in :text="""demain, des l'aube, a l'heure ou blanchit la campagne,je partirai. vois-tu, je sais que tu m'attends.j'irai par la foret, j'irai par la montagne.je ne puis demeurer loin de toi plus longtemps.je marcherai les yeux fixes sur mes pensees,sans rien voir au dehors, sans entendre aucun bruit,seul, inconnu, le dos courbe, les mains croisees,triste, et le jour pour moi sera comme la nuit.je ne regarderai ni l'or du soir qui tombe,ni les voiles au loin descendant vers harfleur,et quand j'arriverai, je mettrai sur ta tombeun bouquet de houx vert et de bruyere en fleur."""checker_icUse it to stop your BF when the data can be the good datachecker_ic(0.038)# Nonechecker_ic(0.078)# Truewhat_ic
This function will find the language of the index of coincidence give in inputwhat_ic(0.08)# DUTCHchecker_and_compute_iclist_aggregation
Package: cryptidy
cryptidyPython high level library for symmetric & asymmetric encryptionThis library has been written to make encryption / decryption of any python object as simple as possible, while keeping the encryption solution secure.
It is based on pycryptodomex AES and RSA encrpytion implementations.It's main features are:Encrypt any pickable Python object / variable / blobAdd an UTC timestamp to the encrypted messageVerify that decrypted messages timestamps aren't in the future or too old (for bad RTC clock diags)Allow symmetric encryption (AES-EAX mode)128, 192 or 256 bits encryptionAllow asymmetric encryption (RSA encryption with SHA384 hash algorithm and above AES encryption)1024, 2048 or 4096 bits RSA encryption with AES-256 session encryptionProvide the encypted data as base64 string for maximum portability between platforms and encodingsUnload AES key from memory as soon as possible to help prevent memory attacksSetupcryptidy requires Python 2.7+pip install cryptidySymmetric encryption usagefrom cryptidy import symmetric_encryption

key = symmetric_encryption.generate_key(32)  # 32 bytes == 256 bits

some_python_objects = ['foo', 'bar'], 'some long string', 12
encrypted = symmetric_encryption.encrypt_message(some_python_objects, key)
timestamp, original_object = symmetric_encryption.decrypt_message(encrypted, key)Asymmetric encryption usagefrom cryptidy import asymmetric_encryption

priv_key, pub_key = asymmetric_encryption.generate_keys(2048)  # 2048 bits RSA key

some_python_objects = ['foo', 'bar'], 'some long string', 12
encrypted = asymmetric_encryption.encrypt_message(some_python_objects, pub_key)
timestamp, original_object = asymmetric_encryption.decrypt_message(encrypted, priv_key)
Package: cryptik
Aboutacliapplication for displaying the current price of a cryptocurrency, designed (but not limited) to be ran in conky. cryptik supports multiple exchanges and multiple currencies.Please see the project wiki for supported currencies and supported exchanges or to request new currencies/exchanges.NOTICESthis app uses tomli for toml parsing, python 3.11 has tomllib included which we will move to at some point in the near future. We realize this could be a large burden on users so we have delayed this task until python 3.11 is more widely used.Latest Changesreplaced black, flake8, isort with ruffupgraded packages: types-python-dateutiladd modified [date] to --version & standardize version metadataremoved config module as it is not needed/usedRequirementspython3InstallWe recommend usingpipxto install cryptik:pipx install cryptik. You can also install via pip:pip install --user cryptik.cryptik uses a config file to store your setup. This file contains information such as the exchange(s) to use. You can grab the sample config file fromcryptik/example/config.tomland place it in~/.config/cryptikas this is where cryptik looks for the file by default or you can place it anywhere you like and use the--config-fileparameter to specify the location.Usagecall cryptik from command line:cryptik -e BITSTAMP -t BTCshow full response:cryptik.py -d fulllist all available exchanges:cryptik.py -lget help on cryptik:cryptik.py -hexample conky usage (note: this will show prices from two exchanges):CRYPTIK
  ${texeci 600 cryptik -e KRAKEN -t BTC}
  ${texeci 600 cryptik -e BITSTAMP -t BTC}Example Responsedirect call:$ cryptik -e BITSTAMP -t BTC
BTMP:BTC $9711.24 @12:33
Package: cryptlex.lexactivator
cryptlex.lexactivatorCryptlex lets you license your software apps effortlessly. You can easily generate license keys using the REST API or Dashboard and validate the license keys in your software apps using LexActivator (Cryptlex client library).Additionally, you can offer trials, subscriptions, floating licenses and much more.cryptlex.lexactivatoris a Python wrapper for LexActivator licensing library.Installationpip install cryptlex.lexactivatorThen you can include it in your code:from cryptlex.lexactivator import LexActivator, LexStatusCodes, PermissionFlags, LexActivatorExceptionUsageRefer to following for documentation:https://docs.cryptlex.com/node-locked-licenses/using-lexactivator/using-lexactivator-with-python
Package: cryptlex.lexfloatclient
cryptlex.lexfloatclientCryptlex lets you license your software apps effortlessly. You can easily generate license keys using the REST API or Dashboard and validate the license keys in your software apps using LexActivator (Cryptlex client library), implement floating licenses using LexFloatClient library.Additionally, you can offer trials, subscriptions, floating licenses and much more.cryptlex.lexfloatclientis a Python wrapper for LexFloatClient licensing library.Installationpip install cryptlex.lexfloatclientThen you can include it in your code:from cryptlex.lexfloatclient import LexFloatClient, LexFloatStatusCodes, LexFloatClientExceptionUsageRefer to following for documentation:https://docs.cryptlex.com/floating-licenses/on-premise-floating-licenses/using-lexfloatclient/using-lexfloatclient-with-python
Package: cryptlex-python-sdk
cryptlex-python-sdkA client library for accessing Cryptlex Web APIUsageFirst, create a client:fromcryptlex_web_api_clientimportClientclient=Client(base_url="https://api.example.com")If the endpoints you're going to hit require authentication, useAuthenticatedClientinstead:fromcryptlex_web_api_clientimportAuthenticatedClientclient=AuthenticatedClient(base_url="https://api.example.com",token="SuperSecretToken")Now call your endpoint and use your models:fromcryptlex_web_api_client.modelsimportMyDataModelfromcryptlex_web_api_client.api.my_tagimportget_my_data_modelfromcryptlex_web_api_client.typesimportResponsemy_data:MyDataModel=get_my_data_model.sync(client=client)# or if you need more info (e.g. status_code)response:Response[MyDataModel]=get_my_data_model.sync_detailed(client=client)Or do the same thing with an async version:fromcryptlex_web_api_client.modelsimportMyDataModelfromcryptlex_web_api_client.api.my_tagimportget_my_data_modelfromcryptlex_web_api_client.typesimportResponsemy_data:MyDataModel=awaitget_my_data_model.asyncio(client=client)response:Response[MyDataModel]=awaitget_my_data_model.asyncio_detailed(client=client)By default, when you're calling an HTTPS API it will attempt to verify that SSL is working correctly. Using certificate verification is highly recommended most of the time, but sometimes you may need to authenticate to a server (especially an internal server) using a custom certificate bundle.client=AuthenticatedClient(base_url="https://internal_api.example.com",token="SuperSecretToken",verify_ssl="/path/to/certificate_bundle.pem",)You can also disable certificate validation altogether, but beware thatthis is a security risk.client=AuthenticatedClient(base_url="https://internal_api.example.com",token="SuperSecretToken",verify_ssl=False)Things to know:Every path/method combo becomes a Python module with four functions:sync: Blocking request that returns parsed data (if successful) orNonesync_detailed: Blocking request that always returns aRequest, optionally withparsedset if the request was successful.asyncio: Likesyncbut the async instead of blockingasyncio_detailed: Likesync_detailedby async instead of blockingAll path/query params, and bodies become method arguments.If your endpoint had any tags on it, the first tag will be used as a module name for the function (my_tag above)Any endpoint which did not have a tag will be incryptlex_web_api_client.api.default
Package: cryptmoji
🐱‍👤 CryptmojiA simple emoji-based encryption-decryption library.📥 Installationpip install the library:pipinstallcryptmoji📝 UsagefromcryptmojiimportCryptmojitext="Hello World!"key="random_key"# makes the encryption stronger (optional)a=Cryptmoji(text,key=key)# The encrypt and decrypt functions return the valueencrypted=a.encrypt()print(encrypted)# 🎚️🎨🎼🎲🏀🍯🎓🎼🎹🏂🎸🍤# The encrypt and decrypt functions change the value in-place tooa.decrypt()print(decrypted)# Hello World!
Package: crypto
Documentation:http://chrissimpkins.github.io/crypto/Descriptioncrypto provides a simple interface to symmetric Gnu Privacy Guard (gpg) encryption and decryption for one or more files on Unix and Linux platforms.  It runs on top of gpg and requires a gpg install on your system.  Encryption is performed with the AES256 cipher algorithm.Benchmarks relative to default gpg settings are available for text and binary file mime types.crypto provides a number of options including automated tar archives of multiple files prior to encryption, portable ASCII armored encryption formatting, and SHA256 hash digest generation for your encrypted files.  You can view all available options in theusage documentationor with the--helpoption.Tested in cPython 2.7.x, 3.4.x, and pypy 2.6.x (Python version 2.7.9)InstallInstall withpipusing the command:$pipinstallcryptoordownload the source repository, unpack it, and navigate to the top level of the repository.  Then enter:$pythonsetup.pyinstallUpgradeYou can upgrade your crypto version with the command:$pipinstall--upgradecryptoUsageEncryption (crypto)$crypto<options>[filepath]<filepath2...>$crypto<options>[directorypath]<directorypath2...>Decryption (decrypto)$decrypto<options>[filepath]<filepath2...>$decrypto<options>[directorypath]<directorypath2...>You can find all available options in thedocumentationor by using one of the following commands:$crypto--help$decrypto--helpFrequently Asked QuestionsFAQ linkIssue ReportingIssue reporting is available on theGitHub repositoryChangelogChangelog link