Skip to main content

About: Seqbuild

Go to the Github project, seqbuild for more information.

Basic Usage

After installation, the below script would load up the user interface.

from seqbuild.face import sb_ui

sb_ui.run_sb_app() 

Inside the interface, there is a HELP button. Additionally, for any term T of
question, submit

help T. 

for more details.

There is also a convenient way to auto-generate Comm Lang files, which can then be loaded up into the user interface through the sb_ui.run_sb_app() command, or used for other purposes.

from face.easy_gen_struct import * 

filepath = "Your_Comm_Lang_filepath.txt"
base_gen_name = "name"
use_prng_for_prng_pr = 0.5

vector_files = ["your_vector_files.txt"]
cl_files = ["other_Comm_Lang_files_you_want_to_load_up.txt"]
consistent_PRNG_output = True | False 

cauto = TimeBasedCommLangFileGenerator(filepath,base_gen_name,\
    use_prng_for_prng_pr,vector_files,cl_files,consistent_PRNG_output)  
cauto.generate()

Last but not least, the TimeBasedCommLangFileGenerator can also be used to generate single PRNGs, from the list of PRNGs in the next section.

from face.easy_gen_struct import * 

S = one_T_random_struct("prng_name")

PRNG Categories in Comm Lang

Here is a list of PRNGs and their categories available for use in Comm Lang.

  • Class 0: LCGs and LCG form-fitters
    • lcg, lcgv2, lcgv3, mdrgen
  • Class 1: linear combination and polynomial-based
    • rch, idforest, udls
  • Class I: identity
    • echo
  • Class 2: multi-factored form-fitters with noise adders
    • ssino, gg, shadow
  • Class T: time-based (or 'real number exploder`)
    • pdd
  • Class D: differentials of form-fitters b/t two-dimensional points
    • fit22, lps
  • Class 3: stacked vector-based form-fitters with noise adders
    • n2m, afs
  • Class O: operation-based
    • optri, cshift, pmulti
  • Class V: quotient and polynomial differential form-fitters of vector inputs
    • qval, pid.

Statistical Tests for Randomness

In seqbuild, there are two primary tests to measure randomness of PRNGs: QUALTEST and CHAINTEST. The simplified usage of these two tests, besides from being commands in the Comm Lang user interface, is done through file<face.prng_stats>. Here is an example.

from face.prng_stats import * 

G = "your PRNG" 
ngram_info = "relatively small positive intiger or intigers" 
partition_size = "relatively small positive intiger" 

S = PRNGStats(G,ngram_info,partition_size)
S.run() 

q,c = S.latest_results()

print("QUALTEST SCORE")
print(q) 

print("CHAINTEST SCORE")
print(c) 

There are also input PRNG/output PRNG comparators in that file.

Disclaimer

The class<TimeBasedCommLangFileGenerator> is still in Alpha development. At some timestamps, the generated Comm Lang file may fail certain randomness measures.

Third-Party Python Libraries

numpy>=1.22.1 matplotlib>=3.5.3 scipy>=1.14.1 morebs2>=0.1.72 python-resources>=0.3

Metadata

Release files for seqbuild 0.0.78

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seqbuild 0.0.78
File Size Uploaded Provenance Actions
seqbuild-0.0.78.tar.gz 673.4 kB Without provenance Details for seqbuild-0.0.78.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for seqbuild 0.0.78
File Interpreter ABI Platform Actions
seqbuild-0.0.78-py3-none-any.whl Python 3 none any Details for seqbuild-0.0.78-py3-none-any.whl

Total release size: 1.4 MB

Release files / seqbuild-0.0.78.tar.gz

Download URL seqbuild-0.0.78.tar.gz
Size 673.4 kB
Tags Source
SHA-256 checksum
How to use checksums
45146431c5fd8f10d299c6b3d26bc38d53547fcb286e6511e9513caa890fa886
BLAKE2b-256 checksum
How to use checksums
b9023dc77faa5ee31ff6f501e8f1fd41476645ba74f40d2925c06397ee6aaed0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / seqbuild-0.0.78-py3-none-any.whl

Download URL seqbuild-0.0.78-py3-none-any.whl
Size 711.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6f4dde9eef243b5664a54f83c08f2c131dcff77aa194062da67f81d3c3eb0bf
BLAKE2b-256 checksum
How to use checksums
85c8ca25917c045430e1e89662bc5912aa741b91b609fdaab3814518204647ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for seqbuild 0.0.78

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.78 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page