Coder Social home page Coder Social logo

spreadsheetconverter's Introduction

Hi there 👋

spreadsheetconverter's People

Contributors

dependabot[bot] avatar yamionp avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

melpon

spreadsheetconverter's Issues

pip install に失敗する

setup.py で version_tuple = __import__('spreadsheetconverter').VERSION と書いていて、init.py が読まれ、その中で config.py を読み、その中にある import six で six が無いと怒られます。

$ python setup.py install
Traceback (most recent call last):
  File "setup.py", line 7, in <module>
    version_tuple = __import__('spreadsheetconverter').VERSION
  File "/test/dev/spreadsheetconverter/spreadsheetconverter/__init__.py", line 4, in <module>
    from .config import Config, YamlConfig
  File "/test/dev/spreadsheetconverter/spreadsheetconverter/config.py", line 5, in <module>
    import six
ImportError: No module named 'six'

handler から fields にアクセスしたい

handler はフォーマット出力を行う関係上、Config.rules['fields'] のデータにアクセスする可能性が高いです。
なので handler からアクセスできるようにして欲しいです。

一応、以下のように書くことで handler 内で fields を使えました。

fields: &fields
- column: ID
  name: 連番
  type: int
...
handler:
  type: test
  ...
  fields: *fields

が、fields の利用頻度は高いと思われるので、使えるようにして欲しいです。
(あるいは ConfigConfig.rules を直接使えるようなっててもいいです)

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.