python-zulip-api

  • 所有者: zulip/python-zulip-api
  • 平台:
  • 许可证: Apache License 2.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Zulip API

Build status
Coverage status

This repository contains the source code for Zulip's PyPI packages:

The source code is written in Python 3.

Development

This is part of the Zulip open source project; see the
contributing guide
and commit guidelines.

  1. Fork and clone the Git repo:
    git clone https://github.com/<your_username>/python-zulip-api.git

  2. Make sure you have pip
    and virtualenv
    installed.

  3. cd into the repository cloned earlier:
    cd python-zulip-api

  4. Run:

    python3 ./tools/provision
    

    This sets up a virtual Python environment in zulip-api-py<your_python_version>-venv,
    where <your_python_version> is your default version of Python. If you would like to specify
    a different Python version, run

    python3 ./tools/provision -p <path_to_your_python_version>
    
  5. If that succeeds, it will end with printing the following command:

    source /.../python-zulip-api/.../activate
    

    You can run this command to enter the virtual environment.
    You'll want to run this in each new shell before running commands from python-zulip-api.

  6. Once you've entered the virtualenv, you should see something like this on the terminal:

    (zulip-api-py3-venv) user@pc ~/python-zulip-api $
    

    You should now be able to run any commands/tests/etc. in this
    virtual environment.

Running tests

To run the tests for

  • zulip: run ./tools/test-zulip

  • zulip_bots: run ./tools/test-lib && ./tools/test-bots

  • zulip_botserver: run ./tools/test-botserver

To run the linter, type:

./tools/lint

To check the type annotations, run:

./tools/run-mypy

主要指标

概览
名称与所有者zulip/python-zulip-api
主编程语言Python
编程语言Python (语言数: 3)
平台
许可证Apache License 2.0
所有者活动
创建于2017-07-06 17:25:46
推送于2025-04-07 19:14:43
最后一次提交
发布数36
最新版本名称0.9.0 (发布于 )
第一版名称0.3.2 (发布于 )
用户参与
星数372
关注者数30
派生数395
提交数2.5k
已启用问题?
问题数174
打开的问题数78
拉请求数453
打开的拉请求数60
关闭的拉请求数176
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?