Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "pypi"
-
Pushed my first own open source project to Pypi as a python package.
Used tox and travis for the first time.
Feeling proud and super content 😊.
I'm in the process of creating another open source package, which has as dependency the first one 😅.
I love Python.6 -
Before a month I wrote I would like to create my own pastebin-like service.
And here it is... Pastitude!
End-to-end encrypted open-source service for sharing your awesome code :)
Tell me your opinions for this project in comments. Feel free to create an issue if you found any bug or have an idea how to improve Pastitude.
https://pastitude.com
GitHub link: https://github.com/PapiCZ/pastitude16 -
Best linux desktop environment?
---
I am going to reinstall my Arch Linux. It's time to try anything else than gnome.24 -
Spend almost 3 days translating a library from js to python, 2 hours to upload it to PyPI, 10 seconds realizing, that there is already a library that does the same thing + something a friend of mine is working to achieve. I am so fucking done...
(At least I some new learned stuff in JS and Python)1 -
I used to think that I had matured. That I should stop letting my emotions get the better of me. Turns out there's only so much one can bottle up before it snaps.
Allow me to introduce you folks to this wonderful piece of software: PaddleOCR (https://github.com/PaddlePaddle/...). At this time I'll gladly take any free OCR library that isn't Tesseract. I saw the thing, thought: "Heh. 3 lines quick start. Cool.", and the accuracy is decent. I thought it was a treasure trove that I could shill to other people. That was before I found out how shit of a package it is.
First test, I found out that logging is enabled by default. Sure, logging is good. But I was already rocking my own logger, and I wanted it to shut the fuck up about its log because it was noise to the stuffs I actually wanted to log. Could not intercept its logging events, and somehow just importing it set the global logging level from INFO to DEBUG. Maybe it's Python's quirk, who knows. Check the source code, ah, the constructors gaves `show_log` arg to control logging. The fuck? Why? Why not let the user opt into your logs? Why is the logging on by default?
But sure, it's just logging. Surely, no big deal. SURELY, it's got decent documentation that is easily searchable. Oh, oh sweet summer child, there ain't. Docs are just some loosely bundled together Markdowns chucked into /doc. Hey, docs at least. Surely, surely there's something somewhere about all the args to the OCRer constructor somewhere. NOPE! Turns out, all the args, you gotta reference its `--help` switch on the command line. And like all "good" software from academia, unless you're part of academia, it's obtuse as fuck. Fine, fuck it, back to /doc, and it took me 10 minutes of rummaging to find the correct Markdown file that describes the params. And good-fucking-luck to you trying to translate all them command line args into Python constructor params.
"But PTH, you're overreacting!". No, fuck you, I'm not. Guess whose code broke today because of a 4th number version bump. Yes, you are reading correctly: My code broke, because of a 4th number version bump, from 2.6.0.1, to 2.6.0.2, introducing a breaking change. Why? Because apparently, upstream decided to nest the OCR result in another layer. Fuck knows why. They did change the doc. Guess what they didn't do. PROVIDING, A DAMN, RELEASE NOTE. Checked their repo, checked their tags, nothing marking any releases from the 3rd number. All releases goes straight to PyPI, quietly, silently, like a moron. And bless you if you tell me "Well you should have reviewed the docs". If you do that for your project, for all of your dependencies, my condolences.
Could I just fix it? Yes. Without ranting? Yes. But for fuck sake if you're writing software for a wide audience you're kinda expected to be even more sane in your software's structure and release conventions. Not this. And note: The people writing this, aren't random people without coding expertise. But man they feel like they are.5 -
I'd like to create my own pastebin-like service...
So I'd like to ask which features do you miss (or hate) in these services?17 -
Guys, I have recently made a python package which is published on PyPI.
I am a very junior python lover 😍6 -
Made my first contribution to the Python package index. Contributing to open source has always been fun. DevRants, please check my module that I have contributed. Here is the link to PyPi - https://pypi.org/project/... and GitHub - https://github.com/browserium/...
Please post your feedback and comments so that I can improve my module and have a workaround across all the issues.1 -
I've made app that simplifies usage of https://transfer.sh.
You can install it via pip install pytransfer. Then you can easily upload file via transfer filename1 filename2 etc..
Feel free to try it.
-----
You can contribute to project at https://github.com/PapiCZ/... -
This guy named Tschache,Using a variation of typosquatting, he uploaded his code to 3 popular communities of developers–PyPi, RubyGems, NPM–and gave them names of the 214 most downloaded packages on.
As a result, over the span of few months, his sketchy code was executed on more than 17,000 domains and more than 45,000 times. Interestingly, more than half the time his code ran with complete administrative rights. His script was also found to affect .mil domains of the US military.
How cool he is!?
Source: http://incolumitas.com/data/...1 -
asl v0.1.3 has been released!
Full Windows compatibility and way lower timelapse times. Probably the best release so far.
Go on, pip install asl-screenlapse
(Way off target of https://devrant.com/rants/2251757/...)
Also probably the last cos you can just oneline it with ffmpeg: x11grab, speedup, direct output to file. So I'll write asl.sh. So simple I deserve no credit.
https://github.com/skuzzymiglet/...
https://pypi.org/project/...
https://github.com/skuzzymiglet/asl -
I just had to update a package on Pypi after a number of years. It's kind of a PITA.
And then I realized, it's still better than npm. Wild. -
We have Python. A very fast to use language.
We have a package warehouse with a lot of packet, PyPI.
Why for the rage of the Gods the upload procedure of a new package to PyPI need to be so LONG and not easily understood??2 -
asl v0.1.1 is out, and available on the PyPI!
pip install asl_screenlapse to install
(For description read https://devrant.com/rants/2184316/...)
https://github.com/skuzzymiglet/asl1 -
Okay so apparently pipy.org is unavailable.
Error 503
Now I have to go compile a library from github , fuck this and fuck them too5 -
v0.1.2.1 has been released! (bumped lat number cos pypi doesn't allow overwriting files even if release is deleted)
Screenshots work on Windows, and in v0.1.3 timelapses will work too, with ffmpeg bindings, so go on and download and update next week (my target for v0.1.3)!
https://github.com/skuzzymiglet/...
https://github.com/skuzzymiglet/asl -
asl has an example gif now:
(Previous post: https://devrant.com/rants/2234550/...)
https://github.com/skuzzymiglet/asl7 -
What do you think about btrfs? Is it stable enough?
I would like to switch from ext4 to btrfs, because of snapshot feature :) -
I have released my first PyPI project.
Take a look please and let me know what your think.
https://pypi.org/project/ydu/
https://github.com/Rotho98/ydu -
Okay, so I need a Twitter client library for my Python app. Surely there's a decent one out there, right?
> Goes to Twitter's developer site
There are links to nine different Github repos.
> Takes a look at the one with the most stars
Every method of the API class is @property decorated and returns the result of a function that creates an entirely new class, and then returns a new function that creates an instance of the new class and calls one of its methods that happens to actually make the damn API call.
Alright then...
> Takes a look at the one with the second most stars
All method names are PascalCased.
Please help😭 -
I’m trying to add caching functionality in my scalable spark cluster on Docker. I am able to add redis to my Docker container, but that doesn’t add redis-CLI or any other useful tools that I need. And there are some redis-cache projects on PyPi, but they are very old and not compatible with python3.5
-
Git, GitLab CI, and Python's SetupTools are pain, hell, and they ruined my day. I can't get my project onto PyPI because it constantly errors out. Ugh.3