DevOps-Python-tools

(★ 823)

80+ DevOps & Data CLI Tools - AWS, GCP, GCF Python Cloud Functions, Log Anonymizer, Spark, Hadoop, HBase, Hive, Impala, Linux, Docker, Spark Data Converters & Validators (Avro/Parquet/JSON/CSV/INI/XML/YAML), Travis CI, AWS CloudFormation, Elasticsearch, Solr etc.

  • .appveyor.yml
  • .checkov.yaml
  • .cirrus.yml
  • .coafile
  • .drone.yml
  • .editorconfig
  • .envrc
  • .envrc-python
  • .flake8
  • .gitallowed
  • .gitignore
  • .gitlab-ci.yml
  • .gitmodules
  • .ipython-notebook-pyspark.00-pyspark-setup.py
  • .ipython-notebook-pyspark.ipython_notebook_config.py.j2
  • .mdl.rb
  • .mdlrc
  • .pre-commit-config.yaml
  • .pylintrc
  • .pyup.yml
  • .sonarcloud.properties
  • .travis.yml
  • .yamllint
  • ambari_ams_metrics.sh
  • ambari_blueprints.py
  • ambari_cancel_all_requests.sh
  • ambari_trigger_service_checks.py
  • anonymize.py
  • anonymize_custom.conf
  • anonymize_ignore.conf
  • anonymize_parallel.sh
  • aws_s3_presign.py
  • aws_users_access_key_age.py
  • aws_users_last_used.py
  • aws_users_pw_last_used.py
  • aws_users_unused_access_keys.py
  • azure-pipelines.yml
  • bash-tools
  • bitbucket-pipelines.yml
  • boot
  • buddy.yml
  • center.py
  • cloudera_navigator_tables_used.py
  • cloudera_navigator_tables_used_postgres.py
  • codefresh.yml
  • crunch_accounting_csv_statement_converter.py
  • docker_pull_all_images.sh
  • docker_pull_all_images_all_tags.sh
  • docker_pull_all_tags.sh
  • docker_registry_show_tags.py
  • dockerfiles_check_git_branches.py
  • dockerfiles_check_git_tags.py
  • dockerhub_search.py
  • dockerhub_show_tags.py
  • find_active_apache_drill.py
  • find_active_apache_drill2.py
  • find_active_cassandra.py
  • find_active_elasticsearch.py
  • find_active_hadoop2_namenode.py
  • find_active_hadoop_namenode.py
  • find_active_hadoop_yarn_resource_manager.py
  • find_active_hbase_master.py
  • find_active_hbase_stargate.py
  • find_active_hbase_thrift.py
  • find_active_impala.py
  • find_active_impala_catalog.py
  • find_active_impala_statestore.py
  • find_active_kubernetes_api.py
  • find_active_oozie.py
  • find_active_presto_coordinator.py
  • find_active_server.py
  • find_active_solrcloud.py
  • find_duplicate_files.py
  • find_missing_files_in_sequence.py
  • gcp_service_account_credential_keys.py
  • getent.py
  • git_check_branches_upstream.py
  • hbase_compact_tables.py
  • hbase_flush_tables.py
  • hbase_generate_data.py
  • hbase_region_requests.py
  • hbase_regions_by_memstore_size.py
  • hbase_regions_by_size.py
  • hbase_regions_least_used.py
  • hbase_regionserver_requests.py
  • hbase_scan_table_column_names.sh
  • hbase_show_table_region_ranges.py
  • hbase_table_region_row_distribution.py
  • hbase_table_regions_by_regionserver.sh
  • hbase_table_regionserver_distribution.sh
  • hbase_table_row_key_distribution.py
  • hbase_uncompacted_regions.sh
  • hdfs_files_native_checksums.jy
  • hdfs_files_stats.jy
  • hdfs_find_replication_factor_1.py
  • hdfs_time_block_reads.jy
  • headtail.py
  • hexanonymize.py
  • hive_compute_table_stats.py
  • hive_foreach_table.py
  • hive_schemas_csv.py
  • hive_tables_column_counts.py
  • hive_tables_list.py
  • hive_tables_locations.py
  • hive_tables_metadata.py
  • hive_tables_null_columns.py
  • hive_tables_null_rows.py
  • hive_tables_row_column_counts.py
  • hive_tables_row_counts.py
  • hive_tables_row_counts_any_nulls.py
  • impala_compute_table_stats.py
  • impala_foreach_table.py
  • impala_schemas_csv.py
  • impala_tables_column_counts.py
  • impala_tables_list.py
  • impala_tables_locations.py
  • impala_tables_metadata.py
  • impala_tables_null_columns.py
  • impala_tables_null_rows.py
  • impala_tables_row_column_counts.py
  • impala_tables_row_counts.py
  • impala_tables_row_counts_any_nulls.py
  • ipython_notebook_pyspark.py
  • Jenkinsfile
  • json_docs_to_bulk_multiline.py
  • json_to_xml.py
  • json_to_yaml.py
  • jython_autoinstall.exp
  • jython_install.sh
  • kics.config
  • LICENSE
  • Makefile
  • opentsdb_import_metric_distribution.py
  • opentsdb_list_metrics.sh
  • opentsdb_list_metrics_hbase.sh
  • pig-text-to-elasticsearch.pig
  • pig-text-to-solr.pig
  • pig_udfs.jy
  • plot_uk_marriage_rates.py
  • pylib
  • python_find_library_path.py
  • pythonpath.py
  • quay_show_tags.py
  • README.md
  • requirements.txt
  • selenium_hub_browser_test.py
  • serf_event_handler.py
  • sonar-project.properties
  • spark_avro_to_parquet.py
  • spark_csv_to_avro.py
  • spark_csv_to_parquet.py
  • spark_json_to_avro.py
  • spark_json_to_parquet.py
  • spark_parquet_to_avro.py
  • sql
  • strip_ansi_escape_codes.py
  • templates
  • timeout.py
  • travis_debug_session.py
  • travis_last_log.py
  • urldecode.py
  • urlencode.py
  • validate_avro.py
  • validate_cson.py
  • validate_csv.py
  • validate_ini.py
  • validate_ini2.py
  • validate_json.py
  • validate_ldap_ldif.py
  • validate_multimedia.py
  • validate_parquet.py
  • validate_properties.py
  • validate_toml.py
  • validate_xml.py
  • validate_yaml.py
  • welcome.py
  • xml_to_json.py
  • xml_to_yaml.py
  • yaml_to_json.py

