semvec/pypi-packages huggingface dataset:
sixfabmetin 1.2.0
A sample Python project
Keywords: sample setuptools development

A sample Python project
=======================

A sample project that exists as an aid to the `Python Packaging User Guide
<https://packaging.python.org>`_'s `Tutorial on Packaging and Distributing
Projects <https://packaging.python.org/en/latest/distributing.html>`_.

This projects does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.

`The source for this project is available here
<https://github.com/pypa/sampleproject>`_.

Most of the configuration for a Python project is done in the ``setup.py``
file, an example of which is included in this project. You should edit this
file accordingly to adapt this sample project to your needs.

----

This is the README file for the project.

The file should use UTF-8 encoding and be written using `reStructuredText
<http://docutils.sourceforge.net/rst.html>`_. It
will be used to generate the project webpage on PyPI and will be displayed as
the project homepage on common code-hosting services, and should be written for
that purpose.

Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not
a good idea, although a simple "What's New" section for the most recent version
may be appropriate.
py-security-code 0.5
Security Code(equtity, option, bond etc..) of all Exchanges

Py Security Code
================

获取股票代码对应的详细信息

安装（Installation）
--------------------

.. code:: python

    pip install http+git@github.com:rainx/py_security_code.git

or

::

    pip install py-security-code

使用说明（Usage）
-----------------

导入

.. code:: python

    from security_code import ShenZhenStockExchange, ShangHaiStockExchange, SecurityTags

获取代码的信息，根据前3， 2， 1字节的信息

.. code:: python

    In [7]: ShenZhenStockExchange.get_xxx_type_by_code('000001')
    Out[7]: {'name': '主板 A 股', 'tags': ['a_share', 'stock']}

    In [8]: ShenZhenStockExchange.get_xx_type_by_code('000001')
    Out[8]: {'name': 'A股证券'}

    In [9]: ShenZhenStockExchange.get_x_type_by_code('000001')
    Out[9]: {'name': 'A股'}

判断代码是否属于某个标签

.. code:: python

    In [10]: ShenZhenStockExchange.has_tag('000001', SecurityTags.A_SHARE)
    Out[10]: True

    In [11]: ShenZhenStockExchange.has_tag('000001', SecurityTags.STOCK)
    Out[11]: True

    In [12]: ShenZhenStockExchange.has_tag('000001', SecurityTags.INDEX)
    Out[12]: False

提交PR
------

非常欢迎提交PR给本仓库，本仓库需要如下几方面的帮助：

1. 针对后续各个交易所的公告信息，修正和追加新的信息到 sse.yml , szse.yml
   等文件
2. 追加标签，目前针对
   xxx(1to3)级别的信息，会对代码段进行打标签，由于我本人不是金融专业，所以很多标签没有整理，建议增加更丰富的标签。
3. 提供更多的市场(尤其是数字编号的市场)支持，如港交所等...
sixfab 1.2.0
A sample Python project
Keywords: sample setuptools development

A sample Python project
=======================

A sample project that exists as an aid to the `Python Packaging User Guide
<https://packaging.python.org>`_'s `Tutorial on Packaging and Distributing
Projects <https://packaging.python.org/en/latest/distributing.html>`_.

This projects does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.

`The source for this project is available here
<https://github.com/pypa/sampleproject>`_.

Most of the configuration for a Python project is done in the ``setup.py``
file, an example of which is included in this project. You should edit this
file accordingly to adapt this sample project to your needs.

----

This is the README file for the project.

The file should use UTF-8 encoding and be written using `reStructuredText
<http://docutils.sourceforge.net/rst.html>`_. It
will be used to generate the project webpage on PyPI and will be displayed as
the project homepage on common code-hosting services, and should be written for
that purpose.

Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not
a good idea, although a simple "What's New" section for the most recent version
may be appropriate.
messy 0.0.0
Python project template.

messy
===========

[![](https://travis-ci.org/not4drugs/messy.svg?branch=master)](https://travis-ci.org/not4drugs/messy "Travis CI")
[![](https://codecov.io/gh/not4drugs/messy/branch/master/graph/badge.svg)](https://codecov.io/gh/not4drugs/messy "Codecov")
[![](https://img.shields.io/github/license/not4drugs/messy.svg)](https://github.com/not4drugs/messy/blob/master/LICENSE "License")
[![](https://badge.fury.io/py/messy.svg)](https://badge.fury.io/py/messy "PyPI")

In what follows `python3` is an alias for `python3.5` or any later
version (`python3.6` and so on).

Installation
------------

Install the latest `pip` & `setuptools` packages versions

```bash
python3 -m pip install --upgrade pip setuptools
```

### Release

Download and install the latest stable version from `PyPI` repository

```bash
python3 -m pip install --upgrade messy
```

### Developer

Download and install the latest version from `GitHub` repository

```bash
git clone https://github.com/not4drugs/messy.git
cd messy
python3 setup.py install
```

Bumping version
---------------

Install
[bumpversion](https://github.com/peritus/bumpversion#installation).

Choose which version number category to bump following [semver
specification](http://semver.org/).

Test bumping version

```bash
bumpversion --dry-run --verbose $VERSION
```

where `$VERSION` is the target version number category name, possible
values are `patch`/`minor`/`major`.

Bump version

```bash
bumpversion --verbose $VERSION
```

**Note**: to avoid inconsistency between branches and pull requests,
bumping version should be merged into `master` branch as separate pull
request.

Running tests
-------------

Plain

```bash
python3 setup.py test
```

Inside `Docker` container

```bash
docker-compose up
```

Inside `Docker` container with remote debugger

```bash
./set-dockerhost.sh docker-compose up
```

Bash script (e.g. can be used in `Git` hooks)

```bash
./run-tests.sh
```