Skip to main content

Formula editor tests

Make sure the relevant node modules are there:

 $ npm install yargs --exact
 $ npm install csv-parse --exact

Run the tests.

 $ make validation

elm make --output elm/FormulaParserValidation/tsformula_elm_parser.js --optimize \
	elm/FormulaParserValidation/Main.elm
Success!

    FormulaParserValidation.Main ───> elm/FormulaParserValidation/tsformula_elm_parser.js

...

--------------------------------------------------------------------------------
test_comma_on_str [OK]
ReturnTypes : Number, Series, Timestamp
  Operator selector : Series
    Operator : *
      Argument
        Input operator selector : Number
          ExpType : Number = 0.0572
      Argument
        ExpType : Union[Number, Series]
          Operator selector : Series
            Operator : series
              Argument
                ExpType : SearchString = "x"
              Options :
                OptionalArgument fill
                  ExpType : Union[String, Number]
                    ExpType : String = "a b"
                OptionalArgument limit
                  ExpType : Int
                OptionalArgument weight
                  Input operator selector : Number
                    ExpType : Number
--------------------------------------------------------------------------------

Going into elm/FormulaParserValidation:

 $ ./tsformula-elm-parser

tsformula-elm-parser <cmd> [args]

Commands:
  tsformula-elm-parser check            Check JSON specification
  tsformula-elm-parser inspect          Inspect JSON specification
  tsformula-elm-parser parse [catalog]  Parse formula CSV with name, code header

Options:
  --version   Show version number                                      [boolean]
  --spec, -s  JSON specification file                                 [required]
  --help      Show help                                                [boolean]

Missing required argument: spec

You can get the real spec file from http://<instance>/spec. You can get the formulas lilst from http://<instance>/downloadformulas.

Metadata

Release files for tsview 0.20.1

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

Built distribution (wheel)

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

Release files / tsview-0.20.1-py3-none-any.whl

Download URL tsview-0.20.1-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
613988491740d60827c5497e527f35add77645e0dc219a342b4b578534f80ace
BLAKE2b-256 checksum
How to use checksums
c0577b13ed82e731c4399ecb4e8ef04080c714dafeae4d97784f3c5db4a36377
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for tsview 0.20.1

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.

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