mtproxy | Async Python MTProto Proxy | Proxy library

 by   i-Naji Python Version: 0.1.3 License: MIT

kandi X-RAY | mtproxy Summary

kandi X-RAY | mtproxy Summary

mtproxy is a Python library typically used in Networking, Proxy applications. mtproxy has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install mtproxy' or download it from GitHub, PyPI.

A fully OOP Asynchronous Python 3 MT-Proto proxy.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              mtproxy has a low active ecosystem.
              It has 15 star(s) with 3 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 2 open issues and 0 have been closed. On average issues are closed in 201 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of mtproxy is 0.1.3

            kandi-Quality Quality

              mtproxy has 0 bugs and 12 code smells.

            kandi-Security Security

              mtproxy has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              mtproxy code analysis shows 0 unresolved vulnerabilities.
              There are 15 security hotspots that need review.

            kandi-License License

              mtproxy is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              mtproxy releases are not available. You will need to build from source code and install.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 726 lines of code, 69 functions and 26 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed mtproxy and discovered the below as its top functions. This is intended to give you an instant insight into mtproxy implemented functionality, and help decide if they suit your requirements.
            • Handle a handshake
            • Decrypt the data
            • Add a new key to the key list
            • Generate a decryptor
            • Set TCP keepalive
            • Try to set a socket option
            • Handles the handshake
            • Encrypt data
            • Get the event loop
            • Try to setup uvloop
            • Runs the connection until the connection is closed
            • Disconnect from the proxy
            • Create a stream protocol
            • Setup file limit
            • Load configuration from a config file
            • Reply to stream
            • Default exception handler
            • Start the proxy
            • Show data
            Get all kandi verified functions for this library.

            mtproxy Key Features

            No Key Features are available at this moment for mtproxy.

            mtproxy Examples and Code Snippets

            MTProxy,Usage
            Pythondot img1Lines of Code : 61dot img1License : Permissive (MIT)
            copy iconCopy
            # config.ini
            
            #proxy settings
            [mtproxy]
            
            # port = 8585
            ## The Port that Proxy listening to. 8585 by default
            
            # fast_mode = ture
            # true by deaultif True, disables telegram to client traffic re-encryption, faster but less secure.
            
            # prefer_ipv6 = ture
              
            MTProxy,Installation
            Pythondot img2Lines of Code : 2dot img2License : Permissive (MIT)
            copy iconCopy
            $ pip3 install mtproxy
            
            $ pip3 install mtproxy[fast]
              

            Community Discussions

            QUESTION

            python telethon ConnectionError: Connection to Telegram failed 5 time(s)
            Asked 2020-Nov-17 at 09:01

            I'm trying to get every new message sent in a channel with python and then use the data to do some further processing. This is my code:

            ...

            ANSWER

            Answered 2020-Nov-17 at 09:01

            I don't know which part of my code was wrong, but as I saw many people had the same problem, I decided to post my solution. I could get telethon work very well with help of this article. And as I said telegram is blocked in my country so I could use MTProxy with help of telethon documentation at this part: 2.2.5 Using MTProto Proxies.

            Source https://stackoverflow.com/questions/64731859

            QUESTION

            Run MTProxy remotely by PHP exec on windows server
            Asked 2020-Mar-10 at 17:02

            I installed PM2 and node.js on the windows server to run JSMTProxy-master script.

            The command for the run proxy is: (pm2 start "JSMTProxy-master\mtproxy.js" -i max) and it executed successfully in the CMD window with no problem.

            Now I want to execute this command by PHP and exec.

            I tried this:

            ...

            ANSWER

            Answered 2020-Mar-10 at 17:02

            After trying different ways many times, Finally i found the problem. "PM2" doesn't execute under PHP exexc. It has to be with full path of exe files.

            I changed my command as below and it worked:

            Source https://stackoverflow.com/questions/60617713

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install mtproxy

            To install last stable release from pypi:.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install MTProxy

          • CLONE
          • HTTPS

            https://github.com/i-Naji/mtproxy.git

          • CLI

            gh repo clone i-Naji/mtproxy

          • sshUrl

            git@github.com:i-Naji/mtproxy.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Proxy Libraries

            frp

            by fatedier

            shadowsocks-windows

            by shadowsocks

            v2ray-core

            by v2ray

            caddy

            by caddyserver

            XX-Net

            by XX-net

            Try Top Libraries by i-Naji

            demo-pytdlib

            by i-NajiPython