Giter Site home page Giter Site logo

Comments (5)

epogrebnyak avatar epogrebnyak commented on August 25, 2024

48c4125 sets new file structure in src/kep2 and reduces dependencies. everything is run by runner.py + main section has own examples in each module.

Naming reference is mailman and BW style guide. Used from it: __all__, tentative 1 class per module.

Major TODO is restoring tests, but should be easier once the components are decoupled. After restoring tests will rename kep2 to kep.

from parser-rosstat-kep.

epogrebnyak avatar epogrebnyak commented on August 25, 2024

New file structure testing: (structure was changed. Ignore this comment)

  • emitter.py
  • helpers.py
  • label.py
  • parcer.py
  • reader.py
  • runner.py
  • specification.py
  • util_row_splitter.py
  • validator.py

from parser-rosstat-kep.

epogrebnyak avatar epogrebnyak commented on August 25, 2024

TODO:

  • check all csv2df/*.py modules have __all__ property.
  • check methods/classes in __all__ are tested
  • make new fixtures
  • prepare follow-up questions (xfail vs skip, ... )

from parser-rosstat-kep.

bakakaldsas avatar bakakaldsas commented on August 25, 2024

__all__ property in modules:

  • emitter.py
  • parser.py
  • reader.py
  • runner.py
  • specification.py - added empty needs to be filled
  • util_label.py
  • util_row_splitter.py - added empty needs to be filled
  • validator.py - added empty needs to be filled

from parser-rosstat-kep.

bakakaldsas avatar bakakaldsas commented on August 25, 2024

Tests by module:

  • emitter.py:
    • Emitter
  • parser.py
    • extract_tables
  • reader.py
    • Reader (skip)
    • open_csv
  • runner.py
    • get_dataframes
    • Vintage (skip)
    • Collection (skip)
  • specification.py
    #TODO __all__
  • util_label.py
    • make_label
    • split_label
    • extract_varname
    • extract_unit
  • util_row_splitter.py
    • (tested with doctest)
  • validator.py
    #TODO __all__

from parser-rosstat-kep.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.