Projects STRLCPY dummy Commits 821ea05c
🤬
  • ■ ■ ■ ■ ■ ■
    LICENSE
     1 +The MIT License (MIT)
     2 + 
     3 +Copyright (C) 2023 Sterra Security Co.,Ltd.
     4 + 
     5 +Permission is hereby granted, free of charge, to any person obtaining a copy
     6 +of this software and associated documentation files (the "Software"), to deal
     7 +in the Software without restriction, including without limitation the rights
     8 +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
     9 +copies of the Software, and to permit persons to whom the Software is
     10 +furnished to do so, subject to the following conditions:
     11 + 
     12 +The above copyright notice and this permission notice shall be included in all
     13 +copies or substantial portions of the Software.
     14 + 
     15 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
     16 +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
     17 +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
     18 +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
     19 +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
     20 +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
     21 +SOFTWARE.
  • ■ ■ ■ ■ ■ ■
    README.md
     1 +# dummy
     2 +[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/sterrasec/dummy/blob/master/LICENSE)
     3 + 
     4 +Generator of static files for testing file upload functionality.
     5 + 
     6 +## Motivation
     7 + 
     8 + 
     9 +## Installation
     10 + 
     11 +Since `dummy` is implemented in Python, it can be installed with the pip command, which is a Python package management system.
     12 + 
     13 +```bash
     14 +$ pip install git+ssh://[email protected]/sterrasec/dummy.git
     15 +```
     16 + 
     17 +## Usage
     18 + 
     19 +```bash
     20 +$ dummy
     21 +```
     22 + 
     23 +```bash
     24 +$ dummy -h
     25 +usage: dummy [-h] [-t TEXT] [-b BYTES] file_path
     26 + 
     27 +Create a dummy file for testing.
     28 + 
     29 +positional arguments:
     30 + file_path Path to the generated file(.jpeg, .png, .pdf)
     31 + 
     32 +options:
     33 + -h, --help show this help message and exit
     34 + -t TEXT, --text TEXT Text to be written in the file
     35 + -b BYTES, --bytes BYTES
     36 + Bytes of file(.png only)
     37 +```
     38 + 
     39 +## License
     40 +MIT License
     41 + 
Please wait...
Page is in error, reload to recover