Skip to main content

SPOTLIGHT

Ver

v0.0.8 DD 231219

목적

Spotlight upload를 위한 정형화된 전처리 자동화

작동방법

pip install spotlighter import spotlight as sl sl.run()

주요기능

  1. 전처리
  • Excel to Text
  • concatenate text
  • check text header (TEST)
  • Merge Text (i.e. BSEG+BKPF) (if already set df, automatically transferred to dfA)
  1. DF to SQL(IMPORT)
  • To Insert to SQL, Read columns'length
  • Create Table => with mySQL
  • Import file and Insert to DB
  1. MAIN RUN
  • Read text to dataframe
  • Auto_MAP : MAP_GL.xlsx 파일을 활용하여 columns 자동 매핑 + 추가
  • Modify mode(After Auto_MAP)
  • To recon G/L and T/B, export SUM(AMT LC)groupby Acct

3-1. MODIFY MOD

3-1-1. 전처리-전표금액

  • replace string (Kill comma, space, regex etc.)
  • Apply DC (차변은 +, 대변은 - 처리)
  • To Minus () or - : 문자열 () 또는 후위-인 경우 마이너스로 변환
  • Multiple 100 : 곱하기 100
  • FROM 전표금액 TO 차대금액 : signed 전표금액에서 unsigned 차변/대변을 생성한다.
  • FILLNA(0) : N/A를 0으로 채운다.
  • 자동수동 : 특정 컬럼값(전표성격, 사용자 등)이 특정 문자열(복수 가능)을 포함하는 행을 A로 지정

3-1-2. 전처리-기타

  • drop a column
  • drop duplicate
  • Change column name
  • Change column datatype
  1. SAVE TO..
  • Save text
  • Save a part of df(특정 계정과목 추출 등)
  1. 일반기능
  • MANUAL HANDLING - DEBUG
  • df.info()
  • df.head(10)

Help

FA&A 박형원

Release files for spotlighter 0.0.8

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

Source distribution (sdist)

Source distribution for spotlighter 0.0.8
File Size Uploaded
spotlighter-0.0.8.tar.gz 1.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for spotlighter 0.0.8
File Interpreter ABI Platform
spotlighter-0.0.8-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 2.2 MB

Release files / spotlighter-0.0.8.tar.gz

Download URL spotlighter-0.0.8.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
c228959790a80a45a4af579ca04722f0647598f0628f0023349953bfd3e55512
BLAKE2b-256 checksum
How to use checksums
ade225c1ff62c689a4c8c5829f93fc21a86daae2b53f82225eb6c212e366eb25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / spotlighter-0.0.8-py2.py3-none-any.whl

Download URL spotlighter-0.0.8-py2.py3-none-any.whl
Size 1.1 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ec7307499663295b1172e126564e691501cea6afdfcb88603b10e6f3110ebe15
BLAKE2b-256 checksum
How to use checksums
75e39066d67f79275e87975da1c01007ee9be3498b70de6ed0f44b9363db542f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

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