We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 8 columns, instead of 5. in line 8.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
北海道労働局 平成30年4月30日 (株)清水組 北海道上川郡美瑛町 H29.5.17 労働安全衛生法第22条,労働安全衛生規則第577条 換気装置を設けることなく練炭を燃焼させた構造物内に労働者を立ち入らせて作業を行わせたもの H29.5.17送検 | |
北海道労働局 平成30年4月30日 (株)自動車検査場 北海道旭川市 H29.6.15 労働安全衛生法第61条,労働安全衛生法施行令第20条 トラクター・ショベルの運転を無資格の労働者に行わせたもの H29.6.15送検 | |
北海道労働局 平成30年4月30日 函館山ロープウェイ(株) 北海道函館市 H29.6.21 労働安全衛生法第20条,労働安全衛生規則第107条 ロープウェイの滑車の清掃作業を行わせるに当たり、作業者以外の者がロープウェイを運転しないよう起動装置を施錠する等の措置を講じなかったもの H29.6.21送検 | |
北海道労働局 平成30年4月30日 (株)檜山鐵工所 北海道旭川市 H29.6.23 労働安全衛生法第20条,労働安全衛生規則第250条 溶融している鉄を取り扱う工場建屋について水蒸気爆発を防止する構造としなかったもの H29.6.23送検 | |
北海道労働局 平成30年4月30日 野田工業(株) 北海道札幌市中央区 H29.9.13 労働安全衛生法第21条,労働安全衛生規則第518条 高さ5.2mの橋桁の上で、作業床を設けることなく労働者に補修作業を行わせたもの H29.9.13送検 | |
北海道労働局 平成30年4月30日 (株)丸ヨ吉住商店 北海道雨竜郡沼田町 H29.9.25 労働安全衛生法第21条,労働安全衛生規則第519条 高さ6.6mの屋根上で、安全帯を使用させることなく労働者にせっぴを落とす作業を行わせたもの H29.9.25送検 | |
北海道労働局 平成30年4月30日 東和レジスター札幌販売(株) 北海道札幌市東区 H29.10.6 最低賃金法第4条 労働者5名に、1か月間の定期賃金合計約72万円を支払わなかったもの H29.10.6送検 | |
北海道労働局 平成30年4月30日 (有)伯昭商事 北海道北斗市 H29.10.19 労働安全衛生法第20条,労働安全衛生規則第151条の7 フォークリフトに接触するおそれがある箇所に労働者を立ち入らせたもの H29.10.19送検 | |
北海道労働局 平成30年4月30日 (株)杉本運輸 北海道小樽市 H29.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Modified by Atsuyoshi Suzuki. | |
# This script is a modified version of Google's sample script. | |
# The license is the same as the original. | |
# | |
# Copyright 2018 Google Inc. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
北海道労働局 | |
青森労働局 | |
岩手労働局 | |
宮城労働局 | |
秋田労働局 | |
山形労働局 | |
福島労働局 | |
茨城労働局 | |
栃木労働局 | |
群馬労働局 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/local/bin/python3 | |
# coding: utf-8 | |
import sys | |
import pathlib | |
import csv | |
from natsort import natsorted | |
def find_entry(keyword, filepath): | |
'''ファイルからキーワードを検索して該当する最初の行を返す''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/local/bin/python3 | |
# coding: utf-8 | |
import re | |
import pathlib | |
def parse_page_range(filename, output_path=pathlib.Path('.'), pdf_filename=None): | |
'''pdftkコマンドの`dump_data_utf8`オプションの出力ファイルから目次(Bookmark)の情報を抽出してページ範囲を出力する''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
webdb_vol102.pdf | 表紙 | 1 | 2 | |
---|---|---|---|---|
webdb_vol102.pdf | 目次 | 3 | 6 | |
webdb_vol102.pdf | エンジニアよ、KADOKAWAで世界を目指せ【前編】 ◆編集部 | 7 | 10 | |
webdb_vol102.pdf | 読者プレゼント | 11 | 11 | |
webdb_vol102.pdf | 縁の下のUIデザイン【第5回】長くなりがちなコンテンツをどう見やすくするか ◆池田 拓司 | 12 | 13 | |
webdb_vol102.pdf | 継続は力なり【第10回】マネージャーマネジメント ◆ひげぽん | 14 | 15 | |
webdb_vol102.pdf | 『Emacs実践入門』出版記念イベント ◆編集部 | 16 | 16 | |
webdb_vol102.pdf | News Hot Line | 17 | 18 | |
webdb_vol102.pdf | ■特集1:はじめてのペアプロ/モブプロ | 19 | 19 | |
webdb_vol102.pdf | 第1章:ペアプロ/モブプロとは何か ◆和田 卓人、川口 恭伸 | 20 | 27 |
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 8 columns, instead of 3. in line 8.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
北海道労働局 平成30年3月31日 三雄建設(株) 北海道樺戸郡浦臼町 H29.4.24 労働安全衛生法第100条,労働安全衛生規則第97条 労働災害の発生状況を偽った労働者死傷病報告を提出したもの H29.4.24送検 | |
北海道労働局 平成30年3月31日 (株)清水組 北海道上川郡美瑛町 H29.5.17 労働安全衛生法第22条,労働安全衛生規則第577条 換気装置を設けることなく練炭を燃焼させた構造物内に労働者を立ち入らせて作業を行わせたもの H29.5.17送検 | |
北海道労働局 平成30年3月31日 (株)自動車検査場 北海道旭川市 H29.6.15 労働安全衛生法第61条,労働安全衛生法施行令第20条 トラクター・ショベルの運転を無資格の労働者に行わせたもの H29.6.15送検 | |
北海道労働局 平成30年3月31日 函館山ロープウェイ(株) 北海道函館市 H29.6.21 労働安全衛生法第20条,労働安全衛生規則第107条 ロープウェイの滑車の清掃作業を行わせるに当たり、作業者以外の者がロープウェイを運転しないよう起動装置を施錠する等の措置を講じなかったもの H29.6.21送検 | |
北海道労働局 平成30年3月31日 (株)檜山鐵工所 北海道旭川市 H29.6.23 労働安全衛生法第20条,労働安全衛生規則第250条 溶融している鉄を取り扱う工場建屋について水蒸気爆発を防止する構造としなかったもの H29.6.23送検 | |
北海道労働局 平成30年3月31日 (株)トラクション 北海道札幌市厚別区 H29.7.4 労働安全衛生法第20条,労働安全衛生規則第564条,労働者派遣法第45条 足場の組立ての範囲等を周知することなく労働者に足場の組立て作業を行わせたもの H29.7.4送検 | |
北海道労働局 平成30年3月31日 野田工業(株) 北海道札幌市中央区 H29.9.13 労働安全衛生法第21条,労働安全衛生規則第518条 高さ5.2mの橋桁の上で、作業床を設けることなく労働者に補修作業を行わせたもの H29.9.13送検 | |
北海道労働局 平成30年3月31日 (株)丸ヨ吉住商店 北海道雨竜郡沼田町 H29.9.25 労働安全衛生法第21条,労働安全衛生規則第519条 高さ6.6mの屋根上で、安全帯を使用させることなく労働者にせっぴを落とす作業を行わせたもの H29.9.25送検 | |
北海道労働局 平成30年3月31日 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from reportlab.pdfgen import canvas | |
from reportlab.pdfbase import pdfmetrics | |
# from reportlab.rl_config import defaultPageSize | |
from reportlab.lib.pagesizes import A4, landscape | |
from reportlab.pdfbase.cidfonts import UnicodeCIDFont | |
from reportlab.lib.colors import red,black | |
from reportlab.lib.units import cm | |
from pdf2image import convert_from_path, convert_from_bytes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
イラク後送業務隊 | 060720.pdf | 6 | |
---|---|---|---|
イラク後送業務隊 | 060721.pdf | 4 | |
イラク後送業務隊 | 060722.pdf | 5 | |
イラク後送業務隊 | 060723.pdf | 5 | |
イラク後送業務隊 | 060724.pdf | 7 | |
イラク後送業務隊 | 060725.pdf | 7 | |
イラク後送業務隊 | 060726.pdf | 5 | |
イラク後送業務隊 | 060727.pdf | 7 | |
イラク後送業務隊 | 060728.pdf | 5 | |
イラク後送業務隊 | 060729.pdf | 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pdf2image import convert_from_path, convert_from_bytes | |
import tempfile,os,sys | |
from pathlib import Path | |
import io | |
from time import sleep | |
from google.protobuf.json_format import MessageToJson | |
from google.cloud import vision | |
from retry import retry |