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.79

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.79
File Size Uploaded Provenance Actions
seqbuild-0.0.79.tar.gz 673.4 kB Without provenance Details for seqbuild-0.0.79.tar.gz

Built distribution (wheel)

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

Total release size: 1.4 MB

Release files / seqbuild-0.0.79.tar.gz

Download URL seqbuild-0.0.79.tar.gz
Size 673.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3ad160e83b6ada73352dfe385c3fce795d0c1b20a482fdec787c0abb3d255fd0
BLAKE2b-256 checksum
How to use checksums
eaae4f5f9ba3ac9e0ca93135e2ed65c05e5a3560c698563c50c9d42e4c0fb6cb
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.79-py3-none-any.whl

Download URL seqbuild-0.0.79-py3-none-any.whl
Size 711.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08a9bdff208dbc8f25cfdbeb1b28b8f253c07922d14172675ec8267dcc9a55bd
BLAKE2b-256 checksum
How to use checksums
556fadfe597858dd92412928c503f5d5b4bda395e0102f52dffd2399a61a50ee
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.79

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.79 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