Skip to content

krortg/string-weighting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

String Weighting

Requirements

A version of Python 3.11 or higher is required

Usage

The project contains a command line client and the weighting package that contains the generation logic and the server, both packages are executable

To start a server instance run:

$ python -m weighting <server_addr> <server_port>

To see the client commands use

$ python -m client -h

It is possible to execute two commands:

  • generate: Generates a file with a set of random text strings

    $ python -m client generate -l 2000 
  • process: Sends the strings from the file passed as a parameter to the specified server and records the responses in an output file

    $ python -m client process localhost:8080 ./chains.txt 

For each command can be typed the -h for more info.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages