Skip to main content

Introduction

Take Blip Scanner - Finite State Machine implentation for Text Scanner

Getting Started

  • Use suggested conda env inside 'conda_env' folder

    • Create: conda env create --file conda_env\take_scanner.yml
    • Update: conda env update --file conda_env\take_scanner.yml
  • Run 'python -m build' in terminal to create a local distribution

    • Will create 'dist' folder with lattest version of TakeBlipScanner
  • Install it

    • pip install dist\take-blip-scanner-X.Y.Z.tar.gz
  • run benchmark with 'python benchmark\benchmark_lex.py benchmark\benchmark.txt 10 0'

    • 'benchmark\benchmark.txt' is the bench file
    • '10' - is the number of runs to generate statistics
    • '0' - is the benchtype: 0 - full bench, 1 - just the Scanner Lexycal, 2 - just the SentenceTokenizer
  • if outputs looks liks bellow, everyting is ok

    START: Benchmark

    Lexycal_2 >> With 3 runs, takes 1.295s * 0.147; Median: 1.212

    Lexycal_3 >> With 3 runs, takes 1.224s * 0.029; Median: 1.235

    SentenceTokenizer >> With 3 runs, takes 1.811s * 0.010; Median: 1.812

    00:00:13

    END: Benchmark

Build and Test

  • BUILD - run 'python -m build'
  • TEST - Two steps:
    • install local package ´pip install dist\take-blip-scanner-X.Y.Z.tar.gz´
    • run 'pytest'

Contribute

TODO: Explain how other users and developers can contribute to make your code better.

Release files for take-blip-scanner 0.0.14

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

Source distribution (sdist)

Source distribution for take-blip-scanner 0.0.14
File Size Uploaded
take-blip-scanner-0.0.14.tar.gz 9.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for take-blip-scanner 0.0.14
File Interpreter ABI Platform
take_blip_scanner-0.0.14-py3-none-any.whl Python 3 none any Details

Total release size: 22.2 kB

Release files / take-blip-scanner-0.0.14.tar.gz

Download URL take-blip-scanner-0.0.14.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0479ac74654331910cbe605f8df048999cc848e7a4f681fe35ce278bec0ce6e9
BLAKE2b-256 checksum
How to use checksums
582bb162d8a096c57cea5360f5af71e27abd5eb61e4debda452c6b9426b671d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.8

Release files / take_blip_scanner-0.0.14-py3-none-any.whl

Download URL take_blip_scanner-0.0.14-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
516eed8efef0d82d6de61a6a7f422a0882dbf28e9f935d093886ffc836383ad3
BLAKE2b-256 checksum
How to use checksums
1770bfe84d1bb4b3841625a61fa78c8d128e7092a3e05a148856e25de5500b52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.8

Release history Release notifications | RSS feed

This release

0.0.14 This release

2 release files

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