Python package that mirrors the original Nodejs ReplAPI-It.

Overview

Python-ReplAPI-It

Python package that mirrors the original Nodejs ReplAPI-It.

Contributing

First fork the repo:

$ git clone https://github.com/ReplAPI-it/Python-ReplAPI-It.git
$ poetry install

Second, edit the code. Third, clean up the project:

$ isort .
$ flake8

Last, create a PR!

Comments
  • Made cycles!

    Made cycles!

    Hi! I don't know if this is what you guys(and by that I mean @BD103, @RayhanADev, and @JBYT27, super sorry for ping! Just needed to make sure people knew what I meant). I made the cycles grabber, and it works if you put in the right username.

    I don't know the name for the function, so I just made it getCycles, so one of you guys can change it.

    And if you wanna make the error, go ahead, I just think print is tidier and it exits the program without a bunch of other stuff.

    Thanks! I'll make more features!

    Priority: LOW Type: IMPROVEMENT 
    opened by darkdarcool 21
  • [BUG] ~ staging.replit.com/graphql doesn't support requests

    [BUG] ~ staging.replit.com/graphql doesn't support requests

    Describe the bug Making a standard request on staging.replit.com just returns the URL https://replit.slack.com/archives/C3AA56MFS/p1622838662154800.

    To Reproduce Steps to reproduce the behavior:

    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error

    Expected behavior Running CLASS.collect() returns a dictionary of the data, while running CLASS.collect_raw() returns JSON.

    Screenshots Screenshot 2021-06-08 08 38 45

    Desktop (please complete the following information):

    • OS: ChromeOS
    • Browser: Chrome
    • Version: Not sure

    Additional context This also breaks CLASS.collect(), because it cannot convert text to a dictionary.

    Priority: HIGH Status: COMPLETED Type: BUG 
    opened by BD103 16
  • [For Developers] Commit Guidelines

    [For Developers] Commit Guidelines

    Hello, everyone! We have some new people on the repo, specifically @darkdarcool and @JBYT27. Because of this, I would like to highlight the standards for committing to the repo. Let's get started:

    Committing Format

    All commits should follow Conventional Commits, a guideline followed by the entire project. What does this mean? All commits should be formatted like the following:

    <type>[optional scope]: <description>
    
    [optional body / long description]
    
    [optional footer(s)]
    

    Most of the time, Replit only supports a short description. Because of this, you would probably only insert line 1 of that sample. If you are making a commit on Github, then the long description is supported.

    What are types?

    The types represent what the commit is doing. For instance:

    • fix: A commit that patches a bug, but does not add any new features
    • feat: A commit that introduces a new type of feature to the code. This does not change anything, only adds on.
    • BREAKING CHANGE: (or you could also add an ! after the type / scope) introduces a change to the API. This means that it breaks pre-existing code.
    • chore: A commit that updates something in the repo that does not directly correlate to the code. (For instance updating README.md, changing Github Actions, etc.)
    • docs: A commit that updates the docs. Not much else here.

    There may be more types but ask RayhanADev.

    Scopes?

    Scopes represent a specific section to the type. They don't have to be anything specific and don't have to have been used before. They just help a reviewer easily tell where the change occurred in case the description is obscure. Some used scopes have been:

    • workflow
    • contribution (CONTRIBUTING.md)
    • repo (general changes)
    • readme (for README.md file)

    What about Pull Requests?

    That's a very good question. I myself am unsure what to do for PRs, but I assume that they follow the same format. Combine all the commits, and find the most important. (Breaking is more important than feat, and fix is more important than docs.)

    Semantic Version

    A common practice is to make this package follow SemVer or Semantic Versioning. Read over the specs here. They go in direct correlation with Conventional Commits. You guys will not probably have to worry about this, as I will be the one who packages and releases the versions. It's just nice to know.

    Closing

    I'm sorry for the word wall. After noticing the commit history was a mess I knew I had to do something, though. Please raise any questions in the comments, and remember to also read over CONTRIBUTING.md. Thanks!

    ~ BD103 :D

    Update

    Make the short description lowercase. I forgot to mention that!

    Type: DOCUMENTATION 
    opened by BD103 16
  • Ballad Lint and Test Action (WIP)

    Ballad Lint and Test Action (WIP)

    Finally adding Continuous Integration! I have designed a Python Package that simulates installing from a poetry.lock file. It's called Ballad. Here's what I did:

    • Created standard Github Action
    • Added linter with Black, Isort, and Flake8
    • It actually works!
    • Only runs for the master branch (which can be changed)
    • Because it's my project, I can add features that are requested
    Priority: LOW Status: COMPLETED Type: IMPROVEMENT 
    opened by BD103 16
  • [REQUEST] ~ Github Actions CI

    [REQUEST] ~ Github Actions CI

    Add continuous integration with Github Actions. Currently, this is a low priority because of the following:

    • This project uses Poetry for dependency management
    • Github Actions does not initially support Poetry
    • Installing Poetry works, but commands are not registered
      • For instance, even though it installed Isort, the isort command isn't available
      • This makes it very difficult to use all the dependencies necessary for the project
    Priority: LOW Status: COMPLETED Type: IMPROVEMENT 
    opened by BD103 15
  • Interesting!

    Interesting!

    Hey! I was just wondering @BD103, since I know python ~~and have no ideas~~, can I join this proj?

    If no, that's fine, I'll just leave a couple pull requests here and there

    Thanks!

    opened by darkdarcool 13
  • Repository Meta

    Repository Meta

    New contributors typically look to a CONTRIBUTING.md and CODE_OF_CONDUCT.md for how to contribute to a repository. Also be sure to specify a Commit Convention (or lack of one) so that commit history is clean. Lastly, if Python has a code linter and/or formatter you should include the setup for these and configuration files so that all your code remains clean and consistent.

    Speaking from experience I ran a repository for 3 months without the above and trying to make changes or consistency was a pain. Adopting these best practices will help you run this module smoothly!

    Priority: MEDIUM Status: COMPLETED Type: DOCUMENTATION 
    opened by rayhanadev 8
  • [REQUEST] ~ Documentation needed

    [REQUEST] ~ Documentation needed

    This looks like a cool project, but you seem to be lacking a documentation? I would recomend having it in the README file, and you should make sure it also goes on Pypi to.

    Type: REQUEST 
    opened by Isaiah08-D 4
  • [BUG] ~ Github to Replit sync

    [BUG] ~ Github to Replit sync

    Github to Replit sync broken I checked out our team repl for the python module, and tried both pulling and pushing. However, as this does happen, the sync has broke. I already left a message inside the repl, but I'm leaving an issue as well. You might want to import this GitHub repo in Replit.

    Just letting you know

    To Reproduce Steps to reproduce the behavior:

    1. Go to 'Version Control'
    2. Click on 'Pull'
    3. Click on 'Push' this time
    4. See error

    Expected behavior It's supposed to pull for you and push for you as it's synced, but it doesn't. It reacts like a null (lol).

    Screenshots Check the repl for more.

    Desktop (please complete the following information):

    • OS: ChromeOS
    • Browser: Chrome
    • Version: 91.0.4472.81 (i think)
    Priority: HIGH Status: COMPLETED 
    opened by kokonut27 4
  • Setup a Project Board

    Setup a Project Board

    You may want to setup a Kanban board in Projects to track issues and deadlines for your first release of the module. It might help keep things organized when transpiling the NodeJS package to a Python Module.

    Priority: LOW Status: COMPLETED Type: DOCUMENTATION 
    opened by rayhanadev 4
  • Upgrade to an HTTPS package

    Upgrade to an HTTPS package

    Previously when fetching the staging domain you could use HTTP requests (i.e. what the requests package uses) however when fetching the standard domain that is no longer the case. You need to use an HTTPS package. I would experiment with urllib, although I'm not sure if it supports https. Worst case scenario if nothing works you can use the native Python HTTPS APIs, make your own package (you only need GET and POST requests) and use that (it's what I did for the NodeJS package).

    opened by rayhanadev 3
