python-zulip-api

  • Owner: zulip/python-zulip-api
  • Platform:
  • License:: Apache License 2.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Main metrics

Overview
Name With Ownerzulip/python-zulip-api
Primary LanguagePython
Program languagePython (Language Count: 3)
Platform
License:Apache License 2.0
所有者活动
Created At2017-07-06 17:25:46
Pushed At2025-04-07 19:14:43
Last Commit At
Release Count36
Last Release Name0.9.0 (Posted on )
First Release Name0.3.2 (Posted on )
用户参与
Stargazers Count372
Watchers Count30
Fork Count395
Commits Count2.5k
Has Issues Enabled
Issues Count174
Issue Open Count78
Pull Requests Count453
Pull Requests Open Count60
Pull Requests Close Count176
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private