Saravanan666/pypi-org huggingface dataset:
Package: encrypt-storage
Позволяет шифровать и хранить файлы в облачном хранилищеИспользуется потоковое шифрованиеДоступные хранилища:Yandex.Disk (sync/async)AWS S3 (sync/async)УстановкаПоддержка только яндекс дискаpipinstallencrypt-storageС поддержкой AWS S3pipinstallencrypt-storage[aws]ПримерСинхронное использованиеfromencrypt_storageimportYandexDiskStorage# Замените 'YOUR_ACCESS_TOKEN' на ваш токен Яндекс.Диска# Замените 'YOUR_ENCRYPTION_KEY' на ваш ключ шифрованияyandex_disk=YandexDiskStorage("YOUR_ACCESS_TOKEN","YOUR_ENCRYPTION_KEY",)# Пример загрузки и шифрования файлаlocal_file="docker-compose.yaml"remote_path="docker-compose.yaml"yandex_disk.upload_and_encrypt_file(local_file,remote_path)# Пример дешифрования файлаdecrypted_local_file="docker-compose2.yaml"yandex_disk.download_and_decrypt_file(remote_path,decrypted_local_file)# Пример получения данных файловfiles=yandex_disk.list_files("/")print(files)Асинхронное использованиеimportasynciofromencrypt_storage.asyncioimportYandexDiskStorageasyncdefmain():# Замените 'YOUR_ACCESS_TOKEN' на ваш токен Яндекс.Диска# Замените 'YOUR_ENCRYPTION_KEY' на ваш ключ шифрованияyandex_disk=YandexDiskStorage("YOUR_ACCESS_TOKEN","YOUR_ENCRYPTION_KEY",)# Пример загрузки и шифрования файлаlocal_file="docker-compose.yaml"remote_path="docker-compose.yaml"awaityandex_disk.upload_and_encrypt_file(local_file,remote_path)# Пример дешифрования файлаdecrypted_local_file="docker-compose2.yaml"awaityandex_disk.download_and_decrypt_file(remote_path,decrypted_local_file)# Пример получения метаданных файловfiles=awaityandex_disk.list_files("/")print(files)if__name__=="__main__":asyncio.run(main())
Package: encrypt-tools
encrypt_tools: encrypt and decryptencrypt_tools is a Python package of low-level cryptographic primitives.InstallationThe code is packaged for PyPI, so that the installation consists in running:pipinstallencrypt-toolsUsage AESfrom encrypt_tools import CryptoAes
from encrypt_tools import generate_b64decode

KEY = generate_b64decode("onAGSOj7NXlJo0xo5iorF3vQT+ip/uRBcZDMuEljyCo=")
IV = generate_b64decode("WvdNOBeWH+nApbbqz/WAZg==")

cipher = CryptoAes()
text = "51123456789"

encrypt = cipher.encrypt(text, KEY, IV)
print(f'encrypt:\n{encrypt}')

decrypt = cipher.decrypt(encrypt, KEY, IV)
print(f'decrypt:\n{decrypt}')Usage RSAfrom encrypt_tools import CrypyoRsa
from encrypt_tools import generate_key_pair

cipher = CrypyoRsa()
text = "51955376623"

passphrase_private = "passphrase_private"
passphrase_public = "passphrase_public"
generate_key_pair(passphrase_private,
                  passphrase_public)

encrypt = cipher.encrypt(text, passphrase_public)
print(f'encrypt:\n{encrypt}')

decrypt = cipher.decrypt(encrypt, passphrase_private)
print(f'decrypt:\n{decrypt}')Usage RSA Filesfrom encrypt_tools import CryptoFiles
from pathlib import Path

cipher = CryptoFiles()
text = "51955376623"
passphrase_private = "passphrase_private"
passphrase_public = "passphrase_public"

private_key = Path('private.pem')
public_key = Path('public.pem')
unencrypted_file = Path('file.txt')

encrypt = cipher.encrypt(unencrypted_file, public_key, passphrase_public)
print(f'encrypt:\n{encrypt}')


decrypt = cipher.decrypt(encrypt, private_key, passphrase_private)
print(f'decrypt:\n{decrypt}')LicenseApache License 2.0.New features v1.0BugFixchoco install visualcpp-build-toolsReferenceJonathan Quizagithub.Jonathan QuizaRumiMLSpark.Jonathan Quizalinkedin.
Package: enc-tool
ENC ToolA Python command-line too encrypt and decrypt your data securely.InstallationEasy waypipinstallenc-toolHard wayClone the projectgitclonehttps://github.com/errornight/enc-tool.gitcdenc-toolInstallpythonsetup.pyinstallorpipinstall.UsageTo encrypt a short messageenc"THE-MESSAGE"-pPASSWORDTo save the encrypted datain a fileenc"THE-MESSAGE"-pPASSWORD-sWHERE-TO-SAVETo encrypt datafrom a fileenc-pPASSWORD-fFILE-TO-ENCRYPT-sWHERE-TO-SAVEFor decryption add-dto your commandenc-d-fFILE-TO-DECRYPT-pPASSWORD-SWHERE-TO-SAVEWhere isENC-ToolUseful?Secure Communication:Use ENC-Tool to encrypt sensitive messages or data before sending them through insecure channels.Data Protection:Safeguard confidential data such as passwords, credit card numbers, or personal information by encrypting it using ENC-Tool.File Encryption:Encrypt files containing important documents, private records, or sensitive information to prevent unauthorized access.Remember that in this version you can not encrypt files like images, But you can encrypt the text data in text files.ContributingOpen a pull request and let me know what you think :)
Package: encurtanet
InstallPypipip install encurtanetSimple use examplefromencurtanetimportEncurtaNet,AdsTypesencurtanet=EncurtaNet("YOUR API TOKEN HERE")url_info=encurtanet.shorten(url="https://marcuth.github.io/",# URL you want to shortenalias="url-alias",# URL aliasis_text_format=False,# Whether the result from the server is going to be textads_type=AdsTypes.InterstitialAds# Ads type, you can define two types, there is no way to define banner and also you don't need to define if you want url with ads)url_info.raw_data# Result of allurl_info.shortened_url# Resulting URLurl_info.status# Resulting status ("success" | "error")url_info.message# Resulting message (if the api sent a message)
Package: encutils
**For the current versionplease /download/install cssutilswhich includes v0.9.8 of encutils as well.Files here have been deleted andit is only kept here for reference.**===================================================encutils - encoding detection collection for Python===================================================:Version: 0.9:Author: Christof Hoeke, see http://cthedot.de/encutils/:Contributor: Robert Siemer:Copyright: 2005-2009: Christof Hoeke:License: encutils has a dual-license, please choose whatever you prefer:* encutils is published under the`LGPL 3 or later <http://cthedot.de/encutils/license/>`__* encutils is published under the`Creative Commons License <http://creativecommons.org/licenses/by/3.0/>`__.encutils is free software: you can redistribute it and/or modifyit under the terms of the GNU Lesser General Public License as published bythe Free Software Foundation, either version 3 of the License, or(at your option) any later version.encutils is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU Lesser General Public License for more details.You should have received a copy of the GNU Lesser General Public Licensealong with encutils.  If not, see <http://www.gnu.org/licenses/>.A collection of helper functions to detect encodings of text files (like HTML, XHTML, XML, CSS, etc.) retrieved via HTTP, file or string.:func:`getEncodingInfo` is probably the main function of interest which usesother supplied functions itself and gathers all information together andsupplies an :class:`EncodingInfo` object.example::>>> import encutils>>> info = encutils.getEncodingInfo(url='http://cthedot.de/encutils/')>>> print info # = str(info)utf-8>>> print repr(info) # doctest:+ELLIPSIS<encutils.EncodingInfo object encoding='utf-8' mismatch=False at...>>>> print info.logtextHTTP media_type: text/htmlHTTP encoding: utf-8Encoding (probably): utf-8 (Mismatch: False)<BLANKLINE>referencesXMLRFC 3023 (http://www.ietf.org/rfc/rfc3023.txt)easier explained in- http://feedparser.org/docs/advanced.html- http://www.xml.com/pub/a/2004/07/21/dive.htmlHTMLhttp://www.w3.org/TR/REC-html40/charset.html#h-5.2.2TODO- parse @charset of HTML elements?- check for more texttypes if only text given
Package: encviewfuse
Descriptionencviewfuse is a fuse filesystem that provides an encrypted view on a given directory. You can use it in conjunction with usual backup software without the requirement to save the files encrypted or provide additional space.InstallationThe file system is available for Python 3 via pypi (encviewfuse.fuse).Usageencviewfuse_fs <source directory> <mount point>-osecret=<secret>,fileSalt=<fileSalt>,filenameSalt=<filenameSalt>Option ValueMeaningsource directoryThe directory containing the files to be encryptedmount pointThe mount point for the encrypted viewsecretThe secret used for the encryptionfileSaltThe id of the file salt provider (filename | mtime)filenameSaltThe id of the filename salt provider (filename | mtime)Instead of thesecretoption, you can also use thesecretfileoption to specify a file containing the secret.
Package: encwork
EncworkRSA-encrypted networking library.What is it for?Encwork is designed to be a safe networking system that will generate new keys for each session. It can be used for CLI's or command line tools, general networking that should be encrypted, or throwaway chats.How is it secured?Encwork uses 4096-bit RSA keys (size changable, 4096 recommended) for every message other than for the public key exchange, which cannot be encrypted and does not need to be.This should not be a problem, as no computer can get the private key from the public key, and the keys are recreated for every new session.How does it work?P2PEach machine will set up a server socket, and a client socket. The client will try to connect to a specified target, while the server accepts connections and checks if the origin is the target. If it's not, it'll kill the connection and wait for the target to connect. Once both peers have confirmed the targets, they will exchange public keys and be ready to communicate.Server-BasedThere will be one machine running a server, and multiple clients can connect to it. The server talks to each client individually, but Encwork provides enough freedom that you could set up a system that allows users to talk to each other. The server will store all client's public keys & sockets in a dictionary, so all clients still have different keys that don't cross paths.RequirementsPython v3.6+If you don't already have it, download ithere.cryptography>=2.8Download it usingpip install "cryptography>=2.8", or download the wheelhereand usepip install (.whl file).InstallationPyPITo get the module through PyPi:pip install encwork.GitHub (Pulled Repo)To install the module by pulling the repo:python setup.py install.UsageWhile Encwork comes with demonstration files such asp2p_example.py,client_example.pyandserver_example.py, they are only meant to demonstrate how Encwork works. You can get the module to build your own UI that will work with any other program that uses Encwork, including the example one.Thep2p_example.pyfileRun it as any other python script, usingpythonorpython3 p2p_example.py. It's a very short piece of code, as it just uses functions fromencwork.p2p. Simply give it a target machine and it'll start trying to connect.Once you see the prompt "Enter a message to send," the connection and key exchange have completed and you are ready to communicate.Theclient_example.pyandserver_example.pyfilesAs explained above, one machine will run the server (server_example.py) and allow clients to connect to it (client_example.py). The example files are for a server that returns ping, for one- and two-way, including encryption/decryption in the time.DocumentationTo see how to use the Encwork module yourself, check out theDocumentation.
Package: encyclopedia
An Encyclopedia is an abstract container intended for smallish data sets which provides many of the benefits of a relational (and non-relational) database but with lower syntactic friction.  In particular, an Encyclopedia uses arithmetic expressions typical of first-class python objects (e.g. lists, dictionaries) to perform common dataset operations such as merging, subsetting and object combination. Encyclopedias supports functional composition so as to act on entire Encyclopedias in a single statement similar to data frame vectorization.
Package: end2end
end2end-encryptionThe end2end encryption module implements end to end encryption for python. The module is designed for sockets.installationThe package can be installed using pip:$ pip install end2endbasic usageThe encryption uses acommunicatorthat encrypts, decrypts and handles the key exchange. The Communicator can be created with a socketsockand the size of the keykey_sizethe client uses.com = end2end.createComunicator(sock, key_size)a full simple mock-up of the server can be found in thetest.pyandtest2.pyfiles.
Package: end2endML
end2endML packageThe end2endML Python package is designed for data analysts to do automate data analysis on tabular data using machine learning algorithms. The package implemented all the components, data preprocessing, data splitting, model selection, model fitting and model evaluation, required for defining pipelines to automatically analyze tabular data.InstallationInstall end2endML package by running:pip install end2endMLon the command line of a Linux system or the Anaconda Prompt on a Windows system. If you don't have root privileges, sometimes you need to add --user after the above commands, then pip will install the package in your home directory.If you want to install a specific version, please visithttps://pypi.org/project/end2endML/to find the exact version number. For example, you can install version 0.9.2 bypip install end2endML==0.9.2.User guideThe user guide is available athttps://end2endml.readthedocs.io/en/latest/.
Package: enda
endaWhat is it?endais a Python package that provides tools to manipulatetimeseriesdata in conjunction withcontractsdata for analysis andforecasts.Its main goal is to helpRescoop.eumembers build various applications, such as short-term electricity load and production forecasts, specifically for theRescoopVPPproject. Hence some tools in this package perform TSO (transmission network operator) and DNO (distribution network operator) data wrangling as well as weather data management. enda is mainly developed byEnercoop.Main FeaturesHere are some thingsendadoes well :Provide robust machine learning algorithms for short-term electricty load and production forecasts, developed by Enercoop. The load forecast was originally based on Komi Nagbe's thesis (http://www.theses.fr/s148364).Manipulatecontractsdata coming from your ERP and turn it into timeseries you can use for analysis, visualisation and machine learning.Timeseries-specific detection of missing data, like time gaps and frequency changes.Date-time feature engineering robust to timezone hazards.Where to get itThe source code is currently hosted on GitHub at :https://github.com/enercoop/endaBinary installers for the latest released version are available at thePython
Package Index (PyPI)(for now it is not directly onConda).# PyPIpipinstallendaHow to get started ?Check out the guides :https://github.com/enercoop/enda/tree/main/guides.Hard dependenciesPandas - the main dataframe manipulation tool for python, advanced timeseries management included.Pandas itself has hard dependencies and optional dependencies, checkouthttps://pandas.pydata.org/pandas-docs/stable/getting_started/install.html. Hard dependencies of pandas include :setuptools,NumPy,python-dateutil,pytz.Optional dependenciesOptional dependencies are used only for specific methods. Enda will give an error if the method called requires a dependency that is not installed.Enda can work with different machine learning "backends" :Scikit-learnH2O - an efficient machine learning frameworkYou can also easily implement your own ml-backend by implementing enda's ModelInterface. Checkoutenda.ml_backends.sklearn_linreg.pyfor an example withSKLearnLinearRegression.Other optional dependencies :statsmodelFurthermore, don't hesitate to install pandas "Recommended dependencies" for speed-ups :numexprandbottleneck.If you want to save your trained models, we recommendjoblib. See Scikit-learn's recommendations here :https://scikit-learn.org/stable/modules/model_persistence.html.An almost complete install looks like :pip install numexpr bottleneck pandas enda jupyter h2o scikit-learn statsmodels joblib matplotlibLicenseMIT
Package: endandicrypto
Introducing endandicrypto: A Python Library for Seamless Cryptocurrency Transactionsendandicrypto is a powerful Python library designed to simplify the process of sending and receiving cryptocurrencies through a remote server using a private API. With this library, developers can easily integrate cryptocurrency functionality into their applications, enabling secure and efficient transactions.Currently, endandicrypto supports Litecoin and Monero, two popular cryptocurrencies in the market. However, future updates are planned to include support for additional cryptocurrencies, expanding the library’s capabilities.To utilize the library, you’ll need an API token. Please copy and paste the token from the following link:https://privatebin.io/?b738263f5e8530e2#BEXwTBKWgQeLVPSwWZpPEcWxW2WbyQ8AyUeUsAuYXPmhCopyright (c) 2023 Riccardo Verardi. All rights reserved.Please note that endandicrypto is a powerful tool that should be used responsibly and in compliance with applicable laws and regulations. Always exercise caution and ensure you have the necessary permissions and legal requirements when dealing with cryptocurrencies.Thank you for choosing endandicrypto for your cryptocurrency needs. We hope this library provides you with a seamless experience in handling digital assets. Should you have any questions or feedback, please don’t hesitate to reach out to us.Happy coding!Riccardo Verardi
Package: endaq
endaq-python: A comprehensive, user-centric Python API for working with enDAQ data and devicesInstallationendaq is available on PYPI viapip:pip install endaqFor the most recent features that are still under development, you can also usepipto install endaq directly from GitHub:pip install git+https://github.com/MideTechnology/endaq-python.git@developmentContentsThis package consists of several submodules, you can read more about how these are used in their respective readme files:endaq.calc(readme): A computational backend for vibration analysis.endaq.cloud(readme): Tools for interacting with enDAQ Cloud services.endaq.ide(readme): High-level utility functions to aid in importing and inspecting enDAQ IDE recording files.endaq.plot(readme):  A package comprising a collection of plotting utilities for sensor data analysis.DocsThe docs for this package can be foundhere.To locally build theSphinxdocumentation from a clone of the repo:cd <repo root dir>pip install -e .[docs]sphinx-build -W -b html docs docs/_buildLicenseThe endaq-python repository is licensed under the MIT license. The full text can be found in theLICENSE file.
Package: endaq-calc
endaq-calc - a computational backend for vibration analysisendaq-calc is a package comprising a collection of common calculations for vibration analysis. It leverages the standard Python scientific stack (NumPy, SciPy, Pandas) in order to enable engineers to perform domain-specific calculations in a few lines of code, without having to first master Python and its scientific stack in their entireties.endaq-calc is a sub-package of the larger enDAQ ecosystem. Seethe endaq packagefor more details.Installationendaq-calc is available on PYPI viapip:pip install endaq-calcFor the most recent features that are still under development, you can also usepipto install endaq-calc directly from GitHub:pip install git+https://github.com/MideTechnology/endaq-python-calc.git@developmentUsage Examplesimportendaq.calc.filtersimportendaq.calc.integrateimportendaq.calc.psdimportendaq.calc.shockFiltersdf_accel_highpass=endaq.calc.filters.butterworth(df_accel,low_cutoff=1,high_cutoff=None)df_accel_lowpass=endaq.calc.filters.butterworth(df_accel,low_cutoff=None,high_cutoff=100)Integrationdfs_integrate=endaq.calc.integrate.integrals(df_accel,n=2,highpass_cutoff=1.0,tukey_percent=0.05)PSDLinearly-spaceddf_accel_psd=endaq.calc.psd.welch(df_accel,bin_width=1/11)Octave-spaceddf_accel_psd_oct=endaq.calc.psd.to_octave(df_accel_psd,fstart=1,octave_bins=3)Derivatives & Integrals {#derivatives--integrals}df_vel_psd=endaq.calc.psd.differentiate(df_accel_psd,n=-1)df_jerk_psd=endaq.calc.psd.differentiate(df_accel_psd,n=1)Vibration Criterion (VC) Curvesdf_accel_vc=endaq.calc.psd.vc_curves(df_accel_psd,fstart=1,octave_bins=3)Shock Analysisdf_accel_pvss=endaq.calc.shock.shock_spectrum(df_accel,freqs=2**np.arange(-10,13,0.25),damp=0.05,mode="pvss")df_accel_srs=endaq.calc.shock.shock_spectrum(df_accel,freqs=[1,10,100,1000],damp=0.05,mode="srs")Shock Characterization: Half-Sine-Wave Pulsehalf_sine_params=endaq.calc.shock.enveloping_half_sine(df_accel_pvss,damp=0.05)Other Linksthe endaq package -https://github.com/MideTechnology/endaq-pythonthe enDAQ homepage -https://endaq.com/
Package: endaq-cloud
endaq-cloudThecloudsubpackage forendaq-pythonThis package houses tools and functions to make both interacting with the enDAQ Cloud API and theenDAQ Cloud <https://cloud.endaq.com>_ itself easier.Tools:API Wrapper:The API Wrapper provides a simple command-line interface for accessing basic file and device information from the enDAQ Cloud API. Output of all commands exceptaccountandattributesare incsvfiles in theoutputfolder.To access the cloud, this tool requires an API key associated with a user's enDAQ Cloud account, which can be provided in two ways:(recommended) add to theendaq.cloudproject directory a.envfile, formatted like so:API_KEY=<Your Key>pass in an API key through the command line using the--keyoptionwarningFor security reasons, it is generally discouraged to make an authentication key visible on-screen or accessible through the clipboard, such as when using the--keyoption; we provide thekeyoption solely as a convenience.Runs on Python 3.6 and higherCommandsfiles               Outputs file information for selected number of files and attributesfile-id             Outputs file information for file with specified ID to output filedevices             Ouputs device information for selected number of filesdevice-id           Output device information for device with specified ID to output fileaccount             Prints out account informationattributes          Adds an attribute to a specified fileset-env             Creates a .env file with passed in API keyNOT SECUREUsagesFlagDescription-hCommand Line Help--id, -iFile or Device ID--limit, -lFile or Device output limit; Max 100 default 50--key, -kAPI Key--attributes, -aAttributes to be outputted; options = all or att1,att2...; default is none--name, -nAttribute Name--type, -tAttribute Type; options = int, float, string, boolean--value, -vAttribute Value--verbose, -VPrints out URL API callsendaq-cloud set-env -k <API_KEY>endaq-cloud download -i <FILE_ID> -o <OUTPUT_FOLDER>endaq-cloud files -a <ATTRIBUTES_TO_GET> -l <FILE_OR_DEVICE_OUTPUT_LIMIT>endaq-cloud file-id -i# additional argument neededendaq-cloud devices -l <FILE_OR_DEVICE_OUTPUT_LIMIT>endaq-cloud device-id -i# additional argument neededendaq-cloud accountendaq-cloud attribute -n <ATTRIBUTE_NAME> -t <ATTRIBUTE_TYPE> -v <ATTRIBUTE_VALUE> -i# additional arguments neededUtilitiesConvienience functions for interacting with the cloud API and the enDAQ custom cloud report generation.
Package: endaq-device
endaq.deviceendaq.device(formerlyendaqlib) provides a means of representing, accessing, configuring
and controllingenDAQ™ data
recorders.
It also supports legacy SlamStick™ devices (X, C, and S).InstallationTheendaq-devicepackage isavailable on
PyPI, and can be installed viapip:pip install endaq-deviceFor the most recent features that are still under development, you can
also usepipto install endaq directly
fromthe GitHub
repository:pip install git+https://github.com/MideTechnology/endaq-device.git@developNote: Whileendaq-deviceinstalls into the sameendaq'namespace' asendaq-python, it is
otherwise separate; the two packages are not interdependent, and one can
be installed without the other. The packages do distinctly different
things, and have very different use-cases.DocumentationNote: the documentation is currently a work in progress.The docs for this package can be foundhere.LicenseThe endaq-python repository is licensed under the MIT license. The full text can be found in theLICENSE file.