semvec/pypi-packages huggingface dataset:
baguwen-wiki 2022.11.20.0
ApacheCN 八股文知识库
Requires Python: >=3.6

# ApacheCN 八股文知识库

> 协议：[CC BY-NC-SA 4.0](http://creativecommons.org/licenses/by-nc-sa/4.0/)
> 
> 收割 SB 的人会被 SB 们封神，试图唤醒 SB 的人是 SB 眼中的 SB。——SB 第三定律

* [在线阅读](https://bgww.apachecn.org)
* [在线阅读（Gitee）](https://apachecn.gitee.io/doc-template/)
* [ApacheCN 学习资源](http://docs.apachecn.org/)
* [ApacheCN 翻译校对兼职群 713436582](https://jq.qq.com/?_wv=1027&k=VSNtgpjb)

## 贡献指南

请通过 ISSUE 提交想要收录的文章，负责人看到后就会处理。

## 写在前面

IT八股文是中国特色的东西之一，不用怀疑，北美、欧洲和土澳还是东南亚，没有任何一家公司面试考这个东西。它们习惯于考察系统架构设计，似乎更关心更大的架构而不是细节。也就是一个组件怎么在项目中使用，而不是它是怎么做出来的。

如果你跟我一样很幸运，没怎么背八股文就进入了IT行业，你会发现这些东西对编程，哦不，对于日常工作根本没啥卵用。很简单，如果你知道了 HTTP2 支持长连接，你会把许多数据塞进一个请求里面给前端吗？如果你又发现了当前使用的 HTTP 库不支持长连接（大多数库都是这样，标准和实现不完全统一），你会写个连接池来复用它吗？很遗憾，你还是跟大多数人一样，该怎么发请求就怎么发，因为这个对于整个项目毫无影响。

我之前对于八股文一向是逃避。现在我反思了自己的错误，有了新的认识。如果你不喜欢一个东西，最好的方式不是逃避，而是扛旗反旗，KILL THE GAME！虽然八股文对编程没啥卵用，不过另一方面，背八股文也不需要懂编程，这个就是问题的突破口。

敏捷宣言提倡了代码优先于文档。同样，放在面试中，就是算法题优先于八股文。因为，员工入职之后总是要写代码的，只会背八股文创造不了产出。那么，我们就可以把东西都放到台面上来，把八股文总结得足够详细，忽悠转行的人，培训班的人都来背八股文。等到我们培养了一大堆只会背八股文而不会干实事的人，公司必然会调整面试策略向算法题倾斜。

这算是劳方和资方得博弈，我相信一个两个人做不到，但我们作为 Github 百强社区，一定可以做到。KILL THE GAME！

## 联系方式

### 负责人

* [飞龙](https://github.com/wizardforcel): 562826179

### 其他

*   在我们的 [apachecn/baguwen-wiki](https://github.com/apachecn/baguwen-wiki) github 上提 issue.
*   发邮件到 Email: `apachecn@163.com`.
*   在我们的 [组织学习交流群](https://www.apachecn.org/#/docs/join) 中联系群主/管理员即可.

## 下载

### Docker

```
docker pull apachecn0/baguwen-wiki
docker run -tid -p <port>:80 apachecn0/baguwen-wiki
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install baguwen-wiki
baguwen-wiki <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g baguwen-wiki
baguwen-wiki <port>
# 访问 http://localhost:{port} 查看文档
```

## 赞助我们

![](http://data.apachecn.org/img/about/donate.jpg)
pyuserfox 0.0.2
Python command-line parsing library
Requires Python: >=3.7

The argparse module makes it easy to write user friendly command line interfaces.

The program defines what arguments it requires, and argparse will figure out how 
to parse those out of sys.argv. The argparse module also automatically generates 
help and usage messages and issues errors when users give the program invalid arguments.

As of Python >= 2.7 and >= 3.2, the argparse module is maintained within the Python 
standard library. For users who still need to support Python < 2.7 or < 3.2, it is also 
provided as a separate package, which tries to stay compatible with the module in the 
standard library, but also supports older Python versions.

Also, we can fix bugs here for users who are stuck on some non-current python version, 
like e.g. 3.2.3 (which has bugs that were fixed in a later 3.2.x release).


Bugs

If you find a bug in argparse (pypi), please try to reproduce it with latest python 2.7 and 3.4 (and use argparse from stdlib).

If it happens there also, please file a bug in the python.org issue tracker. If it does not happen there, file a bug in the argparse package issue tracker.
encolor 0.1.0
Easily automate colorizing terminal output
Requires Python: >=3.7

# Encolor
**encolor** is a simple tool that adds color to terminal output. To select which patterns to colorize, you can use simple, but extensible (complete support for Python regex) syntax.

## Installation
### Pre-built
You can install **encolor** from [PyPI](https://pypi.org/) using `pip`:

``` sh
pip install encolor
```

### Compile
Alternatively, you can compile the project yourself.

``` sh
git clone https://github.com/Froloket64/encolor.git --depth 1 ~/encolor # You can change "~/encolor" to any other dir
pip install ~/encolor
```

## Usage
You can use the app from terminal:

``` sh
# Standalone
encolor -r "def: red, \(|\): gray" sub "def main():"

# With a pipe
echo "def main():" | encolor -r "def: red, \(|\): gray" sub
```

Or use the functions from within your Python code:

``` python
from encolor import gfx

print(gfx.colorize_ansi("def main():", "red"))
```

You can see syntax specification on the Github Wiki page.

For full documentation on module functionality, please refer to the source code (for now).