Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zoomoid/pymocklib
A PYthON 3.10 lib thaT will MAkE you APpEAR WEaK ANd BUTT-HUrT on THe inTeRNET
https://github.com/zoomoid/pymocklib
functional-programming haskell python
Last synced: 27 days ago
JSON representation
A PYthON 3.10 lib thaT will MAkE you APpEAR WEaK ANd BUTT-HUrT on THe inTeRNET
- Host: GitHub
- URL: https://github.com/zoomoid/pymocklib
- Owner: zoomoid
- Created: 2021-12-27T10:32:28.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T09:47:59.000Z (about 2 months ago)
- Last Synced: 2024-09-16T10:59:35.708Z (about 2 months ago)
- Topics: functional-programming, haskell, python
- Language: Python
- Homepage:
- Size: 52.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pymocklib
This is a Python 3.10 port of , a library for manipulating human-readable message strings.
> _Disclaimer_: This library has **nothing to do with mocking in the software development world**. Rather, it takes mocking
> in a more literal sense of _mocking sth. or someone_. I want to excuse any confusion that arises from the somewhat
> overloaded term of _mocking_It does stuff like this:
```python
In [1]: import mockIn [2]: mock.to_random("pymocklib is a sick library. like sick as in ill")
Out[2]: 'PYMoCKlib is a SIcK LIBrary. LIkE siCK as in ILL'In [3]: mock.to_alternating("pymocklib is really dope. Like your mom, probably")
Out[3]: 'pYmOcKlIb is reAlLy doPe. LIKe yoUr moM, prObAbLy'In [4]: mock.to_pseudo_cyrillic("pymocklib is really dope. Like your mom probably")
Out[4]: 'pџmөcкlɪв ɪs яёдllџ dөpё. Lɪкё џөця mөm pяөвдвlџ'In [5]: print(mock.to_square("wtf?!"))
w t f ? !
t
f
?
!In [6]: print(mock.to_clap("what the actuall fucking shite?"))
what👏the👏actuall👏fucking👏shite?
```