a simple layout generator project
Project description
[](https://classroom.github.com/online_ide?assignment_repo_id=3611573&assignment_repo_type=AssignmentRepo) # simplelayout-generator
本次作业将实现生成器的数据生成部分,也就是 1-simplelayout-cli 中的主要逻辑部分。同时考察 package、module 的相关知识。
## 要求
目录结构为
` simplelayout │ ├─cli │ │ └─__init__.py │ │ └─cli_generate.py │ ├─generator │ │ └─__init__.py │ │ └─core.py │ │ └─utils.py `
符合 PEP 8 代码规范
将所需第三方 package 放到 requirements.txt 中
按照 TODO `提示完成相应功能点 1. `/simplelayout/cli/cli_generate.py 2. /simplelayout/cli/__init__.py 3. /simplelayout/generator/core.py 4. /simplelayout/generator/utils.py 5. /simplelayout/__main__.py
通过相应单元测试
目标:将`simplelayout`以脚本方式运行,接口参数与作业 1-simplelayout-CLI 一致,即
`bash python -m simplelayout --board_grid 100 --unit_grid 10 --unit_n 3 --positions 1 15 33 --outdir dir1/dir2 --file_name example `
## 参考
mat 文件存储 [scipy.io.savemat](https://docs.scipy.org/doc/scipy/reference/generated/scipy.io.savemat.html#scipy.io.savemat)
[__main__](https://docs.python.org/3/library/__main__.html)
## 评分标准
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simplelayout-aoweiie-1.0.0.tar.gz.
File metadata
- Download URL: simplelayout-aoweiie-1.0.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
694954662037db01270de6be47df0070e40aeac4553c275f1e71e689547523d5
|
|
| MD5 |
20d721d894d0654d056808a192a6f2af
|
|
| BLAKE2b-256 |
fed86ec4c3cf7ba5b8b0803f6b508ebf014c6c91ce804c4ee1269f449ab0f438
|
File details
Details for the file simplelayout_aoweiie-1.0.0-py3.7.egg.
File metadata
- Download URL: simplelayout_aoweiie-1.0.0-py3.7.egg
- Upload date:
- Size: 9.4 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4a3f4964e1324c86454f999e0d8b57e658d22699a7b825a41b686357f354363
|
|
| MD5 |
a63f28730487306e14f509875346ed98
|
|
| BLAKE2b-256 |
25b58f2fb7de1171a39305fc7ceaa2350038201615b79e30170875b8fbc4f83f
|
File details
Details for the file simplelayout_aoweiie-1.0.0-py3-none-any.whl.
File metadata
- Download URL: simplelayout_aoweiie-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90f86ce0b1149e831372fc75fb880c985980728d95332ad90a7bb4fbe2988342
|
|
| MD5 |
5213bfc276f8ec0266b5e7a000454dd0
|
|
| BLAKE2b-256 |
c2ecc28e9cce9a3787858523f9105e628718362f48249b2754538bd729c66fdc
|