Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip or conda installs? Use of DataFrames? #4

Open
sgbaird opened this issue Oct 25, 2021 · 0 comments
Open

pip or conda installs? Use of DataFrames? #4

sgbaird opened this issue Oct 25, 2021 · 0 comments

Comments

@sgbaird
Copy link

sgbaird commented Oct 25, 2021

Might be worth considering hosting via PyPI and/or Anaconda. For PyPI, something as simple as:
Create __init__.py:

"""<one-line description>"""
__version__ = "1.0.0"

Create ~/.pypirc

[distutils]
index-servers =
   pypi

[pypi]
repository = https://upload.pypi.org/legacy/
username = __token__
password = <my-pypi-token>

Then:

pip install flit
flit init
# double check `pyproject.toml` file
flit publish

See flit (I'm a user, not affiliated).

The code will also be a lot more portable if you enable the use of passing Pandas DataFrames (or similar) rather than depending on absolute or relative filepaths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant