-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from codePerfectPlus/dev
updating cli
- Loading branch information
Showing
24 changed files
with
638 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<a href="https://pypi.org/project/random-profile/"> | ||
Random Profile Generator | ||
</a> | ||
V1.0.0 | ||
V1.0.1 | ||
</h1> | ||
|
||
<h4 align="center">Python Module To Generate Random Profile Data</h4> | ||
|
@@ -19,27 +19,34 @@ | |
<img src="https://img.shields.io/pypi/dw/random-profile.svg"> | ||
<img src="https://img.shields.io/pypi/dm/random-profile.svg"> | ||
</p> | ||
<p align="center"> | ||
<p align="center"> | ||
|
||
<img alt="GitHub pull-requests" src="https://img.shields.io/github/issues-pr/Py-Contributors/RandomProfileGenerator"> | ||
|
||
<img alt="GitHub forks" src="https://img.shields.io/github/forks/Py-Contributors/RandomProfileGenerator"> | ||
<img alt="GitHub forks" src="https://img.shields.io/github/forks/Py-Contributors/RandomProfileGenerator"> | ||
|
||
<img alt="contributors" src="https://img.shields.io/github/contributors/Py-Contributors/RandomProfileGenerator"> | ||
<img alt="contributors" src="https://img.shields.io/github/contributors/Py-Contributors/RandomProfileGenerator"> | ||
|
||
<img alt="GitHub stars" src="https://img.shields.io/github/stars/Py-Contributors/RandomProfileGenerator"> </p> | ||
|
||
|
||
[RandomProfile](https://pypi.org/project/random-profile/) is a powerful and simple tool to generate fake data. You can use it to mock classes, populate databases and much more. You can check the full documentation here. Check on [Pypi](https://pypi.org/project/random-profile/) | ||
|
||
```sh | ||
pip install random-profile | ||
``` | ||
|
||
## Documentation | ||
|
||
Documentation is available at [ReadTheDocs](https://randomprofilegenerator.readthedocs.io/en/latest/) | ||
Full Documentation is available at [ReadTheDocs](https://randomprofilegenerator.readthedocs.io/en/latest/) | ||
|
||
## Upcoming Features | ||
|
||
- Support for more languages | ||
- More Data Fields | ||
- More Data Types | ||
- Make it more user friendly and easy to use | ||
- Make it more efficient and faster | ||
- Cython Support | ||
|
||
## Changelog | ||
|
||
|
@@ -51,10 +58,14 @@ Check the [Contributing](/CONTRIBUTING.md) for the contribution guidelines. | |
|
||
## License | ||
|
||
The project is licensed under the <a href="/LICENSE">MIT</a> license. | ||
The project is licensed under the <a href="/LICENSE">MIT</a> license. | ||
|
||
## Contributors | ||
|
||
<a href="https://github.com/codePerfectPlus/awesomeScripts/graphs/contributors"> | ||
<img src="https://contrib.rocks/image?repo=codePerfectPlus/randomprofilegenerator" /> | ||
</a> | ||
|
||
## Sponsor | ||
|
||
Email: [Pycontributors](mailto:[email protected]) for sponsorship details. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Run as server | ||
============= | ||
|
||
To run as a server, you need to specify the port to listen on: | ||
|
||
|
||
.. code-block:: bash | ||
default port is 8000 | ||
$ rp --server --port 8080 | ||
This will start a server on port 8080. You can then use the client to connect to it: | ||
|
||
Test it with postman | ||
|
||
.. code-block:: bash | ||
$ curl -X GET http://localhost:8080/ -H 'Content-Type: application/json' | ||
Interactive Api Documentation | ||
|
||
`http://localhost:<port>/docs` | ||
|
||
API Endpoints | ||
------------- | ||
|
||
`localhost:8000/api/v1/random_profile/full_profile?num=10` | ||
`localhost:8000/api/v1/random_profile/first_name?num=10` | ||
`localhost:8000/api/v1/random_profile/last_name?num=10` | ||
`localhost:8000/api/v1/random_profile/full_name?num=10` |
Oops, something went wrong.