Code Monkey home page Code Monkey logo

bible's Introduction

성경 통독 프로젝트

  • 성경 통독을 돕기 위한 html 생성 프로젝트입니다.

Current version

  • (Mar, 17th, 2020 기준):
    • 가독성 향상!
    • 성경 mdb 파일 받아서, pandas DataFrame으로 변환, 데이터 클리닝해서, 티스토리에 붙일 html 생성!
    • 기존에 복붙으로 생성한 페이지가 넘 읽기 힘들어서,
    • 지금은 이렇게까지 만들었습니다.
    • 아래 코드 블럭은 main.py 구조.
import pandas as pd
import bibleFunction as bf
import tistory as ts
import subprocess

# 성격판본, book 이름, chapter 리스트를 입력받음.
# version 선택지: 새번역, 개역개정, NIV

request = { 'version':['새번역','NIV'], 
            'book':'사무엘상', 
            'chapter':['4','5','6','7','8']}

# DataFrame 해당 버전 가져오기
dfList = bf.getDataFrame(request)

# df에서 티스토리에 복붙할 html 코드 생성
html = ts.getHTMLdoc(dfList, request)

print(html)

# 코드 돌리고 나면 macOS clip보드에 붙이기.
subprocess.run("pbcopy", universal_newlines=True, input=html)

Next version?

  1. 구절별 like 기능도 넣을 수 있나?
  2. 현재는 html블럭을 만들어서 tistory에 붙여넣고 있는데, github static webstie (=jekyll)로 바꿀 수 있나? 티스토리의 유튜브링크 기능, 이미지 게시 기능을 구현할 수 있으면 전용웹을 만드는 것도 좋을 것 같음.
  3. 월별 통독표를 가지고 자동으로 html 페이지를 생성해줄 수 있게?
  4. 확 앱을 만들어 버려? Swift 프로젝트 고고싱!

bible's People

Contributors

neuralprobe avatar chulhyuni85 avatar

Watchers

 avatar

bible's Issues

코드 마이너 개선 계획!

  1. GUI로 버전, 책이름, 장이름 입력하기??

  2. 월별 통독 pdf 읽어서 페이지 싹다 만들어내기?? (굳이 할 필요 있을까 싶기도 하지만...ㅋㅋ)

Plan!

swift공부하고, 갖고 놀아보기.

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.