在这里添加简短描述!

sparklet的Python项目详细描述


火花

在这里添加简短描述!在

说明

你的项目的详细描述在这里。。。在

安装

为了建立必要的环境:

  1. conda的帮助下创建一个sparklet环境,
    conda env create -f environment.yaml
    
  2. 激活新环境 ^{pr2}$ 在
  3. 安装sparklet时使用:
    python setup.py install # or `develop`
    

可选且仅在git clone之后需要一次:

  1. 安装多个pre-commitgit挂钩:

    pre-commit install
    

    并检查.pre-commit-config.yaml下的配置。 git commit-n, --no-verify标志可用于暂时停用预提交钩子。在

  2. 安装nbstripoutgit钩子以删除已提交笔记本的输出单元格:

    nbstripout --install --attributes notebooks/.gitattributes
    

    这有助于避免由于笔记本中的绘图而产生较大的差异。 一个简单的nbstripout --uninstall将还原这些更改。在

然后查看scripts和{}文件夹。在

依赖性管理和再现性

  1. 始终在environment.yaml中更新抽象(未固定)依赖项,并最终 如果您以后想通过pip发送并安装软件包,请在setup.cfg中。在
  2. 创建具体的依赖项作为environment.lock.yaml,以便精确复制 环境:
    conda env export -n sparklet -f environment.lock.yaml
    
    对于多操作系统开发,请考虑在导出期间使用--no-builds。在
  3. 使用以下命令更新当前环境中的新environment.lock.yaml
    conda env update -f environment.lock.yaml --prune
    

项目组织机构

├── AUTHORS.rst             <- List of developers and maintainers.
├── CHANGELOG.rst           <- Changelog to keep track of new features and fixes.
├── LICENSE.txt             <- License as chosen on the command-line.
├── README.md               <- The top-level README for developers.
├── configs                 <- Directory for configurations of model & application.
├── data
│   ├── external            <- Data from third party sources.
│   ├── interim             <- Intermediate data that has been transformed.
│   ├── processed           <- The final, canonical data sets for modeling.
│   └── raw                 <- The original, immutable data dump.
├── docs                    <- Directory for Sphinx documentation in rst or md.
├── environment.yaml        <- The conda environment file for reproducibility.
├── models                  <- Trained and serialized models, model predictions,
│                              or model summaries.
├── notebooks               <- Jupyter notebooks. Naming convention is a number (for
│                              ordering), the creator's initials and a description,
│                              e.g. `1.0-fw-initial-data-exploration`.
├── references              <- Data dictionaries, manuals, and all other materials.
├── reports                 <- Generated analysis as HTML, PDF, LaTeX, etc.
│   └── figures             <- Generated plots and figures for reports.
├── scripts                 <- Analysis and production scripts which import the
│                              actual PYTHON_PKG, e.g. train_model.
├── setup.cfg               <- Declarative configuration of your project.
├── setup.py                <- Use `python setup.py develop` to install for development or
|                              or create a distribution with `python setup.py bdist_wheel`.
├── src
│   └── sparklet            <- Actual Python package where the main functionality goes.
├── tests                   <- Unit tests which can be run with `py.test`.
├── .coveragerc             <- Configuration for coverage reports of unit tests.
├── .isort.cfg              <- Configuration for git hook that sorts imports.
└── .pre-commit-config.yaml <- Configuration of pre-commit git hooks.

注意

这个项目是使用PyScaffold 3.2.3和dsproject extension0.4建立的。 有关PyScaffold的详细信息和使用信息,请参见https://pyscaffold.org/。在

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何通过解决错误“活动无法转换为片段”将片段传递给类构造函数?   Java中清理Code39条码数据的regex帮助   将java转换为C++   java无法在Android Studio中生成签名的apk,出现错误   从数学方程出发   MySQL和Java内存问题   如何强制Java抛出算术异常?   java为什么JDBC将零端口视为空(默认)端口?   java如何在没有“changelog主题”的情况下加入KStream和KTable   排序我尝试合并两个排序的数组,但得到的是java。lang.ArrayIndexOutofBounds异常:5无法找出原因   如何在java中求大长度矩阵的逆?   基于maven构建的java生成类路径字符串   java每20个字符分割一个字符串,然后将每个部分打印到控制台   将字符串数字字转换为字符串数字:Java   在特定区域使用混合类型的java填充字节数组   尽管java类在开关块中实例化,但它只能调用接口方法