From 0fa3cfb2e323b00c3aefd4258b3f7135df472650 Mon Sep 17 00:00:00 2001 From: Lonami Date: Thu, 31 Aug 2017 16:01:30 +0200 Subject: [PATCH] Created Philosophy (markdown) --- Philosophy.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Philosophy.md diff --git a/Philosophy.md b/Philosophy.md new file mode 100644 index 0000000..4250282 --- /dev/null +++ b/Philosophy.md @@ -0,0 +1,7 @@ +The intention of the library is to have an existing MTProto library existing with hardly any dependencies (indeed, wherever Python is available, you can run this library). + +Being written in Python means that performance will be nowhere close to other implementations written in, for instance, Java, C++, Rust, or pretty much any other compiled language. However, the library turns out to actually be pretty decent for common operations such as sending messages, receiving updates, or other scripting. Uploading files may be notably slower, but if you would like to contribute, pull requests are appreciated! + +If `libssl` or `sympy` is available on your system, the library will make use of them to speed up some critical parts such as encrypting and decrypting the messages. Files will notably be sent and downloaded faster. + +The main focus is to keep everything clean and simple, for everyone to understand how working with MTProto and Telegram works. Don't be afraid to read the source, the code won't bite you! It may prove useful when using the library on your own use cases.