Releases(v0.0.1)
Owner
The ReplAPI.it Project
Making Public API's and Packages for the Replit Community!
The ReplAPI.it Project
Python library for generating CycloneDX SBOMs

Python Library for generating CycloneDX This CycloneDX module for Python can generate valid CycloneDX bill-of-material document containing an aggregat

CycloneDX SBOM Standard 31 Dec 16, 2022
Fork of pathlib aiming to support the full stdlib Python API.

pathlib2 Fork of pathlib aiming to support the full stdlib Python API. The old pathlib module on bitbucket is in bugfix-only mode. The goal of pathlib

Jazzband 73 Dec 23, 2022
LinkML based SPARQL template library and execution engine

sparqlfun LinkML based SPARQL template library and execution engine modularized core library of SPARQL templates generic templates using common vocabs

Linked data Modeling Language 6 Oct 10, 2022
Chemical equation balancer

Chemical equation balancer Balance your chemical equations with ease! Installation $ git clone

Marijan Smetko 4 Nov 26, 2022
GDSC UIET KUK đź“Ť , welcomes you all to this amazing event where you will be introduced to the world of coding đź’» .

GDSC UIET KUK đź“Ť , welcomes you all to this amazing event where you will be introduced to the world of coding đź’» .

Google Developer Student Club UIET KUK 9 Mar 24, 2022
Moji sends text and fun facts from different APIs wit da use of a notification deamon

