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

Dependencies

  • Praw
  • pytz (for Posted date timezone stuff)

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for thecampy-3.0.0.tar.gz
Algorithm Hash digest
SHA256 3e292a8636db30f0f73d62c8c1eb51668cf64de3bba040aaeab7381c08d37997
MD5 eb22084009ba6ab764fc25d5706cb773
BLAKE2b-256 1cde3a4b0dc4642bee88f41cba281915eefaa3676973e2b6a1939cd844769388

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: thecampy-3.0.0-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.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for thecampy-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 453bf2464e7f5c9f14db243b40bc16ef6497d040c87f7cbe8038595462ef2431
MD5 c0f1daba3283ad479fb2eda2d9e2e83a
BLAKE2b-256 81cd43553b3e2fc0ebb2c8d5648496844bb81987d6f0d2e4d694397368169c19

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