bhej-0.1.7
توضیحات
Share files like a dev.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | bhej-0.1.7 |
| نام | bhej |
| نسخه کتابخانه | 0.1.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | ivraj |
| ایمیل نویسنده | iseerha@gmail.com |
| آدرس صفحه اصلی | https://bhej.dev |
| آدرس اینترنتی | https://pypi.org/project/bhej/ |
| مجوز | MIT |
# bhej
> Share files like a dev.
## Installation
To install this cli to your environment, just run...
```[bash]
pip install bhej
```
...and you're good to go!
## Usages
To upload a file, just run the following.
```[bash]
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.
```[bash]
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.
```[bash]
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.
```[bash]
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`.
نیازمندی
| مقدار | نام |
|---|---|
| >=0.3.2,<0.4.0 | typer[all] |
| >=2.24.0,<3.0.0 | requests |
| >=0.9.1,<0.10.0 | requests-toolbelt |
| >=4.51.0,<5.0.0 | tqdm |
| ==0.4.14) | python-magic-bin |
| >=0.4.3,<0.5.0) | python-magic |
| >=1.1.4,<2.0.0 | pandas |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6.1,<4.0.0 | Python |
نحوه نصب
نصب پکیج whl bhej-0.1.7:
pip install bhej-0.1.7.whl
نصب پکیج tar.gz bhej-0.1.7:
pip install bhej-0.1.7.tar.gz