Coder Social home page Coder Social logo

PyPi publishing? about androidframer HOT 6 CLOSED

faruktoptas avatar faruktoptas commented on June 14, 2024
PyPi publishing?

from androidframer.

Comments (6)

abc22413 avatar abc22413 commented on June 14, 2024 1

Could I try sending a draft to PyPi? I should be able to do it around 1 week

from androidframer.

faruktoptas avatar faruktoptas commented on June 14, 2024

@penn5 I haven't planned it yet. But it would be better to publish. PR's welcome to make the process faster :)

from androidframer.

faruktoptas avatar faruktoptas commented on June 14, 2024

@abc22413 yes please.

from androidframer.

abc22413 avatar abc22413 commented on June 14, 2024

Hi @faruktoptas thanks for getting back. I read this article: https://medium.com/@joel.barmettler/how-to-upload-your-python-package-to-pypi-65edc5fe9c56 and it seems like a few things must be decided before uploading to PyPi.

  1. Package Name
    As far as I am aware, I think that a hyphen in the package name would be problematic when importing the package and such. Thus, might it be possible to name the package "androidframer"?

If we choose "androidframer" as the package name, you would need to rename this repository "androidframer" as well or you could create another repository with the name "androidframer" to later upload to PyPi.

  1. PyPi Account
    To upload to PyPi we would need an account. As owner, would you like to make an account yourself or a shared account? The thing is that whenever a new release is pushed to PyPi, one would need to provide one's credentials (username and password).

  2. Docstrings
    Could I add docstrings to the functions and Framer class? It would help with documentation. I'm not 100% sure about what each function does but I'll try my best.

  3. Logging vs Printing
    I understand that in the start function, a print statement is run to alert the user that a folder was created if it did not exist. Could we switch this to logging instead of printing to console?

I've worked on preparing the repo for upload and will wait for your reply before opening a pull request. Thanks!

from androidframer.

faruktoptas avatar faruktoptas commented on June 14, 2024

Hi @abc22413 thank you for your detailed pre-work :)
Here are my answers:

  • androidframer package name is ok. I renamed the repo.
  • I've created my pypi account https://pypi.org/user/faruktoptas/ After setting up everything, I will publish it.
  • You can add docstrings. I will review it with PRs
  • It is ok .We can use logging.

from androidframer.

faruktoptas avatar faruktoptas commented on June 14, 2024

@penn5 PyPi publishing is done with the contribution of @abc22413 Thanks a lot :)
https://pypi.org/project/androidframer/

from androidframer.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.