A data mocking library for CCNU ACM
Project description
CCNUACM DataMocker
Description
This project is a data mocker for CCNUACM. It is written in Python.
Installation
To install the necessary dependencies, run the following command:
pip3 install ccnuacm-datamocker -U
Usage
Here is a basic example of how to use the data mocker:
from ccnuacm_datamocker.data_model import *
import ccnuacm_datamocker as dm
dm.set_seed(751)
dm.set_work_dir(".")
dm.set_compiler("D:/mingw/bin/g++.exe")
ds = DataSet(name="P751", std_path="./std/P751.cpp")
ds.add(Sequence(LowercaseCharSet() + DigitCharSet(), length=10, sep=''))
ds.add(Sequence(BinaryCharSet(), length=10, sep=' '))
ds.run()
Contributing
Contributions are welcome. Please submit a pull request or create an issue to discuss the changes you want to make.
License
This project is licensed under the MIT License.
Contact
If you have any questions, please feel free to post an issue.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ccnuacm_datamocker-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac3a7cfe58ff21a5073715075cc8864613d72d5cfa646bfc38f38473ec722284 |
|
MD5 | 4dc58ef794ab784e81f77b35017714b8 |
|
BLAKE2b-256 | cff32cb35307169e98f71c4c073b0fe14d172605b3d715fb07ce1be4050f1923 |