Skip to main content

pyskeleton

更新说明

1.0.0

移除c语言扩展,本项目保持这样一个快速生成中小型python模块项目的功能的样子,不会再更新了。

0.4.0

updated to new structure and add a simple ctest submodule writed in c.

按照setuptools最新建议更新了新的结构写法,并加入了一个ctest小子模块用于测试c语言写的扩展。

0.3.6

小优化,还是加入了setup.cfg,某些情况下用户自行决定是否使用 python setup.py test 这样的测试方法。

0.3.5

现在pypi支持markdown了,做了一些调整。然后移除setup.cfg了。然后试着用twine来完善整个制作过程,和上传wheel包。

0.3.3

移除pyosreplace依赖,之前是为了解决python2的兼容性引入的,现在移除了,这样本模块现在不依赖任何模块了, 因为pyosreplace模块还需要调用c编译工具,所以决定移除了。

0.3.2

  1. 移除python2支持
  2. 移除pytest强制安装依赖,使用者如果有使用pytest需求,请自行安装之。推荐安装的有:pytest pytest-runner

不过 setup.cfg 这个文件还在,如果您有使用pytest需求,那么可以简单在tests文件夹下编写一些test文件,然后:

python setup.py test

这样做的好处是,其是直接利用本地修改的源码,也就是一边修改源码一边实时测试。

  1. 一般pypi包依赖都推荐在 requirements.txt 文件中管理,这更加简便,通过setup.py 有的时候会出一些问题,使用者根据requirements 自行决定pypi包安装方式,这样更灵活一些。

  2. 程序逻辑优化。

description:

a small tool make you creat new python project quickly.

install

python setup.py install

or

pip install pyskeleton

usage

pyskeleton newprojectname

test

use pytest do the test thing, with a little tweak, you can directly test the module like that, even do not need to build the module.

python setup.py test

Metadata

Release files for pyskeleton 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyskeleton 1.0.0
File Size Uploaded Provenance Actions
pyskeleton-1.0.0.tar.gz 8.4 kB Without provenance Details for pyskeleton-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyskeleton 1.0.0
File Interpreter ABI Platform Actions
pyskeleton-1.0.0-py3-none-any.whl Python 3 none any Details for pyskeleton-1.0.0-py3-none-any.whl

Total release size: 16.5 kB

Release files / pyskeleton-1.0.0.tar.gz

Download URL pyskeleton-1.0.0.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3e67d0702af55dc0a8c9d0ab00bccf02b079194f84c9b0c4a0b317cf222845e7
BLAKE2b-256 checksum
How to use checksums
ee8ddf033a889e203b28ee3a1e0a86ed628044e05584820aba7c688eab6b9540
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / pyskeleton-1.0.0-py3-none-any.whl

Download URL pyskeleton-1.0.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2a04439d59ad513acfcfaba70225c8ca5e1ccab315519d4fe050fcd7324cb88
BLAKE2b-256 checksum
How to use checksums
92e793c95c9305fe38bd89b3f0b7569680bd8e5f360fc395a8827031318ad83a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Security for pyskeleton 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page