Skip to main content

더 캠프 인터넷편지 비공식 라이브러리

Project description

PyPIGitHubGitHub Workflow Status

thecampy - 더캠프 파이썬 라이브러리

thecampy는 parksb/the-camp-lib을 참고하여 제작된 대국민 국군 소통 서비스 더 캠프의 파이썬 라이브러리입니다.

파이썬으로 인터넷 편지를 보낼 수 있도록 구현되었습니다. 매 월요일 12시(UTC) 더 캠프 request code를 테스트합니다.

Description

thecampy는 parksb/the-camp-lib을 참고하여 제작되어 더캠프 인터넷 편지를 간단하게 보낼 수 있도록 만들어진 파이썬 라이브러리입니다.

Getting Started

Dependency

  • requests

Installing

  • pip install thecampy

Quickstart

import thecampy

my_soldier = thecampy.Soldier(

        '이름',

        '생일(yyyymmdd)',

        '입대일(yyyymmdd)',

        '부대명(ex: 육군훈련소)'

)

msg = thecampy.Message([제목], [내용(1500자 이하)])

image = thecampy.ThecampyImage('sample.png')

tc = thecampy.Client(email, pw)

tc.get_soldier(my_soldier) #returns soldier code

tc.send_message(my_soldier, msg, image)

Disclaimer

thecampy는 더캠프의 서비스업자와 관련이 없습니다. thecampy는 더캠프 서비스를 악용하는데에 사용할 수 없습니다. thecampy의 사용으로인한 책임은 전적으로 사용자에게 있습니다.

Contributors

lewisleedev

2minchul

OneTop4458

SyphonArch

Version History

  • 3.0.1

    • 55사단(용인) 부대코드 추가 (이메일 제안)
    • __init__.pyREADME.md에서 Client가 소문자로 시작하던 오류 수정
  • 3.0.0

    • login method 삭제 및 __init__으로 이전
    • docstring 추가
    • and lot more fixes, chores and refactors

License

This project is licensed under the MIT License - see the LICENSE file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thecampy-3.0.2.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

thecampy-3.0.2-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file thecampy-3.0.2.tar.gz.

File metadata

  • Download URL: thecampy-3.0.2.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for thecampy-3.0.2.tar.gz
Algorithm Hash digest
SHA256 e2155e14dc1e894c57a5e74076f98a92216a9768be92f27761d86c77f81aaa3a
MD5 91e4cbcd3dd29af73a9d9f0c11766a29
BLAKE2b-256 773ff565fa4145709a35a53f55e05fce240552bce7118cbd834fe5a7b522cc81

See more details on using hashes here.

Provenance

File details

Details for the file thecampy-3.0.2-py3-none-any.whl.

File metadata

  • Download URL: thecampy-3.0.2-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for thecampy-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4a1e16f20832c76e6e52344ee46ec572bee398d9eb4c46e7a72c681f0c960925
MD5 b0f12b27f5ae6e4ec97011e64e371ea7
BLAKE2b-256 5b5ea55104f9f162c66e5d2f042229ee40d3b425de3eef6c5252a53783f2dd52

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page