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.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.1.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

thecampy-3.0.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: thecampy-3.0.1.tar.gz
  • Upload date:
  • Size: 11.7 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.1.tar.gz
Algorithm Hash digest
SHA256 85826c2b31ff5da880d323e9598cd03a5a9627dae6f4327e788d519a9ee20500
MD5 6d39161acf158a8928609af33e7bdbeb
BLAKE2b-256 ff6b3098e5aa58ccdd5db702c27ad7b87a812783781dd6b563bb9db6401e5283

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: thecampy-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4a68f56896a46539480e78c2278692314f425a3ec54acb43eac33f2e07459445
MD5 8e3208df6e04e1111ebc4fe72a82231f
BLAKE2b-256 cd9b23b15e49cac88a89cbdc85f8241c3dcf32d3d4f53351d51c30cdd1f18ad1

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