🚀 설치 가이드

1. 코드 내려받기
git clone https://github.com/HariSekhon/DevOps-Python-tools

깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.

cd DevOps-Python-tools

방금 내려받은 프로젝트 폴더 안으로 이동합니다.

2. 공식 설치 스크립트

쉬움 추천
사전 준비물
  • Homebrew macOS/Linux용 패키지 매니저입니다.
curl -L https://git.io/python-bootstrap | sh

공식 설치 스크립트를 다운로드해서 바로 실행합니다. 이 한 줄로 필요한 게 자동으로 설치됩니다.

brew install openssl wget

Homebrew로 이미 빌드된 패키지를 바로 설치합니다. 소스 빌드가 필요 없습니다.

설치 후 새 터미널을 열고, 프로그램의 버전 확인 명령(예: --version)으로 정상 설치됐는지 확인하세요.

이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.

3. Python

쉬움
사전 준비물
  • Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
  • Python 3 설치 시 'Add Python to PATH' 옵션을 꼭 체크하세요 (Windows).
sudo pip install -r requirements.txt

requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.

sudo pip install --index https://host.domain.com/api/pypi/repo/simple --trusted host.domain.com -r requirements.txt

requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.

sudo pip install --proxy hari:mypassword@proxy-host:8080 -r requirements.txt

requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.

sudo pip install --upgrade pip==9.0.1

requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.

sudo pip install --upgrade pip

requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.

에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.

이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.

4. Make

보통
사전 준비물
  • Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
  • Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
make

생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.

make anonymize.pyc

생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.

make jython

생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.

make update

생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.

make test

생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.

에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.

이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.

// repository documentation