
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
Add NonNegativeFloat, NonPositiveFloat etc Β· Issue #1975 Β· pydantic/pydantic
Description:
Checks [y] I added a descriptive title to this issue [y] I have searched (google, github) for similar issues and couldn't find anything [y] I have read and followed the docs and still think thi...
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Dating & Relationships
- Technology & Computing
- Mobile Technology & AI
Content Management System {π}
What CMS is github.com built with?
Github.com operates using WORDPRESS.
Traffic Estimate {π}
What is the average monthly size of github.com audience?
ππ Tremendous Traffic: 10M - 20M visitors per month
Based on our best estimate, this website will receive around 10,000,019 visitors per month in the current month.
However, some sources were not loaded, we suggest to reload the page to get complete results.
check SE Ranking
check Ahrefs
check Similarweb
check Ubersuggest
check Semrush
How Does Github.com Make Money? {πΈ}
Subscription Packages {π³}
We've located a dedicated page on github.com that might include details about subscription plans or recurring payments. We identified it based on the word pricing in one of its internal links. Below, you'll find additional estimates for its monthly recurring revenues.How Much Does Github.com Make? {π°}
Subscription Packages {π³}
Prices on github.com are in US Dollars ($).
They range from $4.00/month to $21.00/month.
We estimate that the site has approximately 4,989,889 paying customers.
The estimated monthly recurring revenue (MRR) is $20,957,532.
The estimated annual recurring revenues (ARR) are $251,490,385.
Wordpress Themes and Plugins {π¨}
What WordPress theme does this site use?
It is strange but we were not able to detect any theme on the page.
What WordPress plugins does this website use?
It is strange but we were not able to detect any plugins on the page.
Keywords {π}
mdavisxyz, commented, class, issue, samuelcolvin, sign, pydantic, add, closed, request, kasperschnack, issues, pull, github, docs, case, feature, nice, navigation, open, notifications, requests, actions, security, nonnegativefloat, nonpositivefloat, added, commit, ill, types, positivefloat, positiveint, values, including, thing, nonpositiveint, contributor, author, member, react, prettywood, type, projects, milestone, footer, skip, content, menu, product, solutions,
Topics {βοΈ}
mdavis-xyz mentioned py pydantic/docs/build/schema_mapping pydantic/docs/examples/types_constrained py pydantic/tests/test_types py pydantic/tests/test_schema pull request open issues comment metadata assignees feature/change added similar issues add receive notifications type projects docs descriptive title person hit future implement confirmed bug positive numbers proposed solution end user physical measurements projects milestone milestone relationships pydantic eyeballing types issue [ issue class nonpositivefloat types positivefloat py tests closed github class ge = 0 nonpositiveint types positivefloat nonpositivefloat skip jump sign searched google find read needed [ submitting
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
- Anything else?
- Does anyone else need this?
- NonPositiveInt or NonpositiveInt?
- Surely that's a more obscure use case that one including zero?
- Which tests, docs etc do I need to update when I add this class?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:Add NonNegativeFloat, NonPositiveFloat etc
articleBody:### Checks
* [y] I added a descriptive title to this issue
* [y] I have searched (google, github) for similar issues and couldn't find anything
* [y] I have read and followed [the docs](https://pydantic-docs.helpmanual.io/) and still think this feature/change is needed
* [y] After submitting this, I commit to one of:
* Look through open issues and helped at least one other person
* Hit the "watch" button on this repo to receive notifications and I commit to help at least 2 people that ask questions in the future
* Implement a Pull Request for a confirmed bug
<!-- Sorry to sound so draconian, but every second saved replying to issues is time spend improving pydantic :-) -->
I'll write this PR myself. Just checking here in case anyone else has feedback.
# Feature Request
Pydantic already has types `PositiveFloat`, `NegativeFloat`, `PositiveInt`, `NegativeInt`.
These values all exclude zero.
I want to have a class that allows all positive numbers, including zero.
# Proposed Solution
After eyeballing [types.py](https://github.com/samuelcolvin/pydantic/blob/e985857e5a9ede8d346b010a5a039aa84a089826/pydantic/types.py#L429) I think we should have:
```
class NonPositiveFloat(ConstrainedFloat):
le = 0
class NonNegativeFloat(ConstrainedFloat):
ge = 0
class NonPositiveInt(ConstrainedInt):
le = 0
class NonNegativeInt(ConstrainedInt):
ge = 0
```
Yes I know the end user can do that. This just seems like the kind of thing that's probably quite common, so would be nice out of the box.
One thing I'm not sure about is the capitalisation. `NonPositiveInt` or `NonpositiveInt`?
author:
url:https://github.com/mdavis-xyz
type:Person
name:mdavis-xyz
datePublished:2020-10-07T12:09:20.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:7
url:https://github.com/1975/pydantic/issues/1975
context:https://schema.org
headline:Add NonNegativeFloat, NonPositiveFloat etc
articleBody:### Checks
* [y] I added a descriptive title to this issue
* [y] I have searched (google, github) for similar issues and couldn't find anything
* [y] I have read and followed [the docs](https://pydantic-docs.helpmanual.io/) and still think this feature/change is needed
* [y] After submitting this, I commit to one of:
* Look through open issues and helped at least one other person
* Hit the "watch" button on this repo to receive notifications and I commit to help at least 2 people that ask questions in the future
* Implement a Pull Request for a confirmed bug
<!-- Sorry to sound so draconian, but every second saved replying to issues is time spend improving pydantic :-) -->
I'll write this PR myself. Just checking here in case anyone else has feedback.
# Feature Request
Pydantic already has types `PositiveFloat`, `NegativeFloat`, `PositiveInt`, `NegativeInt`.
These values all exclude zero.
I want to have a class that allows all positive numbers, including zero.
# Proposed Solution
After eyeballing [types.py](https://github.com/samuelcolvin/pydantic/blob/e985857e5a9ede8d346b010a5a039aa84a089826/pydantic/types.py#L429) I think we should have:
```
class NonPositiveFloat(ConstrainedFloat):
le = 0
class NonNegativeFloat(ConstrainedFloat):
ge = 0
class NonPositiveInt(ConstrainedInt):
le = 0
class NonNegativeInt(ConstrainedInt):
ge = 0
```
Yes I know the end user can do that. This just seems like the kind of thing that's probably quite common, so would be nice out of the box.
One thing I'm not sure about is the capitalisation. `NonPositiveInt` or `NonpositiveInt`?
author:
url:https://github.com/mdavis-xyz
type:Person
name:mdavis-xyz
datePublished:2020-10-07T12:09:20.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:7
url:https://github.com/1975/pydantic/issues/1975
Person:
url:https://github.com/mdavis-xyz
name:mdavis-xyz
url:https://github.com/mdavis-xyz
name:mdavis-xyz
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:7
interactionType:https://schema.org/CommentAction
userInteractionCount:7
External Links {π}(3)
Analytics and Tracking {π}
- Site Verification - Google
Libraries {π}
- Clipboard.js
- D3.js
- Lodash
Emails and Hosting {βοΈ}
Mail Servers:
- aspmx.l.google.com
- alt1.aspmx.l.google.com
- alt2.aspmx.l.google.com
- alt3.aspmx.l.google.com
- alt4.aspmx.l.google.com
Name Servers:
- dns1.p08.nsone.net
- dns2.p08.nsone.net
- dns3.p08.nsone.net
- dns4.p08.nsone.net
- ns-1283.awsdns-32.org
- ns-1707.awsdns-21.co.uk
- ns-421.awsdns-52.com
- ns-520.awsdns-01.net