-
Notifications
You must be signed in to change notification settings - Fork 360
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
Add rye as a package manager. #46
Open
manisha841
wants to merge
11
commits into
moest-np:main
Choose a base branch
from
manisha841:package-manager
base: main
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+332
−7
Open
Changes from 9 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
3c329b6
add poetry config
manisha841 11cfe97
feat: implement rye package manager
manisha841 ca9cc29
fix: merge conflicts
manisha841 926115b
wip: update readme and added necessary dependencies
manisha841 2624899
add streamlit dependencies
manisha841 c6ea4f9
fix: merge conflicts
manisha841 6e9cd47
feat: update readme and contribution files
manisha841 2f7fa62
Merge branch 'main' into package-manager
manisha841 071f1c4
update with main branch
manisha841 57e14ce
Merge branch 'main' into package-manager
manisha841 d3a07f4
fix: update author info
manisha841 File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[project] | ||
name = "center-randomize" | ||
version = "0.1.0" | ||
description = "Exam Center Randomization Script" | ||
authors = [ | ||
{ name = "Manisha Bhandari", email = "manishabhandari841@gmail.com" } | ||
] | ||
dependencies = [ | ||
"streamlit-folium==0.19.1", | ||
"folium==0.16.0", | ||
"streamlit>=1.33.0", | ||
] | ||
readme = "README.md" | ||
requires-python = ">= 3.8" | ||
|
||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.rye] | ||
managed = true | ||
dev-dependencies = [ | ||
"pytest==8.0.2", | ||
"pytest-clarity==1.0.1", | ||
"pytest-sugar==1.0.0", | ||
"pytest-cov==5.0.0", | ||
"ruff==0.4.1", | ||
"pre-commit==3.6.0", | ||
] | ||
|
||
[tool.rye.scripts] | ||
dev = { cmd = "python -m school_center sample_data/schools_grade12_2081.tsv sample_data/centers_grade12_2081.tsv sample_data/prefs.tsv", env = {} } | ||
|
||
[tool.hatch.metadata] | ||
allow-direct-references = true | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ["src/center_randomize"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
# generated by rye | ||
# use `rye lock` or `rye sync` to update this lockfile | ||
# | ||
# last locked with the following flags: | ||
# pre: false | ||
# features: [] | ||
# all-features: false | ||
# with-sources: false | ||
|
||
-e file:. | ||
altair==5.3.0 | ||
# via streamlit | ||
attrs==23.2.0 | ||
# via jsonschema | ||
# via referencing | ||
blinker==1.8.1 | ||
# via streamlit | ||
branca==0.7.2 | ||
# via folium | ||
# via streamlit-folium | ||
cachetools==5.3.3 | ||
# via streamlit | ||
certifi==2024.2.2 | ||
# via requests | ||
cfgv==3.4.0 | ||
# via pre-commit | ||
charset-normalizer==3.3.2 | ||
# via requests | ||
click==8.1.7 | ||
# via streamlit | ||
colorama==0.4.6 | ||
# via click | ||
# via pytest | ||
coverage==7.5.0 | ||
# via pytest-cov | ||
distlib==0.3.8 | ||
# via virtualenv | ||
filelock==3.14.0 | ||
# via virtualenv | ||
folium==0.16.0 | ||
# via center-randomize | ||
# via streamlit-folium | ||
gitdb==4.0.11 | ||
# via gitpython | ||
gitpython==3.1.43 | ||
# via streamlit | ||
identify==2.5.36 | ||
# via pre-commit | ||
idna==3.7 | ||
# via requests | ||
iniconfig==2.0.0 | ||
# via pytest | ||
jinja2==3.1.3 | ||
# via altair | ||
# via branca | ||
# via folium | ||
# via pydeck | ||
# via streamlit-folium | ||
jsonschema==4.22.0 | ||
# via altair | ||
jsonschema-specifications==2023.12.1 | ||
# via jsonschema | ||
markdown-it-py==3.0.0 | ||
# via rich | ||
markupsafe==2.1.5 | ||
# via jinja2 | ||
mdurl==0.1.2 | ||
# via markdown-it-py | ||
nodeenv==1.8.0 | ||
# via pre-commit | ||
numpy==1.26.4 | ||
# via altair | ||
# via folium | ||
# via pandas | ||
# via pyarrow | ||
# via pydeck | ||
# via streamlit | ||
packaging==24.0 | ||
# via altair | ||
# via pytest | ||
# via pytest-sugar | ||
# via streamlit | ||
pandas==2.2.2 | ||
# via altair | ||
# via streamlit | ||
pillow==10.3.0 | ||
# via streamlit | ||
platformdirs==4.2.1 | ||
# via virtualenv | ||
pluggy==1.5.0 | ||
# via pytest | ||
pprintpp==0.4.0 | ||
# via pytest-clarity | ||
pre-commit==3.6.0 | ||
protobuf==4.25.3 | ||
# via streamlit | ||
pyarrow==16.0.0 | ||
# via streamlit | ||
pydeck==0.9.0 | ||
# via streamlit | ||
pygments==2.18.0 | ||
# via rich | ||
pytest==8.0.2 | ||
# via pytest-clarity | ||
# via pytest-cov | ||
# via pytest-sugar | ||
pytest-clarity==1.0.1 | ||
pytest-cov==5.0.0 | ||
pytest-sugar==1.0.0 | ||
python-dateutil==2.9.0.post0 | ||
# via pandas | ||
pytz==2024.1 | ||
# via pandas | ||
pyyaml==6.0.1 | ||
# via pre-commit | ||
referencing==0.35.1 | ||
# via jsonschema | ||
# via jsonschema-specifications | ||
requests==2.31.0 | ||
# via folium | ||
# via streamlit | ||
rich==13.7.1 | ||
# via pytest-clarity | ||
# via streamlit | ||
rpds-py==0.18.0 | ||
# via jsonschema | ||
# via referencing | ||
ruff==0.4.1 | ||
setuptools==69.5.1 | ||
# via nodeenv | ||
six==1.16.0 | ||
# via python-dateutil | ||
smmap==5.0.1 | ||
# via gitdb | ||
streamlit==1.34.0 | ||
# via center-randomize | ||
# via streamlit-folium | ||
streamlit-folium==0.19.1 | ||
# via center-randomize | ||
tenacity==8.2.3 | ||
# via streamlit | ||
termcolor==2.4.0 | ||
# via pytest-sugar | ||
toml==0.10.2 | ||
# via streamlit | ||
toolz==0.12.1 | ||
# via altair | ||
tornado==6.4 | ||
# via streamlit | ||
typing-extensions==4.11.0 | ||
# via streamlit | ||
tzdata==2024.1 | ||
# via pandas | ||
urllib3==2.2.1 | ||
# via requests | ||
virtualenv==20.26.1 | ||
# via pre-commit | ||
watchdog==4.0.0 | ||
# via streamlit | ||
xyzservices==2024.4.0 | ||
# via folium |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
# generated by rye | ||
# use `rye lock` or `rye sync` to update this lockfile | ||
# | ||
# last locked with the following flags: | ||
# pre: false | ||
# features: [] | ||
# all-features: false | ||
# with-sources: false | ||
|
||
-e file:. | ||
altair==5.3.0 | ||
# via streamlit | ||
attrs==23.2.0 | ||
# via jsonschema | ||
# via referencing | ||
blinker==1.8.1 | ||
# via streamlit | ||
branca==0.7.2 | ||
# via folium | ||
# via streamlit-folium | ||
cachetools==5.3.3 | ||
# via streamlit | ||
certifi==2024.2.2 | ||
# via requests | ||
charset-normalizer==3.3.2 | ||
# via requests | ||
click==8.1.7 | ||
# via streamlit | ||
colorama==0.4.6 | ||
# via click | ||
folium==0.16.0 | ||
# via center-randomize | ||
# via streamlit-folium | ||
gitdb==4.0.11 | ||
# via gitpython | ||
gitpython==3.1.43 | ||
# via streamlit | ||
idna==3.7 | ||
# via requests | ||
jinja2==3.1.3 | ||
# via altair | ||
# via branca | ||
# via folium | ||
# via pydeck | ||
# via streamlit-folium | ||
jsonschema==4.22.0 | ||
# via altair | ||
jsonschema-specifications==2023.12.1 | ||
# via jsonschema | ||
markdown-it-py==3.0.0 | ||
# via rich | ||
markupsafe==2.1.5 | ||
# via jinja2 | ||
mdurl==0.1.2 | ||
# via markdown-it-py | ||
numpy==1.26.4 | ||
# via altair | ||
# via folium | ||
# via pandas | ||
# via pyarrow | ||
# via pydeck | ||
# via streamlit | ||
packaging==24.0 | ||
# via altair | ||
# via streamlit | ||
pandas==2.2.2 | ||
# via altair | ||
# via streamlit | ||
pillow==10.3.0 | ||
# via streamlit | ||
protobuf==4.25.3 | ||
# via streamlit | ||
pyarrow==16.0.0 | ||
# via streamlit | ||
pydeck==0.9.0 | ||
# via streamlit | ||
pygments==2.18.0 | ||
# via rich | ||
python-dateutil==2.9.0.post0 | ||
# via pandas | ||
pytz==2024.1 | ||
# via pandas | ||
referencing==0.35.1 | ||
# via jsonschema | ||
# via jsonschema-specifications | ||
requests==2.31.0 | ||
# via folium | ||
# via streamlit | ||
rich==13.7.1 | ||
# via streamlit | ||
rpds-py==0.18.0 | ||
# via jsonschema | ||
# via referencing | ||
six==1.16.0 | ||
# via python-dateutil | ||
smmap==5.0.1 | ||
# via gitdb | ||
streamlit==1.34.0 | ||
# via center-randomize | ||
# via streamlit-folium | ||
streamlit-folium==0.19.1 | ||
# via center-randomize | ||
tenacity==8.2.3 | ||
# via streamlit | ||
toml==0.10.2 | ||
# via streamlit | ||
toolz==0.12.1 | ||
# via altair | ||
tornado==6.4 | ||
# via streamlit | ||
typing-extensions==4.11.0 | ||
# via streamlit | ||
tzdata==2024.1 | ||
# via pandas | ||
urllib3==2.2.1 | ||
# via requests | ||
watchdog==4.0.0 | ||
# via streamlit | ||
xyzservices==2024.4.0 | ||
# via folium |
File renamed without changes.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Probably not needed, commit has all the necessary information
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these informations are necessary as they serve as the main configuration of the project, but open for discussions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant the author details
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
project author should be moest-np.