Moji sends text and fun facts from different APIs wit da use of a notification deamon. Can be runned via dmenu or rofi.

kshly 2 Jan 12, 2022
JHBuild is a tool designed to ease building collections of source packages, called “modules”.

JHBuild README JHBuild is a tool designed to ease building collections of source packages, called “modules”. JHBuild was originally written for buildi

GNOME Github Mirror 46 Nov 22, 2022
A dashboard for your code. A build system.

NOTICE: THIS REPO IS NO LONGER UPDATED Changes Changes is a build coordinator and reporting solution written in Python. The project is primarily built

Dropbox 763 Sep 09, 2022
A Snakemake workflow for standardised sc/snRNAseq analysis

single_snake_sequencing - sc/snRNAseq Snakemake Workflow A Snakemake workflow for standardised sc/snRNAseq analysis. Every single cell analysis is sli

IMS Bio2Core Facility 1 Nov 02, 2021
Customisable coding font with alternates, ligatures and contextual positioning

Guide Ligature Support Links Log License Guide Live Preview + Download larsenwork.com/monoid Install Quit your editor/program. Unzip and open the fold

Andreas Larsen 7.6k Dec 30, 2022
Astroquery is an astropy affiliated package that contains a collection of tools to access online Astronomical data.

Astroquery is an astropy affiliated package that contains a collection of tools to access online Astronomical data.

The Astropy Project 631 Jan 05, 2023
Additional useful operations for Python

Pyteal Extensions Additional useful operations for Python Available Operations MulDiv64: calculate m1*m2/d with no overflow on multiplication (TEAL 3+

Ulam Labs 11 Dec 14, 2022
Choice Coin 633 Dec 23, 2022
Streamlit component to display topics from Streamlit's community forum related to any exception.

streamlit-forum Streamlit component to display topics from Streamlit's community forum related to any exception. Installation pip install streamlit-fo

Snehan Kekre 7 Jul 15, 2022
Cairo-math-64x61 - Fixed point 64.61 math library for Cairo / Starknet

Cairo Math 64x61 A fixed point 64.61 math library for Cairo & Starknet Signed 64

Influence 63 Dec 05, 2022
A Tool to validate domestic New Zealand vaccine passes

Vaccine Validator Tool to validate domestic New Zealand vaccine passes Create a new virtual environment: python3 -m venv ./venv Activate virtual envi

8 May 01, 2022
Simplified web browser made in python for a college project

Python browser Simplified web browser made in python for a college project. Web browser has bookmarks, history, multiple tabs, toolbar. It was made on

AmirHossein Mohammadi 9 Jul 25, 2022
Writeup of NilbinSec's participation in the Winja CTF for c0c0n 2021

Winja-CTF-c0c0n-2021-Writeup NilbinSec's participation in the Winja CTF for c0c0n 2021 This repo covers NilbinSec's participation in the Winja CTF dur

1 Nov 15, 2021
Python library to natively send files to Trash (or Recycle bin) on all platforms.

Send2Trash -- Send files to trash on all platforms Send2Trash is a small package that sends files to the Trash (or Recycle Bin) natively and on all pl

Andrew Senetar 224 Jan 04, 2023
This is the core of the program which takes 5k SYMBOLS and looks back N years to pull in the daily OHLC data of those symbols and saves them to disc.

This is the core of the program which takes 5k SYMBOLS and looks back N years to pull in the daily OHLC data of those symbols and saves them to disc.

Daniel Caine 1 Jan 31, 2022