Skip to main content

Share files like a dev.

Project description

bhej

Share files like a dev.

Installation

To install this cli to your environment, just run...

pip install bhej

...and you're good to go!

Usages

To upload a file, just run the following.

bhej up <filename>
# You'll receive a 6 digit code to share.
# You'll also get a link that you can directly download from.

To download a file, just run the following.

bhej down <code> # Use the 6 digit code from the upload step.

To download and import a dataframe, run the following.

from bhej.main import down as bhejdown, up as bhejup
df = bhejdown(<code>, return_df=True)

To download and import a file, run the following.

from bhej.main import down as bhejdown, up as bhejup
df = bhejdown(<code>, return_file=True)

Development

Want to contribute? After cloning and cd-ing into the project directory, you can run the following to get set up.

poetry shell    # Sets up virtual environment.
poetry install  # Installs dependencies.
which bhej      # Should return your local version of the CLI.

Deploying to PyPi

To deploy to Test PyPi, run poetry run deploy_staging. To deploy to the Prod PyPi, run poetry run deploy_prod.

To install it from Test PyPi, run the following.

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple bhej

To install from Prod PyPi, run pip install bhej.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bhej-0.1.7.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

bhej-0.1.7-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file bhej-0.1.7.tar.gz.

File metadata

  • Download URL: bhej-0.1.7.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.6.9 Linux/4.15.0-123-generic

File hashes

Hashes for bhej-0.1.7.tar.gz
Algorithm Hash digest
SHA256 006ce0a0fb94263a4c1e3d146d100747652103ffcff2317b8fbcfc8b551cc030
MD5 efb9c4960f4d8e8b11572f4a63118369
BLAKE2b-256 76cbf7bf0bfae28879f84aa2974ce48b86d28cdb17257a15996da228edb2db47

See more details on using hashes here.

File details

Details for the file bhej-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: bhej-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.6.9 Linux/4.15.0-123-generic

File hashes

Hashes for bhej-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7fc9ca3cf27320d989aa54ff90f4d150dbb88ad8ea2262bd11ad51b05d9712e0
MD5 9b3272ba397b5539bb2427fcd09238d3
BLAKE2b-256 c17a08e71ec496ca0d01cc71b08c60f9d7a4ef0aa55648d0f71005e02df11b3a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page