Saravanan666/pypi-org huggingface dataset:
Package: tlseparation
TLSeparation is a Python library for material separation from tree/forests 3d point clouds.Some features included in this package are:Automated scripts to perform separation from single tree data.Very extensible, modules and functions that can be imported to build a custom workflow.Separation functions based on topology and geometric arrangement of points.Filtering module to improve classification results.This is still a work in progress, requiring some polishing to improve user-friendliness, but the core modules are sound and tested.The TLSeparation library is being developed as part of my PhD research, supervised by Dr. Mat Disney, in the Department of Geography at University College London (UCL). My research
is funded through Science Without Borders from the National Council of Technological and Scientific Development (10.13039/501100003593) – Brazil (Process number 233849/2014-9).Any questions or suggestions, feel free to contact me using one of the following e-mails:matheus.boni.vicari@gmail.comormatheus.vicari.15@ucl.ac.uk
Package: tlsfeatmark
TLSfeatmarkWhat is TlsfeatmarkTlsfeatmarkis a benchmark tool for TLS analytics usingJoyandZeek. It generates
nice JSON output on several statistics for each pcap and all pcaps analyzed:the number of TCP stream foundthe number of TLS stream foundthe number of certificates foundthe elapsed time of analysisSample output===== Summary =====
{
    "cpu": "11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz",
    "os": "Linux 4.18.0-348.2.1.el8_5.x86_64",
    "time": "2022-06-27 13:43:03",
    "joy": {
        "job": {
            "tool": "joy",
            "pcap_path": "/home/dev/tlsfeatmark/pcaps/small_pcaps",
            "pcap_num": 5,
            "tls_total": 323,
            "cert_total": 294,
            "elapsed_total": 0.32
        },
        "task": [
            {
                "name": "2021-01-13-Emotet-epoch-2-infection-traffic-with-Trickbot-gtag-mor13-2.pcap",
                "tls_num": 46,
                "cert_num": 78,
                "elapsed": 0.06
            },
            {
                "name": "2021-01-04-Emotet-infection-with-Trickbot-traffic.pcap",
                "tls_num": 10,
                "cert_num": 10,
                "elapsed": 0.04
            }
            ... # skip several other tasks
        ]
    },
    "zeek": {
        "job": {
            "tool": "zeek",
            "pcap_path": "/home/dev/tlsfeatmark/pcaps/small_pcaps",
            "pcap_num": 5,
            "tls_total": 323,
            "cert_total": 477,
            "elapsed_total": 1.06
        },
        "task": [
            {
                "name": "2021-01-13-Emotet-epoch-2-infection-traffic-with-Trickbot-gtag-mor13-2.pcap",
                "tls_num": 46,
                "cert_num": 84,
                "elapsed": 0.23
            },
            {
                "name": "2021-01-04-Emotet-infection-with-Trickbot-traffic.pcap",
                "tls_num": 10,
                "cert_num": 15,
                "elapsed": 0.17
            },
            ...        
            # skip several other tasks
        ]
    }
}EnvironmentTlsfeatmarkrelies on Joy and Zeek, and they work well on Linux and Mac OSX.Linux: Centos8/Ubuntu20.04, testedMac: x86/M1, testedWindows: untestedHow to installInstall Joysee Joyofficial documentationfor installation.Install Zeeksee Zeekofficial documentationfor installation.Install tlsfeatmarkpip install tlsfeatmarkHow to useTlsfeatmarkis easy to use once Joy and Zeek are installed.Configurepcap_pathinconfig.txtpcap_pathis the pcap file or dir containing pcaps to be analyzed.pcap_pathsupports absolute and relative path. For relative path (relative tomain.py), use./as prefix, for example,./pcaps/small_pcaps.Runmain.pyView results inoutputfolder.LicenseTlsfeatmarkis under MIT license, see LICENSE for more information.
Package: tlsh
A C++ extension for TLSHUsage:importtlshh1=tlsh.hash(data)h2=tlsh.hash(similar_data)score=tlsh.diff(h1,h2)h3=tlsh.Tlsh()withopen('file','rb')asf:forbufiniter(lambda:f.read(512),b''):h3.update(buf)h3.final()asserth3.diff(h)==0score=h3.diff(h1)
Package: tlslite-ng
tlslite-ng is a pure python implementation of SSLv3.0, TLS 1.0, TLS 1.1 and
TLS 1.2 protocols.It can use pycrypto, m2crypto and gmp for acceleration of cryptographic
operations but is not dependant upon them.Functionality implemented include:all above mentioned protocols, including support for client certificates
(RFC 6101, RFC 2246, RFC 4346, RFC 5246)RC4, 3DES-CBC, AES-CBC, AES-GCM and ChaCha20 ciphers (RFC 5246, RFC 6347,
RFC 4492, RFC 5288, RFC 5289, RFC 7539, RFC 7905)MD5, SHA1, SHA256 and SHA384 HMACs as well as AEAD mode of operation with
GCM or Poly1305 authenticatorRSA, DHE_RSA and ECDHE_RSA key exchangefull set of signature hashes (md5, sha1, sha224, sha256, sha384, sha512,
rsa_pss_sha256, rsa_pss_sha384 and rsa_pss_sha512) for ServerKeyExchange
and CertfificateVerify in TLS v1.2secp256r1, secp384r1, secp521r1, secp256k1, secp224r1 and secp192r1 curves
for ECDHE_RSA key exchange (support for last two depends on the version
of ecdsa library used)x25519 and x448 curves for ECDHE_RSA key exchage (RFC 7748. RFC 4492bis)anonymous DHE key exchangeanonymous ECDH key exchangeNULL encryption ciphersuitesFALLBACK_SCSV (RFC 7507)encrypt-then-MAC mode of operation for CBC ciphersuites (RFC 7366)TACK certificate pinningSRP_SHA_RSA and SRP_SHA ciphersuites (RFC 5054)Extended Master Secret calculation for TLS connections (RFC 7627)padding extension (RFC 7685)Keying material exporter (RFC 5705)Next Protocol NegotiationApplication-Layer Protocol Negotiation Extension (RFC 7301)FFDHE prime/group negotiation (RFC 7919)tlslite-ng aims to be a drop-in replacement for tlslite while providing more
comprehensive set of features and more secure defautls.
Package: tlsmate-client-simul
tlsmate_client_simulOverviewThis project provides a plugin for thetlsmate application. It allows to check the interoperability
of the chosen TLS server with multiple popular and well known TLS clients. In
case the simulated client can successfully connect to the server, the following
information negotiated between the client and the server is provided:TLS protocol versioncipher suitethe type of the key exchange including the key size or the supported groupthe server authentication mechanism including the key sizeBy default the parameters mentioned above will be colored according to the
chosen style.Basically this plugin does the same than the client simulation by SSLAB’sSSL
Server Test, and indeed this plugin uses
theclient date basefrom this
site.InstallationThis package requires Python3.6 or higher. The recommended way installing thistlsmateplugin is using pip:$pipinstalltlsmate_client_simulNote: If required, thetlsmateapplication will be installed as well.After installation make sure the plugin is enabled. The most common way is to
do this in the tlsmate ini-file. Make sure the file~/.tlsmate.inicontains the following lines:[tlsmate]
plugin = tlsmate_client_simulFor more details regarding other configuration options refer tothe documentation here.Basic usageThis plugin can be used in two different ways.Using the client-simul subcommandThe plugin extendstlsmateby the new subcommandclient-simul. This
allows to perform this client simulation independently from any other scan
optionstlsmateprovides.Here is an example:$tlsmateclient-simul--progressmytlsmatedomain.netSome basic parameters from tlsmate’sscancommand are supported, use the--helpargument to display all the available command line options:$tlsmateclient-simul--helpExtending a server scanThe plugin can also be used to extend a TLS server scan. To do so
the argument--client-simulmust be given to thescansubcommand:$tlsmatescan--progress--client-simulmytlsmatedomain.netNote: In the examples above the domain name “mytlsmatedomain.net” is used,
which is currently not registered. Replace it with the domain name you want to
use.
Package: tls-occlusion
This is a library designed for occlusion analysis of LiDAR simulated data.Although many functions are very specific to certain types of LiDAR simulation and data conventions, this library can be
easily adapted and extended to fit different scenarios.This is still a work in progress, requiring some polishing to improve user-friendliness (still lacking documentation), but the core modules are sound and tested.The tls_occlusion library is being developed as part of my PhD research, supervised by Dr. Mat Disney, in the Department of Geography at University College London (UCL). My research
is funded through Science Without Borders from the National Council of Technological and Scientific Development (10.13039/501100003593) – Brazil (Process number 233849/2014-9).Any questions or suggestions, feel free to contact me using one of the following e-mails:matheus.boni.vicari@gmail.comormatheus.vicari.15@ucl.ac.uk
Package: tls-packet
tls-packetPython TLS Packet decoder/serializer library with a focus on TLS packets used during
IEEE 802.1x/RADIUS interactionsThe initial target is a TLSv1.2 with emphasis on the TLS Client Side operations.  Once it
is successfully working against a FreeRADIUS v3.0+ server, other TLS vesions (particularly v1.3)
will be supported.In addition, a goal once it works with FreeRADIUS as a client, creating the TLS Server side to work
without a FreeRADIUS server is a goal.Another future goal is to provide some decode options similar to what go-packet provides so that
the users can tune for the performance they need.Release HistoryVersionNotes0.0.2Many client side decode in place and under unit test0.0.1Initial build to get package installation scripts together
Package: tlsprint
# TLSprintFingerprint TLS implementations using state machines inferred by
[StateLearner](https://github.com/jderuiter/statelearner/). StateLearner can
learn state machines for (in this case TLS) implementations using a black-box
approach. Different implementations can have a different state machine, which
makes it possible to differentiate them. By combining these state machines into
a single tree, and then probing a live implementation,tlsprintmakes it
possible to fingerprint the TLS implementation running on the target.## InstallationInstall the latest release from PyPi:`shell pip install tlsprint `## LearnNote: This step is optional, amodel.pis included in the distribution,
which contains a model created using 27 unique state machines, representing 283
different TLS implementations. For the full list of implementations, check themodelsdirectory in the repository.After state machines are inferred using StateLearner, run`shell tlsprint learn <statelearner_output_dir> model.p `to merge all models together into a single
tree. This tree is returned as a picklednetworkxgraph, and is required for
theidentifystep.## IdentifyWhen using the default model, identifying the TLS implementation on a target
can be done be running`shell tlsprint identify <target> `This defaults to port 443, a custom port can be specified by adding–target-port <port>.The command returns a list of possible implementations. All these
implementations share the same model, meaningtlsprintcannot further specify
the exact implementation.Passing–graph-dir <output>to theidentifycommand, will write DOT files
for all intermediate versions of the model tree. This can be insightful to
understand whattlsprintis doing.If you learned a custom model using thelearncommand, you can override the
default model using–model <filename>.
Package: tls-probe
tls-probeSimple utility to probe remote SSL/TLS service.Module opens connection to specified host and port and returns information
about the established socket and certificate served to client on that
connection.Also provides command line frontend (tls-probe) to dump information in
human-readable format.InstallationInstall fromPyPI.
Use Python 3 and a virtualenv.mkdir -p ~/venv.d
python3 -mvenv ~/venv.d/tls_probe
~/venv.d/tls_probe/bin/pip install tls-probeUsageGiven an address (hostname or IP address) and port, a connection to the
specified service is made, a SSL/TLS socket is established, and details are
returned to the caller. This includes information about the connection as well
as some details from the x.509 certificate, if one is served.For example:$ tls-probe www.letsencrypt.org 443
Connection:
version      TLSv1.3
remote_addr  162.243.166.170:443

Certificate:
issuer            CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
subject           CN=lencr.org
serial            331089264146011497466023867100015958696279
version           v3
signature_hash    sha256
not_valid_before  2020-09-03 23:37:34
not_valid_after   2020-12-02 23:37:34

Fingerprints:
md5     a2572461046c4494e73d53d8a27ebc37
sha1    0b4843d5542903b7d7dfda1e7999e880a957087b
sha256  923455ed89054c81c6ff9d75c4185bb286ef94ea35ab1f08aeec136ad53388a2

Extensions:
subjectAltName  <SubjectAlternativeName(<GeneralNames([<DNSName(value='lencr.org')>, <DNSName(value='letsencrypt.org')>, <DNSName(value='www.lencr.org')>, <DNSName(value='www.letsencrypt.org')>])>)>JSON data may optionally be returned.By default, the tool validates certificates sent by the remote service and
certificate validation errors are raised. This may be changed by using the-z/--no-validateoption.Full usage details are found in the--help/-houtput to the command line
utility.
Package: tls-property
@tls_propertyis a super-tiny library that will help you write
thread-safe classes.It’s acting like a@cached_property,
but value will be cached only for current thread.Garbage collecting is respected,@tls_propertywon’t mess up with it.fromsome_libraryimportNonThreadsafeSuperClientfromtls_propertyimporttls_propertyclassSuperClientWrapper:@tls_propertydefnonthreadsafe_client(self)->NonThreadsafeSuperClient:returnNonThreadsafeSuperClient()Also, value reset supported via @tls_propertydelete:client=SuperClientWrapper()client.something()delclient.nonthreadsafe_clientclient.something()Module works on Python == 2.7 and Python ~= 3.4.Installationpipinstalltls-propertyLicensePublic Domain:CC0 1.0 Universal.
Package: tls-scan
tls-scanCLI tool to scan IP addresses for TLS/SSL certificates. Outputs results in JSONL format. Useful for detecting software such as VMWare.Installation:pipinstalltls-scanThis tool does not use third-party dependencies and can be run as a script.Usage:$tls-scan-hExample #1: scan whole internet:$tls-scan-v-a0.0.0.0/0Output sample:{"ip":"193.201.66.1","port":443,"port_name":"https","cert":{"subject":{"countryName":"LV","localityName":"Rīga","organizationName":"AS PrivatBank","commonName":"*.privatbank.lv"},"issuer":{"countryName":"US","organizationName":"DigiCert Inc","commonName":"DigiCert TLS RSA SHA256 2020 CA1"},"version":3,"serialNumber":"0CE443B97F070F5500D008EEDFB11F88","notBefore":"Aug 12 00:00:00 2022 GMT","notAfter":"Aug 24 23:59:59 2023 GMT","subjectAltName":[["DNS","*.privatbank.lv"],["DNS","www.privatbank.lv"],["DNS","ibank.privatbank.lv"],["DNS","b2a2.privatbank.lv"],["DNS","open.privatbank.lv"],["DNS","sof.privatbank.lv"]],"OCSP":["http://ocsp.digicert.com"],"caIssuers":["http://cacerts.digicert.com/DigiCertTLSRSASHA2562020CA1-1.crt"],"crlDistributionPoints":["http://crl3.digicert.com/DigiCertTLSRSASHA2562020CA1-4.crl","http://crl4.digicert.com/DigiCertTLSRSASHA2562020CA1-4.crl"]},"hostname":"b2a2.privatbank.lv"}You can specify the port using-p. Instead of a port number or port range, you can use an alias:smtp,imap,pop,https,ldap,rdp,ftp,telnet,cpanel,whm,kuber,portainer,proxmox,webmin,redis,activemq. Specifyallto scan all listed ports andcommonfor the most common ones.Example #2: extract domains from certificate usingjq:$tls-scan-a...-phttpssmtp|jq-r'.cert.commonName, ( .cert.subjectAltName?[] | select(.[0]=="DNS")[1] ), .hostname | select(.)'...
*.privatbank.lv
www.privatbank.lv
ibank.privatbank.lv
b2a2.privatbank.lv
open.privatbank.lv
sof.privatbank.lv
b2a2.privatbank.lv
...
Package: tlssysloghandler
Python logging.handler as a drop-in replacement for logging.SysLogHandler with support for sending syslog messages over TCP with TLS.InstallationpipinstalltlssysloghandlerUsageimportloggingfromtlssysloghandlerimportTLSSysLogHandlerlogger=logging.getLogger()logger.setLevel(logging.INFO)# with default system certificate storehandler1=TLSSysLogHandler(address=('secure-logging.example.com',6514),socktype=socket.SOCK_STREAM,secure=True)logger.addHandler(handler1)# with custom certificates, via cafile/capath/cadata# refer to https://docs.python.org/3/library/ssl.html#ssl.create_default_contexthandler2=TLSSysLogHandler(address=('secure-logging.example.com',6514),socktype=socket.SOCK_STREAM,secure={cafile='/path/to/ca/file'})logger.addHandler(handler2)# with custom SSLContextcontext=ssl.create_default_context(cafile='/path/to/ca/file')handler3=TLSSysLogHandler(address=('secure-logging.example.com',6514),socktype=socket.SOCK_STREAM,secure=context)logger.addHandler(handler3)# or allow TLS without verificationhandler4=TLSSysLogHandler(address=('secure-logging.example.com',6514),socktype=socket.SOCK_STREAM,secure="noverify")logger.addHandler(handler4)logger.info('Hello World!')
Package: tls-test-tools
TLS Test ToolsThis project is a collection of tools for managing ephemeral TLS secrets in unit tests.When writing code that needs to either host a server with TLS enabled or make connections to a TLS enabled server, it's
often difficult to write succinct unit tests that exercise these connections. This package aims to fix that! It provides
utilities for auto-generating self-signed CAs and derived server/client pairs. It also provides tools for finding open
ports to host temporary servers on.InstallationTo install, simply usepippipinstalltls-test-tools
Package: tlstk
# tlstkPre-AlphaTLS ToolKit for Python and CLIThe goal for this project is to unify the various tools, scripts, and modules I’ve written into a single comprehensive open-source package that does ‘all things TLS.’ Aside from the underlying modules, the key components will be a general-purposetlscommand line tool and a bunch of [iPython](https://ipython.org) magics for working interactively and [Jupyter](https://jupyter.org) support.#### Features to include:Certificate inspection (a la nmapssl-certsscript)x509 dissection (a laopenssl x509)Signature/trust validationBasic client (a laopenssl s_client)Protocol diagnostics (port of unreleaed code)Protocol fuzzingStress/torture test driver and analytics (port of unreleased code;cypherlab)Vulnerability assessor (port of unreleased code;tlsreport)# 0.0Basic module/cli layout design
Package: tltsne
tltsneTime-lagged t-SNE of molecular trajectories.AuthorsVojtech Spiwok and Pavel KrizUsageTrajectory of molecular simulation is dimensionally reduced by t-distributed stochastic embedding (t-SNE)
[1] and by a version of t-SNE that focuses on slow motions via analysis inspired by time-lagged
independent component analysis (TICA) [2,3].The input is a trajectory in pdb, xtc, trr, dcd, netcdf or mdcrd (only atoms intended for analysis).
The second input file is a topology (pdb file with same atoms as in trajectory). Output contains
frame ID, PCA, TICA, t-SNE and time-lagged t-SNE coordinates.usage: tltsne [-h] [-i INFILE] [-p INTOP] [-o OUTFILE] [-nofit NOFIT]
              [-lagtime LAGTIME] [-pcadim PCADIM] [-ticadim TICADIM]
              [-maxpcs MAXPCS] [-ncomp NCOMP] [-perplex1 PERPLEX1]
              [-perplex2 PERPLEX2] [-rate RATE] [-niter NITER] [-exag EXAG]

Time-lagged t-SNE of simulation trajectories, requires scimpy, pyemma, sklearn
and mdtraj

optional arguments:
  -h, --help          show this help message and exit
  -i INFILE           Input trajectory in pdb, xtc, trr, dcd, netcdf or mdcrd
                      of atoms to be analyzed. No jumps in PBC allowed.
  -p INTOP            Input topology in pdb with atoms to be analyzed.
  -o OUTFILE          Output file.
  -nofit NOFIT        Structure is NOT fit to reference topology if nofit is
                      set to 1 (default 0).
  -lagtime LAGTIME    Lag time in number of frames (default 1).
  -pcadim PCADIM      Number o PCA coordinates to be printed (defaut 2).
  -ticadim TICADIM    Number o TICA coordinates to be printed (defaut 2).
  -maxpcs MAXPCS      Number of TICA coordinates to be passed to t-SNE
                      (default 50).
  -ncomp NCOMP        Number of t-SNE and time-lagged t-SNE coordinates to be
                      printed (defaut 2).
  -perplex1 PERPLEX1  Perplexity of t-SNE (default 10.0).
  -perplex2 PERPLEX2  Perplexity of time-lagged t-SNE (default 10.0).
  -rate RATE          Learnning rate of t-SNE and time-lagged t-SNE (default
                      200.0).
  -niter NITER        Number of iterations of t-SNE and time-lagged t-SNE
                      (default 1000).
  -exag EXAG          Early exaggeration of t-SNE and time-lagged t-SNE.InstallInstall via PIP:pip3 install tltsne(or withsudo).Install from GitHub:git clone https://github.com/spiwokv/tltsne.git
cd tltsne
pip3 install .(or withsudo).Thankspyemma [4]mdtraj [5]scipy [6]sklearn [7]ReferencesL.J.P. van der Maaten, G.E. Hinton.Visualizing High-Dimensional Data Using t-SNE.J. Mach. Learn. Res. 2008, 9, 2579-2605.G. Perez-Hernandez, F. Paul, T. Giorgino, G. de Fabritiis, F. Noé:Identification of slow molecular order parameters for Markov model construction.J. Chem. Phys. 2013, 139, 015102.C. R. Schwantes and V. S. Pande:Improvements in Markov state model construction reveal many non-native interactions in the folding of NTL9.J. Chem. Theory Comput. 2013, 9, 2000-2009.http://emma-project.org/http://mdtraj.org/1.9.3/https://www.scipy.org/https://scikit-learn.org/
Package: tl-utilities
Utility package for Cloudless Resource Monitoring Frameworksingleton.py: provides Singleton metaclass that is used in various systems.tinydb_wrapper.py: provides HostTinyDbWrapper & QueryCriteriaTinyDbWrapper classes that is used to interact with tinydb, and encapsulates useful methods to store/retrieve/remove hosts as well as necessary daemon information of each hosts.helper.py: provides useful helper methods (e.g., convert yaml to json, extract docker configuration from yaml)Versions:1.x.x: used with vrmjobs-ver22.x.x: used with vrmjobs-ver33.0.3: used with vrmjobs-ver3 forcombined collector-monitor system3.0.4: used with crm-dtos
Package: tlvdict
TLV - Type/Tag Length FormatSimple class that supports TLV encoding/decoding.Installationpip install tlvdictSimple to use!>>>fromtlvdictimportTLVDict>>>tlv=TLVDict.FromDict({"5F25":"200531","9F06":"A0000000041010"})>>>tlvTLVDict([('5F25','200531'),('9F06','A0000000041010')])>>>tlv.build()'5F25032005319F0607A0000000041010'>>>tlv2=TLVDict.FromHex("5F25032005319F0607A0000000041010")>>>tlv2TLVDict([('5f25','200531'),('9f06','A0000000041010')])
Package: tl-vrmjobs
Virtual Resource Management in Cloudless SystemList of system jobs encapsulated in UDP packets which will be exchanged
between worker and coordinator hosts inside an SDN environment.ProbeInit: sent by collector host (in a fix-interval manner).ProbeAck: sent by worker & monitor host (reply to ProbeInit).RegisterInfo:RegisterAck:Versions:2.1.x: with QueryAck3.x.x: without QueryAck
Package: tlxzoo
Pre-trained models based on TensorLayerX.
TensorLayerX is a multi-backend AI framework, which can run on almost all operation systems and AI hardwares, and support hybrid-framework programming. The currently version supports TensorFlow, MindSpore, PaddlePaddle, PyTorch, OneFlow and Jittor as the backends.Quick StartInstallationVia pip# install from pypipip3installtlxzootrainpythondemo/vision/image_classification/vgg/train.pypredictpythondemo/vision/image_classification/vgg/predict.py