(CNN) With primaries completed and few races left to call, an historic number of women will appear on general election ballots in congressional and Senate races. Their chances vary, with many women running in toss-up races and a large number running in districts where they aren't likely to win.

With the final primary in New York this week settled after Cynthia Nixon's loss in the New York governor's race primary, the November ballots are just about set. A few races haven't been officially called, but the ballot won't change substantially, especially for women. This is a look at the record aspiring female politicians so far.

A total of 256 women have qualified for the November ballot in House or Senate races so far -- 197 Democrats and 59 Republican candidates, according to an analysis of election results. There are 234 women running for the House and 22 for the Senate.

First, it's clear that Democrats are nominating more women than Republicans. The Democratic party has made it a priority to nominate women and have made women candidates a part of their platform in midterm races.

While there is a clear opportunity for women to make historic gains in Congress, many of them are running in competitive districts or districts that solidly lean toward the other party. Here is a look at where women have won primaries and their potential chances of victory using CNN's Key Race ratings.

Read More