23
github
7y

Spent weekend building DevRant Api Wrapper in Python.
Link: https://github.com/aayush26/pirant
How to Install(tested in Python 2.7):
sudo python -m pip install pirant==0.1.3.dev1

Currently, only features to getRants. More features coming soon....

Comments
  • 4
    Why does one still build stuff which works for python 2...get over it use python 3 haha
  • 0
    don't we already have one?
  • 1
    @ThoughtfulDev I haven't tested with python 3, but it should be working fine with 3 too.
  • 2
    @calmyourtities if there is already one, please do share link.( I think I didn't see any wrapper python in devrant unofficial project list)
    My intentions are to learn PyPi, Travis CI, codecov, creating python modules. And thought devrant api wrapper will be the easiest way to learn and complete in few weekends.. just as timepass.
  • 0
  • 0
    @github looks to be very minimal, you should make a better one
  • 0
    @github looks to be very minimal, you should make a better one
  • 2
    @calmyourtities yup. I know. I was having hard time fixing my modules for making it work properly through pip. But, right now I need few for settings like CI, codecov, and then will finish the remaining APIs. I am pretty much sure that the coding part for remaining APIs will take max 2 days. So, if all goes well, it will be completed in next weekend.
  • 0
    @github have you considered writing psuedocode and passing it off as python?
  • 2
    @calmyourtities thanks for sharing the link. His work is nice but he hasn't uploaded to PyPi. Mine supports pip install.
    My intention is to learn to create proper modules and role out codes following best coding practices I can get online without any peer review..
  • 2
    @calmyourtities since there are already tons of devrant api wrappers, I haven't wrote any pseudocode, I am just looking into each of them on how others have implemented. Specifically, I followed JavaScript one, Go one and JavaRant which were great for reference.
  • 1
    @github haha, no it was a joke because python is so much like english that its almost psuedocode
  • 2
    @calmyourtities oh.. hihi.. missed that one..
    Though it's more like English, I find it easier to understand compared to ruby which was also meant for same purpose but hard to understand..
    Python is simply amazing when it comes to build prototypes.
  • 0
    @github i find it easier to understand than assembly.
  • 1
    @calmyourtities haha.. assembly is another level. Around 3 years back, I was working on embedded programming and dealt with few assembly codes.. was a nightmare..
    Very happy to be able to survive staying away from assembly.. 😀
  • 1
    @github i love assembly, its practically machine code that I can write
  • 2
    @calmyourtities thats nice. Having knowledge in Assembly improves understandability about the hardware architecture of the system and provides in depth view.
    Btw, what sorts of assembly language (different architectures) you have worked on?
    I was working on ARM7 architecture.
  • 1
    @github I've used NASM for x86 on 64bit systems, and I feel like I'm missing something, why does everyone want to learn ARM?
  • 2
    @calmyourtities For me, ARM wasn't my choice. I was in a University project and we used that. I wanted to try NASM, but then left assembly completely.
    But, one big advantage of working on ARM is that almost all different architectures of ARM uses similar library pattern. So, if you work on ARM7, you can easily implement for ARM cortex series, ARM A series, M series. It can be really helpful in the evolving mobile industries with ARM architecture exposure..
  • 0
    @github more than anything I've wanted to learn CUDA but I don't like nVidia because of how it doesn't want to support linux
  • 1
    @calmyourtities I wasn't aware of that. I knew people uses nVidia for gaming purpose in Windows. But didn't know it doesn't support Linux. That's really bad then.
    Cuda is also evolving past 1-2 years. I want to write and run deep learning programs(like tensorflow) in GPU. Planning to buy one hardcore desktop soon.
  • 0
    @github have you seen Linus Torvalds point his middle finger? It was intended for nVidia. And, of course nVidia supports it, but they dont make much of an effort. From what I've heard, their graphics cards work about 50% of the time with Linux.
  • 2
    @calmyourtities oh. Have to read about it then. AMD should also start working on something like CUDA. GPUs are in high demand, considering there increasing usage for big data computation. If AMD doesn't step up.. nVidia will get a clear dominance.
  • 1
    @github well AMD does support linux well, so if people have to, they may use OpenCL. It's basically a race for AMD to make its own CUDA or nVidia to support linux better
  • 2
    @calmyourtities ya. Just read about how nVidia open source driver community works. And it seems the new 900 series will be even worse for open source folks. It will be extremely difficult to build Open source drivers now.
    Let's see how the race evolves between nVidia and AMD
  • 0
    @github Intels CPUs have been on the decline, I heard they were gonna go into storage but maybe they'll go for the GPU department. I personally have an AMD Radeon and Intel 620 installed on my laptop. (My laptop was one of the best deals I've ever had, it came with two graphics cards and only said it came with one).
  • 2
    @calmyourtities if I am correct, recently I saw a video where intel introduced a new sort of memory, a hybrid between non volatile and volatile. Seems to offer larger space with faster access.
    Intel CPUs are used in almost all PCs. I don't think it will fade away soon.
    (Even mine is AMD{forgot the model}+ intel{not iris series})
  • 1
    @github AMD is making progress in the CPU market, although it's still got ways to go in the market, but AMD will probably become cheaper if it ever gets to Intels level.
  • 1
    @github @calmyourtities Get a room you two 😆
Add Comment